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-Object-Spread-Shallow-V2
blxbench

Test fixture

Debug-Object-Spread-Shallow-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. An object containing nested arrays is cloned with the spread operator; mutations to the nested arrays in the clone also affect the original object. Identify the shallow copy bug and fix it.
Scorer config
{
  "metrics": {
    "repro": {
      "checks": [
        {
          "contains": [
            "nested"
          ]
        },
        {
          "contains": [
            "spread"
          ]
        },
        {
          "contains": [
            "shared"
          ]
        },
        {
          "contains": [
            "mutation"
          ]
        }
      ]
    },
    "hidden": {
      "checks": [
        {
          "contains": [
            "structuredClone"
          ]
        },
        {
          "contains": [
            "deep copy"
          ]
        },
        {
          "contains": [
            "JSON.parse"
          ]
        }
      ]
    },
    "diagnose": {
      "checks": [
        {
          "contains": [
            "shallow clone"
          ]
        },
        {
          "contains": [
            "nested reference"
          ]
        },
        {
          "contains": [
            "spread operator"
          ]
        }
      ]
    }
  }
}
Run parameters

temperature

0

max_tokens

420

timeout (s)

120

type

scored

file

debug-object-spread-shallow-v2.json

← PreviousDebug-Object-Reference-V2
|
Next →Debug-Off-By-One-Pagination-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
Scope43 / 11 / 490
Latestrun_7730ad / 459 / $0.00
TermsPrivacy