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-Off-By-One-Pagination-V2
blxbench

Test fixture

Debug-Off-By-One-Pagination-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 pagination helper drops the final item when total is exactly divisible by page size because it subtracts one before computing the last page. Identify the bug and fix.
Scorer config
{
  "metrics": {
    "repro": {
      "checks": [
        {
          "contains": [
            "exactly divisible"
          ]
        },
        {
          "contains": [
            "final item"
          ]
        },
        {
          "contains": [
            "page size"
          ]
        },
        {
          "contains": [
            "last page"
          ]
        }
      ]
    },
    "hidden": {
      "checks": [
        {
          "contains": [
            "Math.ceil"
          ]
        },
        {
          "contains": [
            "zero based"
          ]
        },
        {
          "contains": [
            "boundary test"
          ]
        }
      ]
    },
    "diagnose": {
      "checks": [
        {
          "contains": [
            "off by one"
          ]
        },
        {
          "contains": [
            "pagination"
          ]
        },
        {
          "contains": [
            "subtracts one"
          ]
        }
      ]
    }
  }
}
Run parameters

temperature

0

max_tokens

420

timeout (s)

120

type

scored

file

debug-off-by-one-pagination-v2.json

← PreviousDebug-Object-Spread-Shallow-V2
|
Next →Debug-Promise-All-Short-Circuit-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