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. Refactor-Response-Mapper
blxbench

Test fixture

Refactor-Response-Mapper

Refactoringv2 — Resiliencemediumscorer: rubric_json_metrics

Code transformation while preserving behavior and intent.

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 plan, refactor, tests. Two API endpoints manually map database rows to response DTOs with overlapping field renames. Refactor the mapper and keep endpoint output stable.
Scorer config
{
  "metrics": {
    "intent": {
      "checks": [
        {
          "contains": [
            "response DTO"
          ]
        },
        {
          "contains": [
            "mapper"
          ]
        },
        {
          "contains": [
            "field renames"
          ]
        }
      ]
    },
    "visible": {
      "checks": [
        {
          "contains": [
            "database rows"
          ]
        },
        {
          "contains": [
            "two endpoints"
          ]
        },
        {
          "contains": [
            "overlap"
          ]
        }
      ]
    },
    "hidden": {
      "checks": [
        {
          "contains": [
            "snapshot tests"
          ]
        },
        {
          "contains": [
            "stable output"
          ]
        },
        {
          "contains": [
            "null fields"
          ]
        }
      ]
    }
  }
}
Run parameters

temperature

0

max_tokens

500

timeout (s)

120

type

scored

file

refactor-response-mapper.json

← PreviousRefactor-Report-Renderer-Boundaries
|
Next →Refactor-Search-Filter-Builder

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