{"status":"ok","item":"confirm-a","hashes":{"IA":{"url":"https://api.imd.fun/artifacts/df0ddfdf122c88641513dd179980fce475f42a912a184f812d213f27db7c14df","json_sha256":"df0ddfdf122c88641513dd179980fce475f42a912a184f812d213f27db7c14df","field":"code_zb64","source_sha256":"956566e95f46dc1ed5980fae5e550de7b9da10f9b3ad8eed62f265682cfcecf2"},"HA":{"url":"https://api.imd.fun/artifacts/2801efc8190e86318dd922d4a7179f63684d77a226047fc2f3c78232963eb690","json_sha256":"2801efc8190e86318dd922d4a7179f63684d77a226047fc2f3c78232963eb690","field":"code","source_sha256":"99e3a2eceae0e5543d27473859e10b005d0ce0aa7067f2e1a24d1e0e4a7390fe"},"T":{"url":"https://api.imd.fun/artifacts/6ac5e013b7b1fb4c5e7bdcdfec0aba28b16824e18ccf39500f258533879faffe","json_sha256":"6ac5e013b7b1fb4c5e7bdcdfec0aba28b16824e18ccf39500f258533879faffe","field":"code","source_sha256":"ebd9de9bf6af6e55d5e308fd15dbb88edec11fd684891d02a30aec185acd19b3"},"kit":{"url":"https://api.imd.fun/artifacts/0d8194e9f6e0017dc4e515cdb04c048efc292935bb1d18e3336091fe81154786","json_sha256":"0d8194e9f6e0017dc4e515cdb04c048efc292935bb1d18e3336091fe81154786","files":{"sim.py":"d003c663b94968b58aaefb65fef8e910638ee1664e19f96c809b45e499910638","harness.py":"24169a30bddafe5f82fa6873adcd7d6c15892f883d1af25eebaa9b5f623606bc","port.py":"9aa80ce98b31cb18b14192a87a9b6d133e4c9c2d7adc4a51a5f170be95d92fef","diff_test.py":"32345abab9b1ea77ebe084b02e1c4b7bb692b5202af7c62572e36f96d3e2cb5b","test_kit.py":"2ff44560ef5b8ee5d5e1c32daf4e2c63b05fb858b9a4646640884fc66ca22bcd","HA.sol":"99e3a2eceae0e5543d27473859e10b005d0ce0aa7067f2e1a24d1e0e4a7390fe","T.sol":"ebd9de9bf6af6e55d5e308fd15dbb88edec11fd684891d02a30aec185acd19b3"}},"replica":{"url":"https://api.imd.fun/artifacts/e8a7a2af9039c24b8bb2d3b5fa1c9113606cbf5a480ac07d02ca26750f1752ea","json_sha256":"e8a7a2af9039c24b8bb2d3b5fa1c9113606cbf5a480ac07d02ca26750f1752ea","note":"downloaded and id checked; not used (no replica work in this item)"},"rs2_port":{"url":"https://api.imd.fun/artifacts/d845a4b94eab87f23956fd1939c0135d955df212d1f3037f2a761c178cef7a0e","json_sha256":"d845a4b94eab87f23956fd1939c0135d955df212d1f3037f2a761c178cef7a0e","note":"downloaded and id checked; not used (no replica work in this item)"},"wheel":"aedb68280aca34c110968f00148387c95885207913fb2cf19a1ab4c5cfd6887a","checkout":"6b6921f8d463314aa7c96234e1be25a25245f704","all_checked":true},"seeds":{"start":7200000,"end":7201023,"n":1024,"chunks":[[7200000,64],[7200064,64],[7200128,64],[7200192,64],[7200256,64],[7200320,64],[7200384,64],[7200448,64],[7200512,64],[7200576,64],[7200640,64],[7200704,64],[7200768,64],[7200832,64],[7200896,64],[7200960,64]]},"IA_vs_HA":{"n":1024,"mean_diff":0.393835,"se":0.019284,"worst5":[[7200577,-2.230107],[7200316,-1.961945],[7200417,-1.857737],[7200287,-1.747926],[7200053,-1.537597]],"sum":403.287322,"sumsq":548.37162,"retail_delta":0.622784,"arb_delta":-0.228949},"IA_vs_T":{"n":1024,"mean_diff":1.522149,"se":0.030728,"worst5":[[7200576,-2.696073],[7200257,-2.149655],[7200181,-2.08502],[7200761,-1.383742],[7200321,-1.229955]],"sum":1558.680077,"sumsq":3361.681082,"retail_delta":4.732144,"arb_delta":-3.209995},"HA_vs_T":{"n":1024,"mean_diff":1.128313,"se":0.026242,"worst5":[[7200257,-1.899148],[7200576,-1.645596],[7200618,-1.533177],[7200181,-1.46934],[7200358,-1.296697]],"sum":1155.392754,"sumsq":2025.056071,"retail_delta":4.10936,"arb_delta":-2.981046},"mean_edge":{"T":{"edge":528.972066,"retail":556.237088,"arb":-27.265022},"HA":{"edge":530.10038,"retail":560.346448,"arb":-30.246068},"IA":{"edge":530.494215,"retail":560.969232,"arb":-30.475017}},"gas":{"T":{"afterSwap_peak":223324,"afterInitialize_peak":243115,"calls":{"afterInitialize":1024,"afterSwap":10600356,"getName":1024},"oog":0,"reverts":0,"other_halt":0,"tx_error":0,"bad_return":0},"HA":{"afterSwap_peak":231394,"afterInitialize_peak":243147,"calls":{"afterInitialize":1024,"afterSwap":10915682,"getName":1024},"oog":0,"reverts":0,"other_halt":0,"tx_error":0,"bad_return":0},"IA":{"afterSwap_peak":235490,"afterInitialize_peak":243237,"calls":{"afterInitialize":1024,"afterSwap":10998946,"getName":1024},"oog":0,"reverts":0,"other_halt":0,"tx_error":0,"bad_return":0}},"valid":{"per_arm":{"T":true,"HA":true,"IA":true},"IA":true,"rule":"0 OOG and Submission afterSwap peak <= 245000"},"max_abs_arb_volume_reconstruction_error":0.00012551580221042968,"diffs_IA_minus_HA":[1.5217,0.3535,0.9795,0.185,0.0903,0.6272,-0.0326,0.7054,-0.1678,0.3741,0.2698,1.0062,1.1154,0.8054,0.6589,0.4625,0.352,-0.1574,0.1439,0.1274,0.741,0.0242,0.9153,-0.2508,1.0579,0.3247,0.5863,0.5824,0.4646,0.7232,1.5391,0.2694,0.1623,0.3345,-0.6005,2.3367,-0.193,0.6819,-0.3555,0.2565,-0.0129,0.1725,1.2035,1.1518,0.175,0.2416,1.0581,-0.2791,0.918,0.4213,0.2528,-0.1304,-0.0072,-1.5376,0.3472,0.3426,-0.5716,0.0777,-0.4522,0.6328,0.7845,-0.4597,1.0441,1.528,-0.0035,0.1775,-0.6824,1.0913,0.2255,0.7543,1.1439,0.8306,0.1263,1.3859,-0.35,0.1361,0.5496,-0.1948,-1.2872,0.4578,0.305,0.3008,0.9097,0.2629,0.5172,0.3341,0.3534,0.6847,1.7747,0.2308,0.2461,0.1094,0.9076,0.7401,1.4189,0.2042,0.315,1.5612,0.2639,0.2842,-0.6443,-0.3227,-0.1952,0.1187,0.9248,0.0828,0.9093,0.2947,1.3599,-0.1689,0.3732,-0.0932,0.5826,0.4491,0.5218,0.7437,0.7219,0.178,-0.6365,0.8652,0.7636,0.2352,-0.1958,-0.1654,-0.977,0.3107,0.1482,0.3647,0.554,-0.1613,0.5455,1.2849,1.8485,0.3859,0.0761,0.0218,1.0509,0.2012,-0.2589,0.2554,0.2998,0.1688,0.2867,0.8683,0.2419,-0.0671,0.863,0.0282,0.3496,1.4885,0.1931,0.8154,0.8011,0.179,0.5263,0.5717,0.7529,0.6678,-0.7043,-0.0493,0.2971,-0.4211,1.1895,-0.3285,0.4773,-0.0874,1.1726,0.7175,0.3251,-0.0026,0.9829,0.8014,0.4782,-0.1909,0.2178,-0.1198,0.1279,1.6262,0.5747,1.0354,0.1823,-0.6157,-0.072,-0.9651,0.9218,-0.1455,0.6563,0.5672,0.7957,0.6448,0.4149,-0.3054,0.5526,-0.0644,0.8495,0.5179,0.963,-0.2175,0.1341,0.9148,1.3201,-0.3532,-0.0445,0.3707,0.4815,1.3341,0.3848,-0.4985,0.1577,0.5509,0.6759,0.906,1.2838,-0.0129,0.4407,0.7861,0.3098,0.3735,0.7617,0.0505,-0.0773,0.5205,0.5286,0.4086,0.8361,1.0103,0.4539,0.1724,0.9553,0.7259,0.43,0.1933,0.8394,-0.0258,0.2756,0.2514,0.8508,0.9434,1.5128,0.0474,0.6908,0.6094,0.199,0.4697,-0.0566,0.4433,0.1897,0.0082,0.3554,0.8198,0.4931,-0.0699,0.5375,0.7136,0.4152,-0.4935,0.1306,-0.2505,-0.1154,1.1568,1.3295,0.1915,0.0833,-0.3957,-0.3977,0.1226,0.0668,0.2817,0.0203,-0.314,-0.0183,0.2222,1.0656,0.4423,0.5196,-0.1264,1.6979,0.5724,-0.2824,0.675,0.6142,0.7515,-0.0959,0.8954,6.8588,0.0706,0.3431,-1.7479,0.7033,-0.1214,0.6652,0.8062,0.1758,0.4113,0.7636,0.0249,0.3854,0.6257,1.0842,0.7762,-0.2585,1.1721,0.7683,0.5094,0.7744,1.3654,0.4147,0.8456,0.2669,1.9976,0.3875,-0.9247,0.2486,0.2541,0.6131,0.2097,-1.9619,0.0836,0.7252,0.0235,0.9763,-0.2588,0.3132,-0.5183,0.193,0.9396,1.0154,0.8703,0.1135,-0.3945,-0.2298,0.2997,0.5527,0.0014,0.0938,0.4987,0.3907,0.337,0.6276,0.8546,0.2531,-0.2486,0.0309,1.496,1.284,0.4378,-0.4832,-0.0417,1.1664,0.7398,-0.7063,0.2834,0.9007,0.3085,-0.3243,0.7773,0.0951,-0.272,0.2741,0.1605,-0.0555,0.1325,1.2288,-0.4252,1.9577,0.0647,0.4736,-0.469,-0.1498,-0.0444,0.2551,-0.1625,0.8403,-0.2993,-0.9234,0.0262,-0.9256,0.6117,0.6499,0.5897,0.5,0.3836,0.5667,0.507,0.323,-0.6601,0.363,1.144,-0.4476,0.0833,0.5398,1.0428,1.4512,1.3571,0.4812,0.0981,-0.4678,0.5544,2.0197,0.5681,0.0778,-0.0656,0.4392,0.0238,-1.4154,-0.3008,-0.1234,1.1338,-0.0497,-0.0189,1.5027,0.5398,1.2669,0.3853,0.7479,0.4653,0.4146,-1.8577,0.8031,0.5454,0.1281,1.4082,0.4597,0.8359,0.5523,0.584,0.5958,-0.1947,0.2088,0.4487,0.243,0.646,0.4946,-0.3425,-0.0959,0.5135,-1.2022,0.5715,-0.2729,-0.2408,0.3896,2.4345,0.9629,0.6253,-0.4455,0.566,0.3508,0.8358,-0.9206,0.019,1.1099,0.1872,-0.3872,0.7967,0.204,0.8615,0.3741,0.777,0.8521,0.7353,1.0727,0.9125,0.5856,-0.2063,0.3272,0.4984,1.1486,-1.1235,0.3985,0.6513,0.3092,1.2521,0.4502,-0.2207,0.5646,0.6947,1.514,0.5373,0.8181,1.1047,0.8964,0.4251,1.09,0.6209,0.3022,0.3504,-0.1304,0.2363,-0.0142,1.087,-0.4613,0.836,-0.1541,-0.789,0.4771,-0.5267,0.0613,0.7009,0.2977,0.0403,-0.4193,0.1997,-0.1347,0.3539,0.7156,1.018,-0.1371,-0.437,-0.0743,0.3961,0.2772,0.9054,0.4278,-0.7691,0.2661,0.5168,0.9792,1.1028,0.0341,-0.2594,0.5012,0.0309,0.2223,0.8907,0.4746,1.1844,1.0848,1.1889,-0.2739,0.4577,0.2146,0.469,0.4839,1.02,0.1042,0.6264,0.6056,0.4618,0.0221,1.1888,0.0703,-0.2886,-0.1118,1.3495,0.2929,0.3956,0.6312,-0.0243,-0.1889,0.048,0.9338,0.3326,1.0007,-0.1249,1.1632,0.4713,0.3121,0.2286,0.2454,0.6926,0.3538,0.865,1.0419,0.2435,0.7037,1.2819,0.2439,0.1699,-0.4216,1.1539,0.1595,-0.2023,-0.0714,0.0129,-0.3586,0.7892,-1.0505,-2.2301,0.693,0.667,-0.0854,-0.4097,0.1616,0.5705,-0.2249,-0.4093,0.3896,0.2672,0.3383,0.1217,0.0861,0.2451,0.5884,1.2736,-0.1809,0.5939,0.7261,-0.2885,1.1299,-1.1351,0.4726,-0.0153,-0.1657,2.1378,0.0324,-0.1181,0.5841,-0.5718,0.3101,-0.1119,-0.1168,0.4627,0.2884,-0.6106,0.6357,0.743,-0.2304,0.4863,0.4793,-0.0086,0.4877,0.769,0.8517,-0.3786,0.5867,0.9727,2.1362,-0.5591,0.2695,-0.2999,0.0268,0.7199,0.3819,-0.3517,-0.5325,0.9338,-0.0984,0.0859,-0.4422,0.8212,0.5501,0.5838,1.645,-0.5117,0.6104,1.3852,0.8359,1.6214,1.1171,0.8857,0.2478,0.5564,0.6795,-0.5212,0.6539,-0.5345,0.1311,1.3199,-0.1825,0.382,0.4392,0.0772,0.954,0.7814,-0.4159,0.4357,0.6698,0.3986,0.4811,0.37,2.0283,0.5722,-0.9947,0.4221,0.5019,0.1322,-0.4555,0.2157,1.5636,0.0851,0.4965,-0.4647,0.7392,0.4406,1.2551,-0.1305,1.2651,-0.0092,-0.033,-0.5519,0.9538,-0.1945,1.5478,1.2968,0.5477,2.0532,0.1151,0.0394,-0.0568,0.4393,0.8911,0.5691,0.62,0.456,0.5287,0.1818,-0.372,-0.3979,0.8607,0.9728,0.577,0.4363,0.0633,0.2619,-0.1125,0.8428,1.0072,0.5521,1.4855,0.0015,0.4898,0.494,0.2869,0.9115,1.5841,-0.5636,0.2882,-0.2269,1.2331,0.2951,0.1926,0.372,0.6385,-0.7301,0.1327,0.7337,-0.1226,0.3465,0.4447,-0.036,0.4778,0.3763,-0.6426,0.9504,0.9046,0.6495,-0.6399,0.3644,0.2417,-0.2981,0.2901,0.0567,0.6069,0.457,0.273,1.6656,0.3002,0.2941,0.4695,0.3426,0.4868,-0.1163,0.6487,-0.035,-0.2379,0.1823,1.9629,0.1855,0.9359,0.5042,-0.2209,0.6882,0.2783,-0.4591,1.4124,0.1932,0.3547,0.2117,1.2575,-0.3059,0.5512,-0.2392,0.4507,0.5346,0.6345,0.3478,0.0733,1.2406,0.4686,0.8714,0.7465,-0.2711,-0.0753,0.4866,0.5316,0.2837,0.091,0.1875,0.6632,0.1857,0.6954,0.8621,0.8773,0.776,0.9725,0.214,0.4192,0.1284,0.33,-1.0851,0.2089,0.9107,0.1189,0.0395,0.2079,-0.1203,-0.0224,-0.0601,0.0677,1.3731,1.012,0.6233,1.0789,0.8901,0.7716,1.2587,-0.2683,0.756,0.4491,1.7066,0.594,0.5871,0.1238,0.0727,0.7172,0.8243,0.1256,0.4813,1.5872,-0.3361,1.022,-0.1366,0.379,2.0503,0.3656,0.2825,0.6858,1.1967,1.0564,-0.7427,0.8348,0.4797,0.0725,0.147,0.6775,0.2389,0.7732,0.1171,-0.334,0.4519,0.4336,0.7164,0.6294,1.3787,0.2948,0.2075,0.7178,0.7105,0.6191,0.6426,-0.5256,0.3708,0.1154,0.7477,0.4438,1.9455,0.8601,0.6785,0.1854,0.6945,0.143,0.2673,1.3453,-0.1696,-0.2898,0.4925,0.3966,0.1649,0.4227,0.6834,1.9356,1.7589,0.2726,0.4331,0.3798,-0.2367,-0.1288,0.3886,0.9675,2.0777,0.8745,0.1794,-0.4341,0.4911,-0.7352,0.2341,0.7421,1.0199,0.768,0.4322,0.2783,0.7409,0.2951,0.0284,0.8914,-0.6482,0.3399,0.4502,0.7519,1.2427,0.4507,0.7048,0.5131,0.6874,0.234,0.1069,0.0251,0.7437,0.6032,0.6409,-0.489,-0.0329,1.187,0.6741,0.3924,-0.091,0.9154,1.4394,-0.0616,-0.2881,0.6448,0.6457,0.4915,0.2194,0.2773,0.5345,-0.104,-0.8408,0.1349,0.2972,1.9376,0.2836,-0.0274,0.3576,-0.2396,1.0758,-0.3983,0.4027,0.5638,0.6203,-0.2239,0.9281,0.5822,0.2487,0.3031,1.79,-0.0321,0.9615,0.5885,0.2764,0.1023,1.2347,0.17,0.3259,0.5573,0.7409,0.6159,0.4708,0.7817,1.2288,0.334,0.3428,-0.2682,0.3585,0.3718,-0.2069,0.3754,1.752,-0.1178,-0.1188,-0.1969,-0.1898,0.5996,0.5189,0.1152,0.0213,0.4228,-0.0677,0.3038,0.0162,0.4445,0.5141,-0.1202,-0.4119,-0.3833,0.0261,-0.5051,0.0209,0.7658,0.3951,0.7922,0.4004,0.3311,1.2677,1.9239,0.068,0.4414,-0.6648,-0.3066,-0.0936,-0.2182,0.1559,0.7742,0.7291],"commands":["git clone https://github.com/benedictbrady/amm-challenge test/scratch/amm; git checkout 6b6921f8d463314aa7c96234e1be25a25245f704","sh scratch/setup.sh (goal SETUP script verbatim, once, exit 0; StarterStrategy validated)","decode kit per decode_instructions into scratch/kit (7 files, each sha256 checked); decode IA code_zb64 -> scratch/arms/IA.sol; HA and T `code` -> scratch/arms/{HA,T}.sol; all sha256 checked",". scratch/env.sh && python scratch/kit/test_kit.py  (Ran 9 tests, OK)",". scratch/env.sh && timeout 470 python scratch/kit/harness.py real --start S --n 64 --candidate scratch/arms/IA.sol --out scratch/real/r_S.json  for S = 7200000,7200064,...,7200960 (16 invocations, each exit 0; each runs T, HA, IA alone vs Vanilla with amm_sim_rs.run_batch(X, Vanilla, cfg, 8), gas_stats_reset()/gas_stats() per arm)","python aggregate script over the 16 chunk files (paired diffs, sums, gas max/sum over chunks)"],"notes":["No search and no change to any code or weights. IA compiled from its decoded code_zb64 unchanged; HA and T compiled by the harness from kit HA.sol/T.sol, whose sha256 equal HA and T `code` sha256 (harness records the compiled-source sha256 per chunk; all 16 chunks match the three expected hashes).","Configs: sim.market_config(seed) draws retail_mean_size U(19,21), retail_arrival_rate U(0.6,1.0), gbm_sigma U(0.000882,0.001008) from np.random.default_rng(seed) in the same order as MatchRunner._build_configs, with build_config(seed=seed,...) from the checkout; the market seed takes the place of MatchRunner index i. Same configs for all three arms.","Seeds 7200000..7201023 used once each per arm, in 16 ascending chunks of 64; all 1,024 covered for IA, HA and T (T did fit the clock).","Retail/arb split from the kit harness decompose(): arb edge reconstructed from constant-k pre-arb state, retail = edge - arb; max abs arb-volume reconstruction error over all 3,072 markets reported above.","Gas figures are Submission role only (the strategy under test), aggregated over chunks: calls summed, peaks = max of max_ok_gas. All arms: 0 OOG, 0 reverts, 0 other halts/tx errors/bad returns.","IA beats HA on 787 of 1,024 seeds. IA_vs_HA +0.394 se 0.019 is consistent with the IA artifact own real report (+0.335 se 0.025 on 512 seeds 7116384..7116895). HA_vs_T here is +1.128 se 0.026.","Run time per 64-seed chunk about 110-120 s for all three arms on 8 CPUs."]}