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-Map-Vs-Weakmap-V2
blxbench

Test fixture

Debug-Map-Vs-Weakmap-V2

Debuggingv2 — Resiliencemediumscorer: 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 module-level Map is used as an object cache; because Map holds strong references, objects stored as keys are never garbage-collected even when all other references are dropped, causing memory to grow unboundedly over time. Identify the GC issue and fix it.
Scorer config
{
  "metrics": {
    "repro": {
      "checks": [
        {
          "contains": [
            "strong reference"
          ]
        },
        {
          "contains": [
            "garbage collected"
          ]
        },
        {
          "contains": [
            "Map"
          ]
        },
        {
          "contains": [
            "memory"
          ]
        }
      ]
    },
    "hidden": {
      "checks": [
        {
          "contains": [
            "WeakMap"
          ]
        },
        {
          "contains": [
            "weak reference"
          ]
        },
        {
          "contains": [
            "GC"
          ]
        }
      ]
    },
    "diagnose": {
      "checks": [
        {
          "contains": [
            "Map prevents GC"
          ]
        },
        {
          "contains": [
            "memory leak"
          ]
        },
        {
          "contains": [
            "strong reference"
          ]
        }
      ]
    }
  }
}
Run parameters

temperature

0

max_tokens

420

timeout (s)

120

type

scored

file

debug-map-vs-weakmap-v2.json

← PreviousDebug-Lru-Eviction-V2
|
Next →Debug-Memoize-Reference-Equality-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
Scope42 / 11 / 490
Latestrun_7ce130 / 458 / $1.16
TermsPrivacy