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-Regex-Global-State-V2
blxbench

Test fixture

Debug-Regex-Global-State-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 validator reuses a global regular expression with test(), causing alternating true and false results for the same input. Identify the bug and fix.
Scorer config
{
  "metrics": {
    "repro": {
      "checks": [
        {
          "contains": [
            "same input"
          ]
        },
        {
          "contains": [
            "alternating"
          ]
        },
        {
          "contains": [
            "global"
          ]
        },
        {
          "contains": [
            "test"
          ]
        }
      ]
    },
    "hidden": {
      "checks": [
        {
          "contains": [
            "remove g"
          ]
        },
        {
          "contains": [
            "lastIndex"
          ]
        },
        {
          "contains": [
            "new RegExp"
          ]
        }
      ]
    },
    "diagnose": {
      "checks": [
        {
          "contains": [
            "regex"
          ]
        },
        {
          "contains": [
            "state"
          ]
        },
        {
          "contains": [
            "validator"
          ]
        }
      ]
    }
  }
}
Run parameters

temperature

0

max_tokens

420

timeout (s)

120

type

scored

file

debug-regex-global-state-v2.json

← PreviousDebug-Recursion-Base-Case-V2
|
Next →Debug-Regex-No-Reset-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
Scope41 / 11 / 490
Latestrun_3d5451 / 459 / $1.75
TermsPrivacy