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-Feature-Flag-Resolver
blxbench

Test fixture

Refactor-Feature-Flag-Resolver

Refactoringv2 — Resiliencehardscorer: 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. Feature flag resolution combines defaults, environment overrides, tenant overrides, and user targeting in nested conditionals. Refactor to make precedence explicit.
Scorer config
{
  "metrics": {
    "intent": {
      "checks": [
        {
          "contains": [
            "feature flag"
          ]
        },
        {
          "contains": [
            "precedence"
          ]
        },
        {
          "contains": [
            "explicit"
          ]
        }
      ]
    },
    "visible": {
      "checks": [
        {
          "contains": [
            "defaults"
          ]
        },
        {
          "contains": [
            "environment overrides"
          ]
        },
        {
          "contains": [
            "tenant overrides"
          ]
        }
      ]
    },
    "hidden": {
      "checks": [
        {
          "contains": [
            "user targeting"
          ]
        },
        {
          "contains": [
            "matrix tests"
          ]
        },
        {
          "contains": [
            "same resolution"
          ]
        }
      ]
    }
  }
}
Run parameters

temperature

0

max_tokens

560

timeout (s)

120

type

scored

file

refactor-feature-flag-resolver.json

← PreviousRefactor-Event-Handler-Registry
|
Next →Refactor-Global-State-Aggregation

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