{
  "version": "v4.0",
  "run_date": "2026-11-24",
  "stamp": "Ledger v4.0 · 24 Nov 2026",
  "legal_entity": "Stellar Content Inc. (d/b/a LeanLM)",
  "energy_boundary": "GPU board energy via NVIDIA NVML sensors (3,600 kJ = 1 kWh; excludes host CPU, system DRAM, network, and facility cooling)",
  "prior_archive_json": "/data/benchmark-v3.0.json",
  "pricing_per_1m_usd": {
    "ecocoder_standard": {
      "uncached_input": 0.30,
      "cached_input": 0.03,
      "cache_write": 0.00,
      "output": 1.20,
      "long_context_cliff": false
    },
    "ecocoder_flex": {
      "multiplier": 0.80,
      "discount_pct": 20,
      "uncached_input": 0.24,
      "cached_input": 0.024,
      "cache_write": 0.00,
      "output": 0.96,
      "long_context_cliff": false,
      "latency_and_energy_note": "Best-effort async queue for unattended overnight/CI only (recommended >=15-30m timeouts, >=60m on large repos). Live 2-PR A/B on 2026-11-24 (2/2 PASS on both lanes): matched Standard (~2.19s p50, 34.1s wall) when capacity was open, or held at ~62s/turn under load (379.3s / 18.2x longer wall time and 4.0x higher NVML GPU board energy on commander.js). Never treat --flex as lower GPU board energy than Standard."
    },
    "claude_opus_5_5_reference": {
      "uncached_input": 4.00,
      "cache_write_1h": 8.00,
      "cache_write_5m": 5.00,
      "cached_input": 0.20,
      "output": 20.00,
      "source_url": "https://www.anthropic.com/pricing"
    },
    "claude_sonnet_5_5_reference": {
      "uncached_input": 2.00,
      "cache_write_1h": 4.00,
      "cache_write_5m": 2.50,
      "cached_input": 0.10,
      "output": 10.00,
      "source_url": "https://www.anthropic.com/pricing"
    },
    "claude_haiku_5_5_reference": {
      "uncached_input_lte_100k": 0.10,
      "cache_write_5m_lte_100k": 0.125,
      "cached_input_lte_100k": 0.01,
      "output_lte_100k": 0.50,
      "long_context_note": "Higher tier pricing applies past 100k context tokens.",
      "source_url": "https://www.anthropic.com/pricing"
    }
  },
  "scopes": {
    "brownfield_python_5": {
      "label": "5 multi-file brownfield Python repositories (522 unit & contract tests: 295 inherited regression + 227 new checkpoint)",
      "repos": 5,
      "tests_total": 522,
      "regressions_total": 295,
      "new_checkpoint_total": 227,
      "ecocoder": {
        "passed": 509,
        "pass_pct": 97.5,
        "regressions_passed": 295,
        "regressions_pct": 100.0,
        "new_checkpoint_passed": 214,
        "new_checkpoint_pct": 94.3,
        "turns": 205,
        "dispatches": 209,
        "dispatches_note": "205 primary model turns + 4 internal validation retries = 209 metered dispatches.",
        "uncached_input_tokens": 585067,
        "cached_input_tokens": 14133632,
        "cache_hit_pct": 96.0,
        "output_tokens": 245344,
        "blended_usd_per_1m_tokens": 0.0597,
        "cost_std_usd_exact": 0.8939,
        "cost_std_usd": 0.89,
        "mean_std_usd_per_repo": 0.18,
        "cost_flex_repriced_usd_exact": 0.7152,
        "cost_flex_repriced_usd": 0.72,
        "mean_flex_usd_per_repo": 0.14,
        "gpu_board_kj": 220.5,
        "gpu_board_wh": 61.2,
        "mean_wh_per_repo": 12.25,
        "joules_per_passing_test": 433,
        "median_wall_s": 271.0,
        "total_wall_min": 27.0,
        "quota_energy_reconciliation_pct": 0.08,
        "turn_telemetry": {
          "ttft_separately_logged": false,
          "basis": "end_to_end_turn_llm_ms",
          "concurrency": 2,
          "prompt_tokens_p50": 73686,
          "prompt_tokens_max": 122567,
          "llm_ms_p50": 4042,
          "llm_ms_p95": 15606,
          "ctx_60k_plus_turns": 129,
          "ctx_60k_plus_llm_ms_p50": 3927,
          "ctx_60k_plus_llm_ms_p95": 11932,
          "e2e_output_tps_p50_all": 101.0,
          "e2e_output_tps_p50_ge500": 286.7,
          "e2e_output_tps_agg": 196.2
        }
      },
      "opus_5_5": {
        "passed": 510,
        "pass_pct": 97.7,
        "cost_usd": 7.95,
        "mean_usd_per_repo": 1.59,
        "est_gpu_board_kj_ref": 3683.5,
        "est_gpu_board_kj_range": [1789, 7191],
        "median_wall_s": 441.5,
        "total_wall_min": 30.6
      },
      "haiku_5_5": {
        "passed": 469,
        "pass_pct": 89.8,
        "regressions_passed": 250,
        "regressions_pct": 84.7,
        "new_checkpoint_passed": 219,
        "new_checkpoint_pct": 96.5,
        "turns": 187,
        "output_tokens": 374092,
        "cost_usd_exact": 1.2465,
        "cost_usd": 1.25,
        "mean_usd_per_repo": 0.25,
        "repos_above_100k_tier": 3,
        "est_gpu_board_kj_range": [374, 1378],
        "median_wall_s": 352.3,
        "total_wall_min": 31.1
      },
      "per_repo": [
        {
          "repo": "file_backup",
          "checkpoint": "CP2->CP3",
          "tests_total": 68,
          "regressions_total": 50,
          "ecocoder": {
            "passed": 67,
            "regressions_passed": 50,
            "wall_s": 129.9,
            "cost_std_usd": 0.0920,
            "cost_flex_usd": 0.0736,
            "gpu_board_kj": 24.3,
            "cache_hit_pct": 91.4
          },
          "haiku_5_5": {
            "passed": 23,
            "regressions_passed": 5,
            "wall_s": 195.3,
            "cost_usd": 0.0512,
            "est_gpu_board_kj_range": [42, 131]
          }
        },
        {
          "repo": "code_search",
          "checkpoint": "CP2->CP3",
          "tests_total": 47,
          "regressions_total": 25,
          "ecocoder": {
            "passed": 43,
            "regressions_passed": 25,
            "wall_s": 322.8,
            "cost_std_usd": 0.2108,
            "cost_flex_usd": 0.1686,
            "gpu_board_kj": 51.7,
            "cache_hit_pct": 96.5
          },
          "haiku_5_5": {
            "passed": 45,
            "regressions_passed": 25,
            "wall_s": 352.3,
            "cost_usd": 0.1911,
            "est_gpu_board_kj_range": [75, 270]
          }
        },
        {
          "repo": "dynamic_config_service_api",
          "checkpoint": "CP2->CP3",
          "tests_total": 76,
          "regressions_total": 0,
          "ecocoder": {
            "passed": 69,
            "regressions_passed": 0,
            "wall_s": 630.7,
            "cost_std_usd": 0.3038,
            "cost_flex_usd": 0.2430,
            "gpu_board_kj": 67.0,
            "cache_hit_pct": 97.5
          },
          "haiku_5_5": {
            "passed": 71,
            "regressions_passed": 0,
            "wall_s": 585.2,
            "cost_usd": 0.4701,
            "est_gpu_board_kj_range": [103, 399]
          }
        },
        {
          "repo": "metric_transform_lang",
          "checkpoint": "CP2->CP3",
          "tests_total": 164,
          "regressions_total": 98,
          "ecocoder": {
            "passed": 163,
            "regressions_passed": 98,
            "wall_s": 266.6,
            "cost_std_usd": 0.2027,
            "cost_flex_usd": 0.1622,
            "gpu_board_kj": 53.2,
            "cache_hit_pct": 95.5
          },
          "haiku_5_5": {
            "passed": 163,
            "regressions_passed": 98,
            "wall_s": 571.6,
            "cost_usd": 0.4986,
            "est_gpu_board_kj_range": [120, 474]
          }
        },
        {
          "repo": "xjq",
          "checkpoint": "CP4->CP5",
          "tests_total": 167,
          "regressions_total": 122,
          "ecocoder": {
            "passed": 167,
            "regressions_passed": 122,
            "wall_s": 271.0,
            "cost_std_usd": 0.0846,
            "cost_flex_usd": 0.0677,
            "gpu_board_kj": 24.4,
            "cache_hit_pct": 92.5
          },
          "haiku_5_5": {
            "passed": 167,
            "regressions_passed": 122,
            "wall_s": 161.3,
            "cost_usd": 0.0355,
            "est_gpu_board_kj_range": [34, 104]
          }
        }
      ]
    },
    "oss_unseen_24": {
      "label": "24 unseen held-out open-source Java & JavaScript commits (12 Java + 12 JS; zero hints, network-locked)",
      "tasks": 24,
      "java_tasks": 12,
      "js_tasks": 12,
      "repos": ["commander.js", "node-semver", "commons-cli", "commons-codec", "JSON-java"],
      "ecocoder": {
        "resolved": 20,
        "resolve_pct": 83.3,
        "java_resolved": 11,
        "js_resolved": 9,
        "timeouts": 0,
        "turns": 449,
        "cost_std_usd_exact": 1.2562,
        "cost_std_usd": 1.26,
        "mean_std_usd_per_task": 0.052,
        "cost_per_solve_std_usd": 0.063,
        "cost_flex_repriced_usd_exact": 1.0050,
        "cost_flex_repriced_usd": 1.00,
        "mean_flex_usd_per_task": 0.042,
        "gpu_board_kj": 132.8,
        "gpu_board_wh": 36.9,
        "mean_wh_per_task": 1.54,
        "kj_per_solve": 6.64,
        "median_wall_s": 55.1,
        "java_median_wall_s": 43.7,
        "js_median_wall_s": 68.0,
        "total_wall_min": 26.5,
        "turn_telemetry": {
          "ttft_separately_logged": false,
          "basis": "end_to_end_turn_llm_ms",
          "prompt_tokens_p50": 32779,
          "prompt_tokens_max": 78585,
          "llm_ms_p50": 2368,
          "llm_ms_p95": 8102,
          "e2e_output_tps_p50_all": 123.9,
          "e2e_output_tps_p50_ge500": 242.9,
          "e2e_output_tps_agg": 159.3,
          "cache_hit_pct": 93.2
        }
      },
      "opus_5_5": {
        "resolved": 21,
        "resolve_pct": 87.5,
        "java_resolved": 11,
        "js_resolved": 10,
        "timeouts": 0,
        "turns": 155,
        "cost_usd_exact": 4.8340,
        "cost_usd": 4.83,
        "cost_per_solve_usd": 0.230,
        "est_gpu_board_kj_ref": 1596,
        "est_gpu_board_kj_range": [769, 3139],
        "median_wall_s": 36.3,
        "java_median_wall_s": 40.6,
        "js_median_wall_s": 32.6,
        "total_wall_min": 15.6
      },
      "sonnet_5_5": {
        "resolved": 20,
        "resolve_pct": 83.3,
        "java_resolved": 11,
        "js_resolved": 9,
        "timeouts": 0,
        "turns": 156,
        "cost_usd_exact": 1.7371,
        "cost_usd": 1.74,
        "cost_per_solve_usd": 0.087,
        "est_gpu_board_kj_ref": 490,
        "est_gpu_board_kj_range": [240, 933],
        "median_wall_s": 14.9,
        "java_median_wall_s": 18.8,
        "js_median_wall_s": 14.0,
        "total_wall_min": 7.4
      },
      "haiku_5_5": {
        "resolved": 19,
        "resolve_pct": 79.2,
        "java_resolved": 10,
        "js_resolved": 9,
        "timeouts": 0,
        "turns": 375,
        "output_tokens": 238964,
        "cost_usd_exact": 0.376,
        "cost_usd": 0.38,
        "cost_5m_cache_usd": 0.32,
        "cost_per_solve_usd": 0.020,
        "est_gpu_board_kj_range": [240, 777],
        "median_wall_s": 42.0,
        "total_wall_min": 23.7
      }
    },
    "oss_calibration_12": {
      "label": "12 additional clean multi-language OSS commits (Python, TypeScript, JS, Java; calibration set kept separate from 24 unseen commits)",
      "tasks": 12,
      "ecocoder": {
        "resolved": 11,
        "resolve_pct": 91.7,
        "cost_std_usd": 0.54,
        "cost_flex_repriced_usd": 0.43,
        "gpu_board_kj": 53.0,
        "median_wall_s": 46.5
      },
      "sonnet_5_5": {
        "resolved": 9,
        "resolve_pct": 75.0,
        "cost_usd": 0.67,
        "median_wall_s": 14.2
      },
      "opus_5_5": {
        "resolved": 11,
        "resolve_pct": 91.7,
        "cost_usd": 1.99,
        "median_wall_s": 27.7
      }
    }
  }
}
