{
  "version": "v3.0",
  "run_date": "2026-11-19",
  "stamp": "Ledger v3.0 · 19 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)",
  "pricing_per_1m_usd": {
    "ecocoder_standard": {
      "uncached_input": 0.50,
      "cached_input": 0.05,
      "cache_write": 0.00,
      "output": 0.50
    },
    "ecocoder_flex": {
      "multiplier": 0.80,
      "discount_pct": 20,
      "uncached_input": 0.40,
      "cached_input": 0.04,
      "cache_write": 0.00,
      "output": 0.40
    },
    "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_opus_5_5_batch_reference": {
      "uncached_input": 2.00,
      "cached_input": 0.20,
      "output": 10.00,
      "source_url": "https://www.anthropic.com/pricing"
    }
  },
  "scopes": {
    "python_19": {
      "label": "19 Python SlopCodeBench v1.0 repositories",
      "repos": 19,
      "tests_total": 3277,
      "ecocoder": {
        "passed": 3160,
        "pass_pct": 96.4,
        "turns": 1335,
        "uncached_input_tokens": 3688753,
        "cached_input_tokens": 125682208,
        "cache_hit_pct": 97.1,
        "output_tokens": 1361983,
        "cost_std_usd_exact": 8.8095,
        "cost_std_usd": 8.81,
        "cost_flex_repriced_usd_exact": 7.0476,
        "cost_flex_repriced_usd": 7.05,
        "gpu_board_kj": 1882.8,
        "gpu_board_wh": 523.0,
        "joules_per_passing_test": 596,
        "wall_min": 193.9
      },
      "opus_5_5": {
        "passed": 3070,
        "pass_pct": 93.7,
        "turns": 471,
        "uncached_input_tokens": 1429097,
        "cached_input_tokens": 32027227,
        "cache_hit_pct": 95.7,
        "output_tokens": 765196,
        "cost_1h_cache_usd_exact": 33.1387,
        "cost_1h_cache_usd": 33.14,
        "cost_5m_cache_usd": 28.85,
        "est_gpu_board_kj_ref": 5743,
        "est_gpu_board_kj_range": [2445, 15890],
        "est_saving_pct_ref": 67,
        "est_saving_pct_range": [23, 88],
        "wall_min": 154.6
      },
      "diff_pp": 2.75,
      "bootstrap_95ci_pp": [-2.2, 11.7],
      "repo_split": "8W / 3T / 8L",
      "ex_recli_18": {
        "tests_total": 3022,
        "ecocoder_passed": 2939,
        "ecocoder_pass_pct": 97.3,
        "ecocoder_cost_std_usd": 7.65,
        "ecocoder_cost_flex_usd": 6.12,
        "opus_passed": 2975,
        "opus_pass_pct": 98.4,
        "opus_cost_usd": 30.23
      }
    },
    "monorepos_3": {
      "label": "3 isomorphic TS/JS/Java brownfield monorepos (44k–64k LOC)",
      "repos": 3,
      "tests_total": 267,
      "spi_contracts_total": 18,
      "ecocoder": {
        "passed": 245,
        "pass_pct": 91.8,
        "spi_passed": 18,
        "uncached_input_tokens": 631082,
        "cached_input_tokens": 9335136,
        "cache_hit_pct": 93.7,
        "output_tokens": 96438,
        "cost_std_usd_exact": 0.8305,
        "cost_std_usd": 0.83,
        "cost_flex_repriced_usd_exact": 0.6644,
        "cost_flex_repriced_usd": 0.66,
        "gpu_board_kj": 115.1,
        "joules_per_passing_test": 470,
        "wall_min": 11.7
      },
      "opus_5_5": {
        "passed": 257,
        "pass_pct": 96.3,
        "spi_passed": 18,
        "turns": 66,
        "cost_usd_exact": 4.0545,
        "cost_usd": 4.05,
        "est_gpu_board_kj_ref": 484,
        "est_gpu_board_kj_range": [206, 1341],
        "wall_min": 11.2
      },
      "by_language": {
        "typescript": {"loc_k": 61.2, "eco_passed": 87, "total": 89, "eco_pct": 97.8, "eco_usd": 0.32, "eco_flex_usd": 0.26, "eco_kj": 44.4, "eco_min": 4.8, "opus_passed": 85, "opus_pct": 95.5, "opus_usd": 1.38, "opus_est_kj": 177, "opus_min": 4.1},
        "javascript": {"loc_k": 44.2, "eco_passed": 86, "total": 89, "eco_pct": 96.6, "eco_usd": 0.26, "eco_flex_usd": 0.21, "eco_kj": 37.2, "eco_min": 3.5, "opus_passed": 86, "opus_pct": 96.6, "opus_usd": 1.27, "opus_est_kj": 146, "opus_min": 3.3},
        "java":       {"loc_k": 64.1, "eco_passed": 72, "total": 89, "eco_pct": 80.9, "eco_usd": 0.24, "eco_flex_usd": 0.20, "eco_kj": 33.5, "eco_min": 3.4, "opus_passed": 86, "opus_pct": 96.6, "opus_usd": 1.41, "opus_est_kj": 161, "opus_min": 3.8}
      }
    },
    "brownfield_22": {
      "label": "22 brownfield repositories (19 Python + 3 TS/JS/Java monorepos)",
      "repos": 22,
      "tests_total": 3544,
      "ecocoder": {
        "passed": 3405,
        "pass_pct": 96.1,
        "cost_std_usd_exact": 9.6400,
        "cost_std_usd": 9.64,
        "cost_flex_repriced_usd_exact": 7.7120,
        "cost_flex_repriced_usd": 7.71,
        "mean_std_usd_per_repo": 0.44,
        "mean_flex_usd_per_repo": 0.35,
        "gpu_board_kj": 1997.9,
        "gpu_board_wh": 555.0,
        "mean_kj_per_repo": 90.8,
        "mean_wh_per_repo": 25.2,
        "joules_per_passing_test": 587,
        "wall_min": 205.6
      },
      "opus_5_5": {
        "passed": 3327,
        "pass_pct": 93.9,
        "cost_usd_exact": 37.1932,
        "cost_usd": 37.19,
        "mean_usd_per_repo": 1.69,
        "est_gpu_board_kj_ref": 6227,
        "est_gpu_board_kj_range": [2651, 17232],
        "est_saving_pct_ref": 68,
        "est_saving_pct_range": [25, 88],
        "wall_min": 165.8
      }
    },
    "oss_6": {
      "label": "6 held-out open-source commits (TS, JS, Java)",
      "repos": 6,
      "ecocoder": {
        "resolved": 5,
        "uncached_input_tokens": 842457,
        "cached_input_tokens": 3024960,
        "output_tokens": 57545,
        "cost_std_usd_exact": 0.6012,
        "cost_std_usd": 0.60,
        "cost_flex_repriced_usd_exact": 0.4810,
        "cost_flex_repriced_usd": 0.48,
        "cost_per_resolved_std_usd": 0.120,
        "cost_per_resolved_flex_usd": 0.096,
        "gpu_board_kj": 40.9
      },
      "opus_5_5": {
        "resolved": 6,
        "cost_usd_exact": 1.2337,
        "cost_usd": 1.23,
        "cost_per_resolved_usd": 0.206,
        "est_gpu_board_kj_ref": 136,
        "est_gpu_board_kj_range": [58, 377]
      }
    },
    "all_28": {
      "label": "All 28 benchmarked repositories (22 brownfield + 6 OSS)",
      "repos": 28,
      "ecocoder": {
        "cost_std_usd_exact": 10.2412,
        "cost_std_usd": 10.24,
        "cost_flex_repriced_usd_exact": 8.1930,
        "cost_flex_repriced_usd": 8.19,
        "gpu_board_kj": 2038.8,
        "gpu_board_wh": 566.3
      },
      "opus_5_5": {
        "cost_usd_exact": 38.4269,
        "cost_usd_unrounded_sum": 38.43,
        "cost_usd_sum_of_rounded_subtotals": 38.42,
        "est_gpu_board_kj_ref": 6363,
        "est_gpu_board_kj_range": [2709, 17609],
        "est_saving_pct_ref": 68,
        "est_saving_pct_range": [25, 88]
      }
    }
  },
  "xjq_live_flex_check": {
    "tests_passed": 167,
    "tests_total": 167,
    "flex_live_usd": 0.10,
    "flex_live_kj": 14.6,
    "std_main_table_usd": 0.20,
    "std_repriced_flex_usd": 0.16,
    "std_main_table_kj": 19.6,
    "opus_passed": 167,
    "opus_usd": 0.60,
    "opus_est_kj": 91
  }
}
