BLXBenchBLXBench UI
blxbench

Benchmark

Misc

DocsOur TestsPassSponsor / Partnership
DocsOur TestsPassSponsor / Partnership
BLXBenchBLXBench UI
blxbench

Benchmark

Suite

Misc

DocsOur TestsPassSponsor / Partnership
DocsOur TestsPassSponsor / Partnership
  1. Home
  2. Our Tests
  3. Debug-Catch-Swallows-Error-V2
blxbench

Test fixture

Debug-Catch-Swallows-Error-V2

Debuggingv2 — Resilienceeasyscorer: rubric_json_metrics

Bug fixes, edge conditions, and minimal patch accuracy.

How it is scored

The model receives the prompt (and optional system message). The run uses scorer rubric_json_metrics with the JSON configuration below. Pass/fail and partial credit are determined entirely by that scorer against the model output; no human grading.

User prompt
Return JSON only with keys diagnosis, fix, tests. A try/catch block catches all errors and returns a hardcoded default value; genuine runtime exceptions that should propagate to the caller are silently swallowed, hiding bugs. Identify the error-swallowing pattern and fix it.
Scorer config
{
  "metrics": {
    "repro": {
      "checks": [
        {
          "contains": [
            "catch"
          ]
        },
        {
          "contains": [
            "swallowed"
          ]
        },
        {
          "contains": [
            "default value"
          ]
        },
        {
          "contains": [
            "exception"
          ]
        }
      ]
    },
    "hidden": {
      "checks": [
        {
          "contains": [
            "rethrow"
          ]
        },
        {
          "contains": [
            "throw err"
          ]
        },
        {
          "contains": [
            "propagate"
          ]
        }
      ]
    },
    "diagnose": {
      "checks": [
        {
          "contains": [
            "silent failure"
          ]
        },
        {
          "contains": [
            "error hidden"
          ]
        },
        {
          "contains": [
            "catch all"
          ]
        }
      ]
    }
  }
}
Run parameters

temperature

0

max_tokens

420

timeout (s)

120

type

scored

file

debug-catch-swallows-error-v2.json

← PreviousDebug-Case-Sensitive-Key-V2
|
Next →Debug-Circular-Ref-Stringify-V2

BLXBench

Community driven leaderboardPublic benchmark runner — run in your environment, share results with the community.

© 2026 BLXBench by bitslix.com

ProvenanceAggregated from user runs
Scope40 / 11 / 490
Latestrun_f78b01 / 459 / $18.57
TermsPrivacy