{
  "notes": "Episode 9/10. Entry: 111/400 items used, 289 left; 19 handed results; one older item running and 26 waiting. Requests 6 batches/13 items: 124 used,276 left if admitted. No simulations/submissions here; only decisions.json. All 19 code hashes match; sigma-b's 512 saved differences reproduce its mean/SE. Artifact audits are not independent simulator reproduction.\n\nBASE/REQUESTER: RS2 remains incumbent: code of https://api.imd.fun/artifacts/19f2ec857df536e8ab62ab1da89ec6623332521ce46849f15bccff402c63e1e5, SHA256 f24b6ca198b744c380842c3a17964a6dc21f311bb04984b26733afa3fee8eaf2. Latest requester note supersedes the old +0.07 bar: submit one exact hash only after >=+0.1 over RS2 on >=4000 fresh seeds, >2 SE, zero OOG/other halts. Requester reports RS2 board 520.0536, 27th, +0.208 SE .018 vs V10 on 1000 board runs; 26th +0.22 away, top ten about +4.6. Requester-reported standings, not a fresh board fetch; local means do not establish rank. STACK remains the historical reference, code of https://api.imd.fun/artifacts/c33720874aa1285e9dc766540b8a90410118a8e8b840d949ea0dcc211bdb27c1, SHA256 2eaafc7960e520b8a7fd322ec8afaff8fa677c730228a961efb509cc30b25719.\n\nPROMISING RESULTS, each n512 held-out tuning vs RS2, unconfirmed:\nS=e07-run-anchor/sigma-b, artifact https://api.imd.fun/artifacts/9045cab1f8a51e8f1c6a4c2c93daa2b2f0d9bd274a68de064a1167c079c2a8b4, code SHA 014ad7bd0e6f412183ab5c0ee1560bbe30182b35b10f18d62464f1df0909cfca: +.1631941092 SE .0250621520, retail +.3466461678, arb -.1834520586; seeds 919000..919511. max_ok 201962 on recheck/holdout, 204249 across recorded arms; init 243121; no halts. Sigma running mean also feeds adaptive gate; packed slot6 preserves raw estimator.\nA=e07-run-anchor/act-a, artifact https://api.imd.fun/artifacts/26cb8e86f05170308de2a4b24821ac7fad2a17077f8d94af6e0f31985343fe89, code SHA 0c3836cd5bb7c39acec190a40c574bc02b4a2a302bb1a1fc6696178cecce2484: +.1105716307 SE .0140843130, retail -.4791516815, arb +.5897233122; 924000..924511. max_ok 204413, init 243118, no halts. Activity/flow running means use packed slot10.\nT=e07-run-anchor/tox-a, artifact https://api.imd.fun/artifacts/6ac5e013b7b1fb4c5e7bdcdfec0aba28b16824e18ccf39500f258533879faffe, code SHA ebd9de9bf6af6e55d5e308fd15dbb88edec11fd684891d02a30aec185acd19b3: +.2334854617 SE .0373086177, retail -.7774245705, arb +1.0109100322; 954000..954511; worst seed -8.724713459. max_ok 225483, init 243115, no halts. Toxicity running mean uses slot16. All three pass mean>2SE and >=.1; all report CH exact and identity controls. H contains reusable harness_source and calibration.source (CH URL).\n\nOTHER RESULTS: e07-vol-flow/a -.037164 SE .017536, n512, retail -.396125/arb +.358961, no halts: no promotion, b still pending. e07-lean-tail a +.009675 SE .011378 and b +.010712 SE .005928, n512 each: no promotion; both governors cost ~23k gas. Persistent lean correlates with pool mispricing, not an established stuck estimator; shrinking it often loses badly. Close this governor family. e06-rs2-wide/f -.019678 SE .010382 vs RS2, n512, no halts: seven-parameter family remains closed. e06-rs-side/a completed only 24 held-out seeds (-.045611 SE .064600), 5-seed search and 8-seed recheck: incomplete, not a valid 512-seed test. b was negative; no new allocation to it, but do not call a a conclusive negative. e05-confirm-rs/a: superseded RS1 fresh 5100000..5101999 +.072215493 SE .008526481 vs V10, no halts; retain RS2.\n\nPUBLIC SWEEP: b28 f1/f2/f4/f5/f6/f7/h1/h2/h3 and b29-code supply no gas-valid winner over RS2. Best shortlisted differences on common 901000..901255: shl0k28 -2.1652; jaoz -2.7309; solosage1 -2.0281 (repeated by h2); atvinicius -7.5645; maxnorm about -2.73; CH -1.8404; VictorQian03 h1 -65.7966; dicethedev gist -142.6611. Many other screened hashes OOG and are invalid regardless of apparent score. h3 third finalist has only n32 and its max_ok combines callbacks; f6 gives the proper afterSwap figure for the shared best file. f2/h2 used a fixed initial fee in decomposition: component deltas need care. Coverage is capped/non-exhaustive and two e07 mining items are unfinished. No external code is promoted. Future reuse needs owner, commit, path, LICENSE/SPDX and credits; absent license is not permission. solosage1 has neither LICENSE nor SPDX; most others report SPDX MIT but no root license. Historical rank claims are not measured winners.\n\nDECISIONS:\n- e09-confirm-sigma/act/tox: two independent machines per exact source, each 2000 fresh seeds; candidate, RS2 and STACK separately vs Vanilla. No tuning, no source edits.\n- e09-combine-anchors a/b: same fixed three-anchor union on two machines, not a parameter sweep. Reproduce generators independently, then compose T -> A -> S. Fix the documented textual-transform interaction: sigma generator otherwise misses toxLinear in the SIGMA_TOX cross term. Identical bytes, identity/gas preflight, then 2000 fresh seeds each. Gains need not add. Hash mismatch means no pooling. A changed source needs new seeds.\n- e09-head-gas a/b: independently establish the neural multiply-add envelope with old mapping removed, live nonzero inputs/weights, real callbacks and no new init write.\n- e09-learn-head a/b/c: three independent ES seeds, complete fee-head replacement on RS2 state, inline gas gate first so no dependency on another batch. Distill RS2 then optimize all weights with native simulator CRN. Return resumable checkpoints and monitor learning curves. Monitor blocks are diagnostics; final held-out blocks are opened once after selection. This is the requester's principal new-family pilot.\nNine e08 replica/port items have no results; retain them and defer the dependent wide wave. All unfinished work remains active; no cancellations/pause/resume. Last refusal was resume e07-fork-mine: it holds no items. Do not repeat it.\n\nLEDGER: all previous [5000000,5108000) spent/reserved. New inclusive confirmation blocks: sigma a 5108000..5109999,b 5110000..5111999; act a 5112000..5113999,b 5114000..5115999; tox a 5116000..5117999,b 5118000..5119999; union a 5120000..5121999,b 5122000..5123999. Quarantine all even if a worker fails or is partial; NEXT FREE 5124000. Tuning only 10000..999999: use previously unused tails, gas probes 726100..726611 and 736100..736611; NN a/b/c bands starting 740000/750000/760000, train s+6100..s+8719, monitor +8800..+8863, recheck +9000..+9255, final +9400..+9911, probe +9950..+9981; union preflight 786100..786131 and 796100..796131. Reserve these tails; remaining untouched tails include bands 770000 and 800000..890000. No neural fresh blocks allocated.\n\nEPISODE 10: prioritize exact-hash pooled confirmations, reconcile retail+arb and gas/CH/seed completeness, report ALL blocks including losses. Pool n/means/sample variances including between-block means, never different hashes; +.1 and >2SE vs RS2 over >=4000 fresh seeds is the latest submission bar. Requester submits, not workers. Keep neural pilot screens separate from confirmed files. A promising frozen learned file needs two new >=2000 blocks from 5124000; continue climbing checkpoints only with valid replica/port parity and native transfer checks. Means alone do not validate a replica: inspect config/RNG/order, flat/CH calibration, port callback errors <=.01 bps and transfer on multiple policies. If writing up at the episode limit, deliver best confirmed source with provenance and explicit shortfall; no unconfirmed gains or sums become a top-ten claim.\n\nREAD/WAKE: 30 explicit reads: all 13 new outputs, all nine replica/port outputs, two copies each of vanilla-quote, dual-anchor, arb-skew, sticky-dev. arb-surge/public-measure and older leftovers are lower priority if automatically handed. Wake on all six new batches plus replica/port and the first two e08 mechanism batches, 1440-minute fallback preserves the last episode while jobs queue.  finish=false: confirmation and learned-family work remain and top ten is unmet.",
  "spawn": [
    {
      "name": "e09-confirm-sigma",
      "mode": "research",
      "brief": "Confirm one exact {{policy}} file, unchanged; no tuning. Fresh inclusive seeds {{seeds}} (n=2000); <=55 minutes.\nClone github.com/benedictbrady/amm-challenge @6b6921f8d463314aa7c96234e1be25a25245f704 in workspace (never /tmp). Save below as scratch/setup.sh; run sh scratch/setup.sh once at checkout root. Later prefix '. scratch/env.sh && '. Setup failure: blocked={step,error},n=0.\nset -eu;R=$PWD/scratch;mkdir -p $R/tmp $R/bin $R/solcx\necho \"export TMPDIR=$R/tmp XDG_CACHE_HOME=$R/xc UV_CACHE_DIR=$R/uvc UV_PYTHON_INSTALL_DIR=$R/uvpy SOLCX_BINARY_PATH=$R/solcx VIRTUAL_ENV=$PWD/.venv PATH=$PWD/.venv/bin:$R/bin:\\$PATH\" >$R/env.sh;. $R/env.sh\ncommand -v uv >/dev/null||{ curl -LsSf https://github.com/astral-sh/uv/releases/latest/download/uv-x86_64-unknown-linux-gnu.tar.gz|tar --no-same-owner -xz -C $R/tmp;cp $R/tmp/uv-*/uv $R/bin/;}\nW=amm_sim_rs-0.1.0.post1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl;curl -LsSf https://github.com/gtmcknight/amm-sim/releases/download/sim-6b6921f8/$W -o $R/$W\necho \"aedb68280aca34c110968f00148387c95885207913fb2cf19a1ab4c5cfd6887a  $R/$W\"|sha256sum -c -\nuv venv --python 3.12 .venv;uv pip install $R/$W numpy py-solc-x==2.1.0 pyrevm==0.3.7;uv pip install --no-deps -e .\npython -c \"import solcx;solcx.install_solc('0.8.24')\"\namm-match validate contracts/src/StarterStrategy.sol\nJSON at https://api.imd.fun/artifacts/: R=19f2ec857df536e8ab62ab1da89ec6623332521ce46849f15bccff402c63e1e5 (RS2 code SHA256 f24b6ca198b744c380842c3a17964a6dc21f311bb04984b26733afa3fee8eaf2); H=26cb8e86f05170308de2a4b24821ac7fad2a17077f8d94af6e0f31985343fe89 (harness_source and calibration.source=CH). K=c33720874aa1285e9dc766540b8a90410118a8e8b840d949ea0dcc211bdb27c1 (STACK code SHA256 2eaafc7960e520b8a7fd322ec8afaff8fa677c730228a961efb509cc30b25719). Candidate=code of artifact {{artifact}}, SHA256 {{sha}}; verify all hashes. Check CH 0..999 mean 525.5258821780834 (tolerance 1e-6); failure => blocked,n=0. Use H.harness_source: MatchRunner configs, size/rate/sigma draw order, 10000 steps, price seed=s, retail=s+1. Each arm alone vs VanillaStrategy via amm_sim_rs.run_batch(X,VanillaStrategy,configs,8); chunk <=20. Reset/collect amm_sim_rs.gas_stats() per arm/chunk; any OOG/other halt invalidates that hash, never drop seeds. Return JSON code,sha256,blocked,valid,seeds,paired{n,mean_diff,se,worst},retail_edge_delta,arb_edge_delta,gas{max_ok,init_max_ok,oog,other_halts}, reproducible harness/commands. SE=sample SD/sqrt(n); max_ok=afterSwap, initialization separate. paired is vs RS2; also return vs_stack and component deltas vs each baseline, per-arm counters and sum_d,sum_d2 for pooling. Freeze before opening fresh seeds; no retries/selection on them. Incomplete is not confirmation.",
      "items": [
        {
          "key": "a",
          "vars": {
            "policy": "sigma",
            "artifact": "9045cab1f8a51e8f1c6a4c2c93daa2b2f0d9bd274a68de064a1167c079c2a8b4",
            "sha": "014ad7bd0e6f412183ab5c0ee1560bbe30182b35b10f18d62464f1df0909cfca",
            "seeds": "5108000..5109999"
          }
        },
        {
          "key": "b",
          "vars": {
            "policy": "sigma",
            "artifact": "9045cab1f8a51e8f1c6a4c2c93daa2b2f0d9bd274a68de064a1167c079c2a8b4",
            "sha": "014ad7bd0e6f412183ab5c0ee1560bbe30182b35b10f18d62464f1df0909cfca",
            "seeds": "5110000..5111999"
          }
        }
      ],
      "output": {
        "format": "json",
        "maxBytes": 64000
      },
      "merge": {
        "groupSize": 25,
        "brief": "Keep each item's exact source/hash, seed ranges, validity, paired statistics and gas. Never pool different hashes or incomplete runs. Preserve negative and blocked results and provenance; distinguish screens from fresh confirmations."
      }
    },
    {
      "name": "e09-confirm-act",
      "mode": "research",
      "brief": "Confirm one exact {{policy}} file, unchanged; no tuning. Fresh inclusive seeds {{seeds}} (n=2000); <=55 minutes.\nClone github.com/benedictbrady/amm-challenge @6b6921f8d463314aa7c96234e1be25a25245f704 in workspace (never /tmp). Save below as scratch/setup.sh; run sh scratch/setup.sh once at checkout root. Later prefix '. scratch/env.sh && '. Setup failure: blocked={step,error},n=0.\nset -eu;R=$PWD/scratch;mkdir -p $R/tmp $R/bin $R/solcx\necho \"export TMPDIR=$R/tmp XDG_CACHE_HOME=$R/xc UV_CACHE_DIR=$R/uvc UV_PYTHON_INSTALL_DIR=$R/uvpy SOLCX_BINARY_PATH=$R/solcx VIRTUAL_ENV=$PWD/.venv PATH=$PWD/.venv/bin:$R/bin:\\$PATH\" >$R/env.sh;. $R/env.sh\ncommand -v uv >/dev/null||{ curl -LsSf https://github.com/astral-sh/uv/releases/latest/download/uv-x86_64-unknown-linux-gnu.tar.gz|tar --no-same-owner -xz -C $R/tmp;cp $R/tmp/uv-*/uv $R/bin/;}\nW=amm_sim_rs-0.1.0.post1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl;curl -LsSf https://github.com/gtmcknight/amm-sim/releases/download/sim-6b6921f8/$W -o $R/$W\necho \"aedb68280aca34c110968f00148387c95885207913fb2cf19a1ab4c5cfd6887a  $R/$W\"|sha256sum -c -\nuv venv --python 3.12 .venv;uv pip install $R/$W numpy py-solc-x==2.1.0 pyrevm==0.3.7;uv pip install --no-deps -e .\npython -c \"import solcx;solcx.install_solc('0.8.24')\"\namm-match validate contracts/src/StarterStrategy.sol\nJSON at https://api.imd.fun/artifacts/: R=19f2ec857df536e8ab62ab1da89ec6623332521ce46849f15bccff402c63e1e5 (RS2 code SHA256 f24b6ca198b744c380842c3a17964a6dc21f311bb04984b26733afa3fee8eaf2); H=26cb8e86f05170308de2a4b24821ac7fad2a17077f8d94af6e0f31985343fe89 (harness_source and calibration.source=CH). K=c33720874aa1285e9dc766540b8a90410118a8e8b840d949ea0dcc211bdb27c1 (STACK code SHA256 2eaafc7960e520b8a7fd322ec8afaff8fa677c730228a961efb509cc30b25719). Candidate=code of artifact {{artifact}}, SHA256 {{sha}}; verify all hashes. Check CH 0..999 mean 525.5258821780834 (tolerance 1e-6); failure => blocked,n=0. Use H.harness_source: MatchRunner configs, size/rate/sigma draw order, 10000 steps, price seed=s, retail=s+1. Each arm alone vs VanillaStrategy via amm_sim_rs.run_batch(X,VanillaStrategy,configs,8); chunk <=20. Reset/collect amm_sim_rs.gas_stats() per arm/chunk; any OOG/other halt invalidates that hash, never drop seeds. Return JSON code,sha256,blocked,valid,seeds,paired{n,mean_diff,se,worst},retail_edge_delta,arb_edge_delta,gas{max_ok,init_max_ok,oog,other_halts}, reproducible harness/commands. SE=sample SD/sqrt(n); max_ok=afterSwap, initialization separate. paired is vs RS2; also return vs_stack and component deltas vs each baseline, per-arm counters and sum_d,sum_d2 for pooling. Freeze before opening fresh seeds; no retries/selection on them. Incomplete is not confirmation.",
      "items": [
        {
          "key": "a",
          "vars": {
            "policy": "act",
            "artifact": "26cb8e86f05170308de2a4b24821ac7fad2a17077f8d94af6e0f31985343fe89",
            "sha": "0c3836cd5bb7c39acec190a40c574bc02b4a2a302bb1a1fc6696178cecce2484",
            "seeds": "5112000..5113999"
          }
        },
        {
          "key": "b",
          "vars": {
            "policy": "act",
            "artifact": "26cb8e86f05170308de2a4b24821ac7fad2a17077f8d94af6e0f31985343fe89",
            "sha": "0c3836cd5bb7c39acec190a40c574bc02b4a2a302bb1a1fc6696178cecce2484",
            "seeds": "5114000..5115999"
          }
        }
      ],
      "output": {
        "format": "json",
        "maxBytes": 64000
      },
      "merge": {
        "groupSize": 25,
        "brief": "Keep each item's exact source/hash, seed ranges, validity, paired statistics and gas. Never pool different hashes or incomplete runs. Preserve negative and blocked results and provenance; distinguish screens from fresh confirmations."
      }
    },
    {
      "name": "e09-confirm-tox",
      "mode": "research",
      "brief": "Confirm one exact {{policy}} file, unchanged; no tuning. Fresh inclusive seeds {{seeds}} (n=2000); <=55 minutes.\nClone github.com/benedictbrady/amm-challenge @6b6921f8d463314aa7c96234e1be25a25245f704 in workspace (never /tmp). Save below as scratch/setup.sh; run sh scratch/setup.sh once at checkout root. Later prefix '. scratch/env.sh && '. Setup failure: blocked={step,error},n=0.\nset -eu;R=$PWD/scratch;mkdir -p $R/tmp $R/bin $R/solcx\necho \"export TMPDIR=$R/tmp XDG_CACHE_HOME=$R/xc UV_CACHE_DIR=$R/uvc UV_PYTHON_INSTALL_DIR=$R/uvpy SOLCX_BINARY_PATH=$R/solcx VIRTUAL_ENV=$PWD/.venv PATH=$PWD/.venv/bin:$R/bin:\\$PATH\" >$R/env.sh;. $R/env.sh\ncommand -v uv >/dev/null||{ curl -LsSf https://github.com/astral-sh/uv/releases/latest/download/uv-x86_64-unknown-linux-gnu.tar.gz|tar --no-same-owner -xz -C $R/tmp;cp $R/tmp/uv-*/uv $R/bin/;}\nW=amm_sim_rs-0.1.0.post1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl;curl -LsSf https://github.com/gtmcknight/amm-sim/releases/download/sim-6b6921f8/$W -o $R/$W\necho \"aedb68280aca34c110968f00148387c95885207913fb2cf19a1ab4c5cfd6887a  $R/$W\"|sha256sum -c -\nuv venv --python 3.12 .venv;uv pip install $R/$W numpy py-solc-x==2.1.0 pyrevm==0.3.7;uv pip install --no-deps -e .\npython -c \"import solcx;solcx.install_solc('0.8.24')\"\namm-match validate contracts/src/StarterStrategy.sol\nJSON at https://api.imd.fun/artifacts/: R=19f2ec857df536e8ab62ab1da89ec6623332521ce46849f15bccff402c63e1e5 (RS2 code SHA256 f24b6ca198b744c380842c3a17964a6dc21f311bb04984b26733afa3fee8eaf2); H=26cb8e86f05170308de2a4b24821ac7fad2a17077f8d94af6e0f31985343fe89 (harness_source and calibration.source=CH). K=c33720874aa1285e9dc766540b8a90410118a8e8b840d949ea0dcc211bdb27c1 (STACK code SHA256 2eaafc7960e520b8a7fd322ec8afaff8fa677c730228a961efb509cc30b25719). Candidate=code of artifact {{artifact}}, SHA256 {{sha}}; verify all hashes. Check CH 0..999 mean 525.5258821780834 (tolerance 1e-6); failure => blocked,n=0. Use H.harness_source: MatchRunner configs, size/rate/sigma draw order, 10000 steps, price seed=s, retail=s+1. Each arm alone vs VanillaStrategy via amm_sim_rs.run_batch(X,VanillaStrategy,configs,8); chunk <=20. Reset/collect amm_sim_rs.gas_stats() per arm/chunk; any OOG/other halt invalidates that hash, never drop seeds. Return JSON code,sha256,blocked,valid,seeds,paired{n,mean_diff,se,worst},retail_edge_delta,arb_edge_delta,gas{max_ok,init_max_ok,oog,other_halts}, reproducible harness/commands. SE=sample SD/sqrt(n); max_ok=afterSwap, initialization separate. paired is vs RS2; also return vs_stack and component deltas vs each baseline, per-arm counters and sum_d,sum_d2 for pooling. Freeze before opening fresh seeds; no retries/selection on them. Incomplete is not confirmation.",
      "items": [
        {
          "key": "a",
          "vars": {
            "policy": "tox",
            "artifact": "6ac5e013b7b1fb4c5e7bdcdfec0aba28b16824e18ccf39500f258533879faffe",
            "sha": "ebd9de9bf6af6e55d5e308fd15dbb88edec11fd684891d02a30aec185acd19b3",
            "seeds": "5116000..5117999"
          }
        },
        {
          "key": "b",
          "vars": {
            "policy": "tox",
            "artifact": "6ac5e013b7b1fb4c5e7bdcdfec0aba28b16824e18ccf39500f258533879faffe",
            "sha": "ebd9de9bf6af6e55d5e308fd15dbb88edec11fd684891d02a30aec185acd19b3",
            "seeds": "5118000..5119999"
          }
        }
      ],
      "output": {
        "format": "json",
        "maxBytes": 64000
      },
      "merge": {
        "groupSize": 25,
        "brief": "Keep each item's exact source/hash, seed ranges, validity, paired statistics and gas. Never pool different hashes or incomplete runs. Preserve negative and blocked results and provenance; distinguish screens from fresh confirmations."
      }
    },
    {
      "name": "e09-combine-anchors",
      "mode": "research",
      "brief": "Build/confirm ONE fixed three-anchor union, copy {{copy}}, <=55 minutes; no fitting.\nClone github.com/benedictbrady/amm-challenge @6b6921f8d463314aa7c96234e1be25a25245f704 in workspace (never /tmp). Save below as scratch/setup.sh; run sh scratch/setup.sh once at checkout root. Later prefix '. scratch/env.sh && '. Setup failure: blocked={step,error},n=0.\nset -eu;R=$PWD/scratch;mkdir -p $R/tmp $R/bin $R/solcx\necho \"export TMPDIR=$R/tmp XDG_CACHE_HOME=$R/xc UV_CACHE_DIR=$R/uvc UV_PYTHON_INSTALL_DIR=$R/uvpy SOLCX_BINARY_PATH=$R/solcx VIRTUAL_ENV=$PWD/.venv PATH=$PWD/.venv/bin:$R/bin:\\$PATH\" >$R/env.sh;. $R/env.sh\ncommand -v uv >/dev/null||{ curl -LsSf https://github.com/astral-sh/uv/releases/latest/download/uv-x86_64-unknown-linux-gnu.tar.gz|tar --no-same-owner -xz -C $R/tmp;cp $R/tmp/uv-*/uv $R/bin/;}\nW=amm_sim_rs-0.1.0.post1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl;curl -LsSf https://github.com/gtmcknight/amm-sim/releases/download/sim-6b6921f8/$W -o $R/$W\necho \"aedb68280aca34c110968f00148387c95885207913fb2cf19a1ab4c5cfd6887a  $R/$W\"|sha256sum -c -\nuv venv --python 3.12 .venv;uv pip install $R/$W numpy py-solc-x==2.1.0 pyrevm==0.3.7;uv pip install --no-deps -e .\npython -c \"import solcx;solcx.install_solc('0.8.24')\"\namm-match validate contracts/src/StarterStrategy.sol\nJSON at https://api.imd.fun/artifacts/: R=19f2ec857df536e8ab62ab1da89ec6623332521ce46849f15bccff402c63e1e5 (RS2 code SHA256 f24b6ca198b744c380842c3a17964a6dc21f311bb04984b26733afa3fee8eaf2); H=26cb8e86f05170308de2a4b24821ac7fad2a17077f8d94af6e0f31985343fe89 (harness_source and calibration.source=CH). S=9045cab1f8a51e8f1c6a4c2c93daa2b2f0d9bd274a68de064a1167c079c2a8b4; T=6ac5e013b7b1fb4c5e7bdcdfec0aba28b16824e18ccf39500f258533879faffe; K=c33720874aa1285e9dc766540b8a90410118a8e8b840d949ea0dcc211bdb27c1 (STACK).\nVerify each generator reproduces its code hash. Apply generator_source T,H,S in order to R.code using reported params, then replace literal \"wmul(sigmaHat, toxLinear)\" by \"wmul(_anchorSigma(sigmaHat, packedSigma), toxLinear)\" to combine the cross term. Keep init and slots 6/10/16 disjoint; no other edits.\nOn {{probe}}, check neutral weights reproduce RS2 fee/edge traces and union gas<235000 afterSwap,<245000 init. Freeze identical bytes before fresh {{seeds}} (2000 inclusive), run once vs RS2 and STACK. CH check: seeds 0..999 mean 525.5258821780834, tolerance 1e-6; failure => blocked,n=0. Use H.harness_source/MatchRunner configs,10000 steps; each arm alone vs Vanilla via amm_sim_rs.run_batch(X,VanillaStrategy,configs,8),chunks<=20. Reset/collect amm_sim_rs.gas_stats() per arm/chunk; any OOG/other halt invalidates, never drop seeds. Failed generation/parity/gas => fresh n=0; no repair on fresh seeds.\nReturn JSON code,sha256,composition_source,blocked,valid,calibration,seeds,paired{n,mean_diff,se,worst} vs RS2 and vs_stack, retail/arb deltas vs each, per-arm gas{max_ok,init_max_ok,oog,other_halts}, harness/commands. SE=sample SD/sqrt(n); max_ok=afterSwap.",
      "items": [
        {
          "key": "a",
          "vars": {
            "copy": "a",
            "probe": "786100..786131",
            "seeds": "5120000..5121999"
          }
        },
        {
          "key": "b",
          "vars": {
            "copy": "b",
            "probe": "796100..796131",
            "seeds": "5122000..5123999"
          }
        }
      ],
      "output": {
        "format": "json",
        "maxBytes": 64000
      },
      "merge": {
        "groupSize": 25,
        "brief": "Keep each item's exact source/hash, seed ranges, validity, paired statistics and gas. Never pool different hashes or incomplete runs. Preserve negative and blocked results and provenance; distinguish screens from fresh confirmations."
      }
    },
    {
      "name": "e09-head-gas",
      "mode": "research",
      "brief": "Measure ONE neural-head gas envelope on RS2, copy {{copy}}, <=55 minutes. Tuning seeds {{seeds}} only; none >=5000000.\nClone github.com/benedictbrady/amm-challenge @6b6921f8d463314aa7c96234e1be25a25245f704 in workspace (never /tmp). Save below as scratch/setup.sh; run sh scratch/setup.sh once at checkout root. Later prefix '. scratch/env.sh && '. Setup failure: blocked={step,error},n=0.\nset -eu;R=$PWD/scratch;mkdir -p $R/tmp $R/bin $R/solcx\necho \"export TMPDIR=$R/tmp XDG_CACHE_HOME=$R/xc UV_CACHE_DIR=$R/uvc UV_PYTHON_INSTALL_DIR=$R/uvpy SOLCX_BINARY_PATH=$R/solcx VIRTUAL_ENV=$PWD/.venv PATH=$PWD/.venv/bin:$R/bin:\\$PATH\" >$R/env.sh;. $R/env.sh\ncommand -v uv >/dev/null||{ curl -LsSf https://github.com/astral-sh/uv/releases/latest/download/uv-x86_64-unknown-linux-gnu.tar.gz|tar --no-same-owner -xz -C $R/tmp;cp $R/tmp/uv-*/uv $R/bin/;}\nW=amm_sim_rs-0.1.0.post1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl;curl -LsSf https://github.com/gtmcknight/amm-sim/releases/download/sim-6b6921f8/$W -o $R/$W\necho \"aedb68280aca34c110968f00148387c95885207913fb2cf19a1ab4c5cfd6887a  $R/$W\"|sha256sum -c -\nuv venv --python 3.12 .venv;uv pip install $R/$W numpy py-solc-x==2.1.0 pyrevm==0.3.7;uv pip install --no-deps -e .\npython -c \"import solcx;solcx.install_solc('0.8.24')\"\namm-match validate contracts/src/StarterStrategy.sol\nJSON at https://api.imd.fun/artifacts/: R=19f2ec857df536e8ab62ab1da89ec6623332521ce46849f15bccff402c63e1e5 (RS2 code SHA256 f24b6ca198b744c380842c3a17964a6dc21f311bb04984b26733afa3fee8eaf2); H=26cb8e86f05170308de2a4b24821ac7fad2a17077f8d94af6e0f31985343fe89 (harness_source and calibration.source=CH). CH check: seeds 0..999 mean 525.5258821780834, tolerance 1e-6; failure => blocked,n=0. \nPreserve RS2 estimators/state; remove old fee mapping. Benchmark nonzero fixed-point clamped-ReLU heads 8-8-2,10-12-2,12-16-2; shrink if needed. Bytecode weights, no new init writes. Use live causal inputs/outputs so the compiler cannot remove MACs; test signed weights, activation extremes, first/later prints and silence. Store returned fees in slots 0/1. Check legal state access and overflow bounds; count MACs/deployed bytes.\nUse H.harness_source configs (size/rate/sigma draw order; 10000 steps; price seed=s, retail=s+1). Each arm alone vs Vanilla via amm_sim_rs.run_batch(X,VanillaStrategy,configs,8), chunks<=20. Reset/collect amm_sim_rs.gas_stats() per arm/chunk. Any OOG/halt invalidates that architecture; keep failed probes separate from valid results. Report original RS2, estimators-only skeleton and each head's callback gas. Recommend only afterSwap<235000,init<245000,zero halts.\nReturn JSON blocked,n,architecture rows(inputs,hidden,weights,MACs,gas{max_ok,init_max_ok,oog,other_halts},valid), source/hash of largest safe head, generator/harness, arithmetic tests, throughput and size recommendation. No performance-gain claim; observed maxima are not a proof of worst-case safety.",
      "items": [
        {
          "key": "a",
          "vars": {
            "copy": "a",
            "seeds": "726100..726611"
          }
        },
        {
          "key": "b",
          "vars": {
            "copy": "b",
            "seeds": "736100..736611"
          }
        }
      ],
      "output": {
        "format": "json",
        "maxBytes": 64000
      },
      "merge": {
        "groupSize": 25,
        "brief": "Keep each item's exact source/hash, seed ranges, validity, paired statistics and gas. Never pool different hashes or incomplete runs. Preserve negative and blocked results and provenance; distinguish screens from fresh confirmations."
      }
    },
    {
      "name": "e09-learn-head",
      "mode": "research",
      "brief": "Fit ONE RS2 neural fee head, ES seed {{es}}, <=55min. Train {{train}}, monitor {{monitor}}, recheck {{recheck}}, final {{hold}}, probe {{probe}}; none >=5000000.\nClone github.com/benedictbrady/amm-challenge @6b6921f8d463314aa7c96234e1be25a25245f704 in workspace (never /tmp). Save below as scratch/setup.sh; run sh scratch/setup.sh once at checkout root. Later prefix '. scratch/env.sh && '. Setup failure: blocked={step,error},n=0.\nset -eu;R=$PWD/scratch;mkdir -p $R/tmp $R/bin $R/solcx\necho \"export TMPDIR=$R/tmp XDG_CACHE_HOME=$R/xc UV_CACHE_DIR=$R/uvc UV_PYTHON_INSTALL_DIR=$R/uvpy SOLCX_BINARY_PATH=$R/solcx VIRTUAL_ENV=$PWD/.venv PATH=$PWD/.venv/bin:$R/bin:\\$PATH\" >$R/env.sh;. $R/env.sh\ncommand -v uv >/dev/null||{ curl -LsSf https://github.com/astral-sh/uv/releases/latest/download/uv-x86_64-unknown-linux-gnu.tar.gz|tar --no-same-owner -xz -C $R/tmp;cp $R/tmp/uv-*/uv $R/bin/;}\nW=amm_sim_rs-0.1.0.post1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl;curl -LsSf https://github.com/gtmcknight/amm-sim/releases/download/sim-6b6921f8/$W -o $R/$W\necho \"aedb68280aca34c110968f00148387c95885207913fb2cf19a1ab4c5cfd6887a  $R/$W\"|sha256sum -c -\nuv venv --python 3.12 .venv;uv pip install $R/$W numpy py-solc-x==2.1.0 pyrevm==0.3.7;uv pip install --no-deps -e .\npython -c \"import solcx;solcx.install_solc('0.8.24')\"\namm-match validate contracts/src/StarterStrategy.sol\nJSON at https://api.imd.fun/artifacts/: R=19f2ec857df536e8ab62ab1da89ec6623332521ce46849f15bccff402c63e1e5 (RS2 code SHA256 f24b6ca198b744c380842c3a17964a6dc21f311bb04984b26733afa3fee8eaf2); H=26cb8e86f05170308de2a4b24821ac7fad2a17077f8d94af6e0f31985343fe89 (harness_source and calibration.source=CH). CH check: seeds 0..999 mean 525.5258821780834, tolerance 1e-6; failure => blocked,n=0. \nKeep estimators; replace fee mapping by clamped fixed-point 10-8-2 network on causal normalized spot/fastHat,spot/pHat gaps,probArb,sigma,retail rate/size,tox,direction,step position,silence. Gas-probe nonzero weights first; shrink for afterSwap<235k,init<245k. Bound arithmetic/fees; bytecode weights,no init writes; store bid/ask in slots 0/1.\nDistill RS2 quotes on train traces, then diagonal CMA-ES ALL weights <=25min, paired native gain vs RS2. Same 64-seed CRN block for EVERY member per generation; rotate blocks,cache RS2. Freeze checkpoints before monitoring(no selection). Recheck best two on 256 seeds; freeze one hash; test ONCE on 512 final seeds.\nUse H.harness_source/MatchRunner configs,10000 steps; each arm alone vs Vanilla via amm_sim_rs.run_batch(X,VanillaStrategy,configs,8),chunks<=20. Reset/collect amm_sim_rs.gas_stats() per arm/chunk; any OOG/halt invalidates that hash; never drop seeds.\nJSON: code,sha256,blocked,valid,seeds,paired{n,mean_diff,se,worst},retail/arb deltas,gas{max_ok,init_max_ok,oog,other_halts},weights,normalization,generator/trainer/harness,ES checkpoint,monitor curve(gain/SE vs generation). SE=sample SD/sqrt(n); max_ok=afterSwap. Actual counts; label partial.",
      "items": [
        {
          "key": "a",
          "vars": {
            "es": "901",
            "train": "746100..748719",
            "monitor": "748800..748863",
            "recheck": "749000..749255",
            "hold": "749400..749911",
            "probe": "749950..749981"
          }
        },
        {
          "key": "b",
          "vars": {
            "es": "902",
            "train": "756100..758719",
            "monitor": "758800..758863",
            "recheck": "759000..759255",
            "hold": "759400..759911",
            "probe": "759950..759981"
          }
        },
        {
          "key": "c",
          "vars": {
            "es": "903",
            "train": "766100..768719",
            "monitor": "768800..768863",
            "recheck": "769000..769255",
            "hold": "769400..769911",
            "probe": "769950..769981"
          }
        }
      ],
      "output": {
        "format": "json",
        "maxBytes": 64000
      },
      "merge": {
        "groupSize": 25,
        "brief": "Keep each item's exact source/hash, seed ranges, validity, paired statistics and gas. Never pool different hashes or incomplete runs. Preserve negative and blocked results and provenance; distinguish screens from fresh confirmations."
      }
    }
  ],
  "read": [
    "e09-confirm-sigma/a",
    "e09-confirm-sigma/b",
    "e09-confirm-act/a",
    "e09-confirm-act/b",
    "e09-confirm-tox/a",
    "e09-confirm-tox/b",
    "e09-combine-anchors/a",
    "e09-combine-anchors/b",
    "e09-head-gas/a",
    "e09-head-gas/b",
    "e09-learn-head/a",
    "e09-learn-head/b",
    "e09-learn-head/c",
    "e08-replica/a",
    "e08-replica/b",
    "e08-replica/c",
    "e08-replica/d",
    "e08-replica/e",
    "e08-rs2-port/a",
    "e08-rs2-port/b",
    "e08-rs2-port/c",
    "e08-rs2-port/d",
    "e08-vanilla-quote/a",
    "e08-vanilla-quote/b",
    "e08-dual-anchor/a",
    "e08-dual-anchor/b",
    "e08-arb-skew/a",
    "e08-arb-skew/b",
    "e08-sticky-dev/a",
    "e08-sticky-dev/b"
  ],
  "cancel": [],
  "wake": {
    "batches": [
      "e09-confirm-sigma",
      "e09-confirm-act",
      "e09-confirm-tox",
      "e09-combine-anchors",
      "e09-head-gas",
      "e09-learn-head",
      "e08-replica",
      "e08-rs2-port",
      "e08-vanilla-quote",
      "e08-dual-anchor"
    ],
    "afterMinutes": 1440
  },
  "finish": false
}
