{
 "item": "a",
 "blocked": null,
 "v10_sha256": "cd9bdb45ab0537ad25c4fd90ca8618898cef6386de3df65f192eaef65fbca245",
 "stack_sha256": "2eaafc7960e520b8a7fd322ec8afaff8fa677c730228a961efb509cc30b25719",
 "hashes_verified": "sha256 of the exact UTF-8 `code` strings from both artifacts matched the brief; CH.sol sha256 6dd68f77a70900319460215374143dbd5d924198450a46d9f5f91f6b1e3d35c3",
 "calibration": {
  "n": 1000,
  "mean_edge": 525.5258821780834,
  "expected": 525.5258821780834,
  "absolute_error": 0.0,
  "seeds": {
   "start": 0,
   "stop": 1000
  },
  "passed": true
 },
 "seeds": {
  "start": 5008000,
  "stop": 5010000,
  "half_open": true,
  "dropped": 0
 },
 "paired": {
  "n": 2000,
  "mean_diff": 0.1445235199955189,
  "se": 0.013566995142630451,
  "worst": [
   {
    "seed": 5009936,
    "d": -2.8005274638323954
   },
   {
    "seed": 5008655,
    "d": -2.0729470593830683
   },
   {
    "seed": 5008878,
    "d": -1.8660996272393504
   },
   {
    "seed": 5008801,
    "d": -1.8629653049575836
   },
   {
    "seed": 5009045,
    "d": -1.8508357572166005
   }
  ]
 },
 "arm_means": {
  "candidate": {
   "edge": 524.8109913293933,
   "retail": 551.0783084481899,
   "arb": -26.2673171187966
  },
  "stack": {
   "edge": 524.6664678093978,
   "retail": 552.2006188409636,
   "arb": -27.534151031565845
  }
 },
 "retail_edge_delta": {
  "mean": -1.1223103927737246,
  "se": 0.014348940541849816
 },
 "arb_edge_delta": {
  "mean": 1.266833912769243,
  "se": 0.007477615744106323
 },
 "reconciliation_max_abs": 1.1368683772161603e-13,
 "gas": {
  "candidate": {
   "max_ok": 194139,
   "oog": 0,
   "revert": 0,
   "other_halt": 0,
   "tx_error": 0,
   "bad_return": 0,
   "max_ok_by_callback": {
    "afterInitialize": 220981,
    "afterSwap": 194139,
    "getName": 21594
   }
  },
  "STACK": {
   "max_ok": 211588,
   "oog": 0,
   "revert": 0,
   "other_halt": 0,
   "tx_error": 0,
   "bad_return": 0,
   "max_ok_by_callback": {
    "afterInitialize": 220962,
    "afterSwap": 211588,
    "getName": 21576
   }
  },
  "scope": "Submission role, summed over all 100 20-seed chunks per arm, gas_stats_reset()/gas_stats() around each chunk; max_ok is afterSwap; limit 250000. Baseline (Vanilla) role counters also had zero errors."
 },
 "valid": true,
 "reasons": [
  "Calibration matched exactly (abs error 0.0).",
  "All 2000 seeds 5008000..5009999 present in both arms, none dropped; paired by seed.",
  "Zero oog/revert/other_halt/tx_error/bad_return in either arm and either role.",
  "Unmodified V10 harness_source was run in 8 consecutive 250-seed segments (each internally 20-seed chunks) because one command is capped at 10 minutes here; segments were merged with the harness's own aggregate() and compare() functions. Per-seed simulation is independent of segmentation.",
  "V10 minus STACK = +0.1445 (se 0.0136): retail edge -1.122, arb edge (loss reduction) +1.267. No tuning, selection or code change. No board claim."
 ],
 "commands": [
  "git clone https://github.com/benedictbrady/amm-challenge && git checkout 6b6921f8d463314aa7c96234e1be25a25245f704 (inside test/scratch/)",
  "sh scratch/setup.sh (brief script verbatim; ended with StarterStrategy validated successfully)",
  "save V10 artifact code->scratch/V10.sol, harness_source->scratch/harness.py, calibration_harness_source->scratch/calib.py; STACK code->scratch/STACK.sol",
  ". scratch/env.sh && python scratch/calib.py  (CH, seeds 0..999, 20-seed chunks)",
  "for s in 5008000 5008250 ... 5009750: . scratch/env.sh && python scratch/harness.py --start $s --n 250 --out scratch/confirm_$s.json scratch/V10.sol scratch/STACK.sol",
  "python scratch/merge.py (harness.aggregate + harness.compare over the 8 segments)"
 ]
}
