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-Memoize-Reference-Equality-V2
blxbench

Test fixture

Debug-Memoize-Reference-Equality-V2

Debuggingv2 — Resiliencehardscorer: 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 memoized function is keyed by object reference equality; callers construct a fresh options object on every invocation so the cache always misses, making memoization useless and providing no performance benefit. Identify the reference equality bug and fix it.
Scorer config
{
  "metrics": {
    "repro": {
      "checks": [
        {
          "contains": [
            "cache miss"
          ]
        },
        {
          "contains": [
            "reference equality"
          ]
        },
        {
          "contains": [
            "new object"
          ]
        },
        {
          "contains": [
            "memoize"
          ]
        }
      ]
    },
    "hidden": {
      "checks": [
        {
          "contains": [
            "JSON.stringify"
          ]
        },
        {
          "contains": [
            "stable key"
          ]
        },
        {
          "contains": [
            "deep equality"
          ]
        }
      ]
    },
    "diagnose": {
      "checks": [
        {
          "contains": [
            "reference equality"
          ]
        },
        {
          "contains": [
            "always misses"
          ]
        },
        {
          "contains": [
            "new object each call"
          ]
        }
      ]
    }
  }
}
Run parameters

temperature

0

max_tokens

420

timeout (s)

120

type

scored

file

debug-memoize-reference-equality-v2.json

← PreviousDebug-Map-Vs-Weakmap-V2
|
Next →Debug-Microtask-Race-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