{
 "blocked": null,
 "versions": {
  "rustc": "rustc 1.99.1 (58cf8f9c3 2026-10-13)",
  "maturin": "maturin 1.16.0",
  "zig": "0.17.1 (ziglang pip package)",
  "python": "Python 3.12.3"
 },
 "wheels": [
  {
   "file": "amm_sim_rs-0.1.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl",
   "sha256": "21f22b4c876c909061c6eab642ce4ef7adb746f5ed5c8fd358c0510f004ac572",
   "bytes": 719673,
   "gate": {
    "ch_0_999": "525.5258821780834",
    "v2_afterswap": null
   }
  },
  {
   "file": "amm_sim_rs-0.1.0.post1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl",
   "sha256": "517aeeda6b3527fcdfafda50d50862b0701b23024b660d29aa66cc562cba361a",
   "bytes": 727932,
   "gate": {
    "ch_0_999": "525.5258821780834",
    "v2_afterswap": {
     "calls": 21580,
     "oog": 3,
     "max_ok_gas": 243554,
     "init_max": 236377
    }
   }
  }
 ],
 "seconds": {
  "toolchain": 16,
  "build_a": 30,
  "build_b": 13,
  "gate": 80
 },
 "install_block": "# run inside a checkout of benedictbrady/amm-challenge at 6b6921f8d463314aa7c96234e1be25a25245f704, with uv on PATH\nuv venv --python 3.12 && . .venv/bin/activate\ncurl -sSfL https://api.imdnotdead.fun/artifacts/517aeeda6b3527fcdfafda50d50862b0701b23024b660d29aa66cc562cba361a -o amm_sim_rs-0.1.0.post1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl\necho \"517aeeda6b3527fcdfafda50d50862b0701b23024b660d29aa66cc562cba361a  amm_sim_rs-0.1.0.post1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl\" | sha256sum -c -\nuv pip install ./amm_sim_rs-0.1.0.post1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl numpy py-solc-x==2.1.0 pyrevm==0.3.7\nuv pip install --no-deps -e .",
 "notes": [
  "Both wheels built on this machine (Linux x86_64) using the exact maturin command from the brief, with zig doing the linking and no C compiler; the reference release wheels were not downloaded.",
  "Wheel A passes its gate. Wheel B passes both gates: CH vs VanillaStrategy on seeds 0..999 gives a mean edge of 525.5258821780834 for both A and B. For V2 seeds 10043..10045, Submission afterSwap shows calls 21580, ok 21577, oog 3, max_ok_gas 243554, and afterInitialize max_ok_gas is 236377. The harness's other run of V2 gave identical numbers.",
  "The harness exits with status 2 because it marks the V2 run invalid due to the 3 OOG calls. That is expected: the gate asks for oog 3.",
  "The sha256 values match the brief: CH.sol 6dd68f77...c3, and V2.sol after the two substitutions 28417e11...b4ab.",
  "Configs for the CH gate come from MatchRunner(n_simulations=1000, config=build_base_config(seed=None), n_workers=8, variance=BASELINE_VARIANCE)._build_configs(), with seeds asserted to be 0..999. run_batch used 8 workers.",
  "uv venv --python 3.12 picked up the system CPython 3.12.3, so it did not download a managed interpreter. Rust came from rustup with the minimal profile, target x86_64-unknown-linux-gnu.",
  "Timings in seconds are wall-clock on a 32-core machine. 'gate' adds both wheel installs, the two CH runs and the harness run.",
  "The install_block assumes the wheel has been uploaded at api.imdnotdead.fun/artifacts/<sha256 of wheel B>. That upload is not done by this item."
 ]
}