{
 "blocked": null,
 "versions": {
  "rustc": "rustc 1.99.1 (58cf8f9c3 2026-10-13)",
  "maturin": "maturin 1.16.0",
  "zig": "0.17.1",
  "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": "b9e0f32e97bec8b8a6ee996c93bafbabd902d4d593d1db900f64fe63343ef1e0",
   "bytes": 719711,
   "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": "213b677a7735766eb490e1da6416bc0945ea5e6765ef306430dd19af7ee03e2d",
   "bytes": 727933,
   "gate": {
    "ch_0_999": "525.5258821780834",
    "v2_afterswap": {
     "calls": 21580,
     "oog": 3,
     "max_ok_gas": 243554,
     "init_max": 236377
    }
   }
  }
 ],
 "seconds": {
  "toolchain": 21,
  "build_a": 31,
  "build_b": 11,
  "gate": 85
 },
 "install_block": "curl -sSfL https://api.imd.fun/artifacts/213b677a7735766eb490e1da6416bc0945ea5e6765ef306430dd19af7ee03e2d -o amm_sim_rs-0.1.0.post1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl\necho \"213b677a7735766eb490e1da6416bc0945ea5e6765ef306430dd19af7ee03e2d  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 .   # run inside the amm-challenge checkout at 6b6921f8",
 "notes": [
  "Both wheels built here with the exact maturin command from the brief (zig linker, no C compiler) and passed every gate number. Wheel A is the engine unchanged; wheel B is the engine plus scratch/instrumentation.patch from artifact 02c134d9..., with amm_sim_rs/pyproject.toml version = \"0.1.0.post1\".",
  "CH (sha256 6dd68f77...c3, checked) alone vs VanillaStrategy, seeds 0..999, one amm_sim_rs.run_batch(...,8) call with configs from MatchRunner(n_simulations=1000, build_base_config(seed=None), variance=BASELINE_VARIANCE)._build_configs(): mean submission edge repr 525.5258821780834 with A and with B.",
  "V2.sol was made from the artifact 1f4f14f0... code field with the two replacements; each pattern appeared exactly once; sha256 28417e116f57f1029fdd1803832e852574902c1ae7253c05657f317db76da4ab (checked).",
  "With B: python scratch/harness.py V2.sol 10043 10045 out.json --other V2.sol. Both runs, Submission: afterSwap calls 21580, ok 21577, oog 3, max_ok_gas 243554; afterInitialize calls 2, max_ok_gas 236377. Harness exit code 2 (the run is marked invalid because of the OOG), as expected. Baseline afterSwap calls 22703, max 22592.",
  "solc 0.8.24 (SolidityCompiler.SOLC_VERSION) was installed by py-solc-x into SOLCX_BINARY_PATH under .cache/tc. The uv venv used Python 3.12.3. The engine's gas limits are unchanged: INIT 250000, TRADE 250000, NAME 50000.",
  "Seconds: toolchain = uv, rustup and venv/pip installs (the clone ran just before and is not counted); gate = 37 s for A + 48 s for B, including installs and solc download.",
  "No reference-release wheels were downloaded. The api.imd.fun URL in install_block works only once wheel B has been uploaded under its sha256. The two wheels sit next to this file."
 ]
}