{"item":"confirm-b","batch":"r2-confirm","status":"completed","search_performed":false,"hashes":{"IA":{"url":"https://api.imdnotdead.fun/artifacts/df0ddfdf122c88641513dd179980fce475f42a912a184f812d213f27db7c14df","json_sha256":"df0ddfdf122c88641513dd179980fce475f42a912a184f812d213f27db7c14df","source_field":"code_zb64","source_sha256":"956566e95f46dc1ed5980fae5e550de7b9da10f9b3ad8eed62f265682cfcecf2"},"HA":{"url":"https://api.imdnotdead.fun/artifacts/2801efc8190e86318dd922d4a7179f63684d77a226047fc2f3c78232963eb690","json_sha256":"2801efc8190e86318dd922d4a7179f63684d77a226047fc2f3c78232963eb690","source_field":"code","source_sha256":"99e3a2eceae0e5543d27473859e10b005d0ce0aa7067f2e1a24d1e0e4a7390fe"},"T":{"url":"https://api.imdnotdead.fun/artifacts/6ac5e013b7b1fb4c5e7bdcdfec0aba28b16824e18ccf39500f258533879faffe","json_sha256":"6ac5e013b7b1fb4c5e7bdcdfec0aba28b16824e18ccf39500f258533879faffe","source_field":"code","source_sha256":"ebd9de9bf6af6e55d5e308fd15dbb88edec11fd684891d02a30aec185acd19b3"},"kit":{"url":"https://api.imdnotdead.fun/artifacts/0d8194e9f6e0017dc4e515cdb04c048efc292935bb1d18e3336091fe81154786","json_sha256":"0d8194e9f6e0017dc4e515cdb04c048efc292935bb1d18e3336091fe81154786","decoded_files_sha256_checked":["sim.py","port.py","harness.py","diff_test.py","test_kit.py","HA.sol","T.sol"],"harness_sha256":"24169a30bddafe5f82fa6873adcd7d6c15892f883d1af25eebaa9b5f623606bc"},"amm_challenge_commit":"6b6921f8d463314aa7c96234e1be25a25245f704","amm_sim_rs_wheel_sha256":"aedb68280aca34c110968f00148387c95885207913fb2cf19a1ab4c5cfd6887a","all_sha256_checks_passed":true,"per_chunk_code_sha256_consistent":true},"seeds":{"start":7204096,"end":7205119,"n":1024,"chunks":16,"chunk_size":64,"same_configs_all_arms":true,"fresh_unused_in_this_run":true},"IA_vs_HA":{"n":1024,"mean_diff":0.324985,"se":0.017926,"worst5":[[7204202,-3.1625],[7204249,-1.7702],[7204166,-1.7685],[7204493,-1.3239],[7205035,-1.3181]],"sum":332.784203,"sumsq":444.759886,"retail_delta":0.582874,"arb_delta":-0.25789,"wins":759,"losses":265},"IA_vs_T":{"n":1024,"mean_diff":1.44459,"se":0.029134,"worst5":[[7204202,-2.5123],[7204503,-2.2941],[7204585,-2.2402],[7205043,-1.9828],[7204166,-1.5504]],"sum":1479.260147,"sumsq":3026.04993,"retail_delta":4.632356,"arb_delta":-3.187766,"wins":972,"losses":52},"HA_vs_T":{"n":1024,"mean_diff":1.119605,"se":0.02626,"worst5":[[7204503,-2.9541],[7205043,-2.5617],[7204585,-2.323],[7204827,-1.9732],[7204981,-1.5439]],"sum":1146.475944,"sumsq":2005.992554,"retail_delta":4.049482,"arb_delta":-2.929877,"wins":953,"losses":71},"mean_edge":{"IA":{"edge":525.560202,"retail":555.349841,"arb":-29.789639,"n":1024},"HA":{"edge":525.235217,"retail":554.766967,"arb":-29.53175,"n":1024},"T":{"edge":524.115612,"retail":550.717485,"arb":-26.601873,"n":1024}},"gas":{"IA":{"afterSwap":{"calls":10928285,"ok":10928285,"max_gas":237631,"oog":0,"reverts":0,"other_halt":0,"tx_error":0,"bad_return":0},"afterInitialize":{"calls":1024,"ok":1024,"max_gas":243237,"oog":0,"reverts":0,"other_halt":0,"tx_error":0,"bad_return":0},"getName":{"calls":1024,"ok":1024,"max_gas":21745,"oog":0,"reverts":0,"other_halt":0,"tx_error":0,"bad_return":0},"afterSwap_peak":237631,"afterInitialize_peak":243237,"calls":10930333,"oog":0,"reverts":0,"baseline_vanilla_oog":0},"HA":{"afterSwap":{"calls":10849869,"ok":10849869,"max_gas":233551,"oog":0,"reverts":0,"other_halt":0,"tx_error":0,"bad_return":0},"afterInitialize":{"calls":1024,"ok":1024,"max_gas":243147,"oog":0,"reverts":0,"other_halt":0,"tx_error":0,"bad_return":0},"getName":{"calls":1024,"ok":1024,"max_gas":21654,"oog":0,"reverts":0,"other_halt":0,"tx_error":0,"bad_return":0},"afterSwap_peak":233551,"afterInitialize_peak":243147,"calls":10851917,"oog":0,"reverts":0,"baseline_vanilla_oog":0},"T":{"afterSwap":{"calls":10537717,"ok":10537717,"max_gas":225471,"oog":0,"reverts":0,"other_halt":0,"tx_error":0,"bad_return":0},"afterInitialize":{"calls":1024,"ok":1024,"max_gas":243115,"oog":0,"reverts":0,"other_halt":0,"tx_error":0,"bad_return":0},"getName":{"calls":1024,"ok":1024,"max_gas":21623,"oog":0,"reverts":0,"other_halt":0,"tx_error":0,"bad_return":0},"afterSwap_peak":225471,"afterInitialize_peak":243115,"calls":10539765,"oog":0,"reverts":0,"baseline_vanilla_oog":0}},"valid_per_arm":{"IA":true,"HA":true,"T":true},"valid":true,"T_coverage":"T ran on all 1,024 seeds (the clock fit it)","run_batch_seconds_total":{"IA":100.5,"HA":93.3,"T":72.5},"max_abs_arb_volume_reconstruction_error":0.00010732743248809129,"kit_tests":{"command":"python scratch/kit/test_kit.py","ran":9,"passed":true},"diffs_IA_minus_HA":[0.0316,0.5556,-0.4841,0.6824,0.1461,-0.8148,1.1941,0.0071,1.1817,0.2141,0.5242,0.2985,0.6431,0.0814,-0.0953,-0.3056,-0.1043,1.0906,-0.4352,0.5272,1.1269,0.7176,0.0025,-0.4312,1.0546,-0.4239,0.02,0.014,-0.1586,0.1218,1.2816,-0.0318,0.8488,-0.3989,0.8286,0.8929,0.546,0.297,0.2763,0.3497,-0.1663,0.2905,0.1564,0.2895,0.2972,0.5061,0.5422,0.6313,-0.5631,0.2249,-0.1251,0.8819,0.0641,1.1654,0.1614,0.6635,-0.1028,0.4649,0.1507,0.9951,0.1677,-0.0244,0.0466,1.8474,0.1406,-0.3873,0.5308,0.2898,0.5132,1.0036,-1.7685,0.2814,0.1345,0.4544,0.6005,0.1296,-1.1613,0.8738,0.8665,-0.9926,-0.2939,0.7192,-0.4337,0.2886,0.2872,0.0456,0.2573,1.6853,0.9194,0.9114,-0.5346,-0.5506,-0.1039,0.0744,0.1011,-0.4104,0.0432,-0.5085,0.4902,0.8627,0.989,0.2254,-0.0155,-0.1504,0.471,0.858,-3.1625,-0.2162,1.57,0.4546,0.1142,0.0303,-0.3228,0.5591,0.7044,-0.5974,0.0451,0.885,0.6192,-0.9899,1.5841,0.1788,0.4389,0.8093,0.5853,0.2322,0.4592,1.3113,0.3739,0.5898,0.351,-0.2452,-0.4697,-0.2901,0.5614,-0.1846,1.4137,-1.0419,0.594,0.351,0.486,1.4263,0.6999,-0.0935,-0.5032,0.4604,-0.0934,-0.0885,-0.3925,0.674,0.9432,0.1636,0.2134,-1.7702,-0.862,0.671,0.5804,0.3905,0.2304,0.0565,0.0626,0.375,1.1596,0.8222,0.5475,0.7268,-0.0023,-0.9181,0.2484,1.0998,0.2861,0.5024,-0.0766,1.6969,-0.8695,0.0214,0.9695,0.2837,-0.0109,0.0303,0.823,0.6977,0.3372,0.2007,-0.2657,-0.3506,-0.4256,-0.3035,-0.2797,0.8778,-0.0757,-0.1456,0.3501,0.1594,0.6082,0.1402,0.2266,-0.4448,-0.1358,1.0176,0.3842,0.3056,-0.4251,0.5823,0.1898,0.5301,-0.3436,0.3122,-0.1948,0.6344,0.2781,0.4715,0.7844,0.1917,-0.4987,0.4189,0.1452,0.843,1.1077,0.1318,0.3794,0.0839,0.1026,0.5546,0.1499,0.3075,0.5527,0.5215,0.7081,0.3035,0.4713,1.8591,-0.0305,0.2993,0.5656,0.4462,-0.2045,0.0055,1.6294,-0.2647,0.5997,0.7436,0.5264,0.8707,0.9214,-0.0775,-0.2022,0.1649,0.3294,-0.4157,0.1113,-0.0479,-0.5037,-0.3369,-0.0796,-0.1495,0.1617,0.456,1.0688,0.556,-0.1957,0.5596,0.3768,-1.2405,-0.0539,0.811,0.4203,0.5133,0.441,0.1232,0.2419,-0.2278,0.7903,0.2354,-0.1236,-0.659,0.2645,-0.4264,-0.1105,1.3933,-0.1335,-0.1743,0.6738,0.2353,0.7266,0.3314,0.4196,0.1704,0.8245,0.5391,0.533,0.5011,0.3319,1.2639,0.4541,-0.0045,-0.2038,0.3814,0.81,-0.175,-0.531,1.1099,0.9534,-0.2692,0.9687,0.3829,0.1929,0.5745,0.5488,-0.3872,0.1785,0.6844,0.3966,-0.7076,0.3391,1.5435,0.801,-0.0496,0.9842,-0.0331,0.6571,-0.6188,0.4255,0.4176,1.3801,0.519,0.5369,0.4261,0.2135,0.9591,-0.1666,-0.196,0.305,0.5208,0.9324,0.0341,0.5616,1.2269,0.4703,0.2847,0.6597,-0.9337,0.5973,0.0786,0.1731,0.3605,-0.0212,0.476,0.6639,-0.2118,0.3722,0.5095,0.9033,0.6017,0.1633,1.1197,0.0587,0.6595,1.0394,0.371,1.1929,0.0629,1.4593,0.6515,-0.0857,0.5219,0.0033,0.1391,-0.3712,0.1072,0.6974,0.3173,-0.0776,-0.5431,0.8908,0.1429,0.834,0.1151,0.7808,-0.1496,0.6791,0.3054,0.5262,0.4898,1.3203,0.8639,0.8681,-0.0881,0.4584,0.6212,0.0685,-0.5009,0.2041,0.9376,-0.1903,0.2,-1.1613,-1.3239,0.6241,0.0086,0.6611,-1.0073,0.8001,0.3577,2.1358,0.6705,-0.0313,0.6599,-0.1568,0.3061,0.4546,0.3055,0.1679,-0.0271,0.5151,1.5834,0.6321,0.7704,1.2405,0.9355,0.1456,0.3763,0.735,0.54,0.1559,-0.0813,1.0471,-0.1573,0.6058,0.7365,0.697,0.2825,-0.3009,-0.3639,-0.3476,0.2098,-0.0461,-0.1149,-0.0104,0.107,0.2805,-0.3253,0.2907,0.0139,0.7615,-0.5297,0.5233,-0.419,0.2261,0.2923,0.4964,-0.4018,0.3722,-0.3275,0.2262,0.8884,0.5065,1.4399,-0.3733,0.9049,-0.2195,0.5019,0.521,1.0308,-0.2384,0.3584,0.0436,0.474,-0.0376,0.2247,-0.3929,0.0058,0.6541,-0.591,0.4504,-0.1512,1.1564,0.7635,0.2427,0.3926,0.4195,0.8969,0.4272,0.4445,0.3869,0.3565,1.1381,0.0142,0.4946,0.0828,0.3598,0.5346,0.1949,0.559,2.0256,-0.2343,0.1181,1.0768,0.3342,-0.267,2.0578,0.3892,-0.0867,0.9296,0.3923,-0.153,0.5694,-0.5027,0.1011,0.1367,-0.0429,0.2885,0.2721,0.1141,0.8709,1.0491,1.9491,0.3147,0.1593,0.0711,0.7122,0.0327,0.3483,1.7991,0.6013,0.3172,0.2751,0.6908,0.8496,0.9806,0.0873,0.1053,-0.4626,0.3686,-0.7333,-0.8631,0.633,1.1315,0.469,0.6052,0.1441,-0.2937,0.4802,0.9598,0.6787,0.3707,0.5006,0.292,0.2317,0.3593,0.538,0.1713,-0.7848,-0.2506,-0.3186,0.456,0.0281,-0.4583,1.0272,0.4928,0.1727,0.2206,0.2818,0.1412,0.1587,0.8052,-0.3683,1.1895,1.1168,-0.5424,-0.6828,0.9742,0.705,0.3598,0.7729,-0.5454,0.8363,0.5908,-0.9427,0.1949,0.0867,0.67,0.3433,-0.1021,0.0848,0.2084,0.3084,-0.1674,0.4042,0.6954,0.0049,0.9963,-0.2826,0.1592,-0.2654,0.5039,-0.0106,-0.0894,0.7043,0.5693,1.074,1.2988,-0.2313,0.6227,0.2952,-0.1738,0.005,0.5831,-0.0943,-0.4644,0.472,-0.2317,0.8506,0.7582,0.753,0.7582,0.8852,0.2255,0.3353,-0.4158,0.9073,0.42,0.15,1.69,0.1521,0.7883,-0.2228,0.8587,0.1634,-0.0181,0.1525,-0.1226,0.5236,0.6216,0.9919,-0.5923,0.5738,-0.246,0.704,2.45,0.9225,0.8799,0.1255,-0.1452,0.64,0.3215,0.185,-0.3243,0.4476,-0.1272,0.1944,0.0987,0.4079,0.2232,-0.1239,-0.0406,0.7658,1.2503,-0.0069,0.2286,0.7833,0.9124,0.0606,0.2563,0.6864,0.0667,0.3326,0.8229,0.4052,-0.1172,0.8986,0.0175,0.3995,-0.2068,1.2811,0.6751,0.0069,-0.7424,-0.1963,1.0067,0.3729,-0.2139,1.4208,1.1931,0.1676,0.6272,0.5323,0.7453,-0.7596,0.2782,-0.1736,-0.4065,1.1942,0.8245,0.0488,0.7561,0.3715,0.5394,0.9077,0.5052,-0.1404,-1.0623,0.201,0.5857,0.5597,0.8378,0.4066,0.9118,0.1751,0.2195,0.7066,0.2794,0.6314,-0.3071,0.4262,-0.2723,1.1452,1.4466,0.4358,-0.3914,-0.0227,0.1993,0.3988,0.595,0.2573,0.7098,0.0045,-0.4609,0.3785,0.105,0.5429,0.4797,-0.4968,1.0881,0.877,0.1856,0.2217,-0.0041,0.4137,1.1568,0.6436,0.5269,0.8672,0.1055,0.082,0.2041,0.3081,0.3271,0.6851,0.5364,0.071,0.4003,0.9063,0.257,-0.2119,0.9725,1.0468,-1.0799,-0.1061,1.219,0.9056,0.3073,0.3387,0.2941,1.0925,0.4462,0.2434,1.0995,1.2251,1.0446,0.991,0.5938,-0.1498,0.152,-0.0124,0.5928,0.6828,0.4867,0.396,-0.9179,-0.6211,-0.5613,0.0978,-0.8254,-0.4879,0.3446,0.4175,0.7486,1.3352,0.8918,0.4817,0.2944,0.1272,-0.1307,-0.1722,0.8507,0.4335,-0.2351,0.2635,-0.0404,0.4737,-0.3228,0.3955,-0.4707,0.8071,0.2238,0.3618,0.7772,-0.0709,0.5566,0.3783,-0.0301,0.4027,0.5996,1.121,0.3305,0.0271,0.2501,0.7533,0.5378,-0.2658,0.6349,0.6542,0.1729,0.5366,0.2124,1.4733,0.1927,0.0952,0.6506,0.4377,0.0061,0.2101,0.692,-0.2739,0.3858,0.9087,0.6784,-0.5973,1.1345,1.2014,1.3367,0.4853,0.5706,0.3842,-0.1151,0.5501,-0.4411,0.456,-0.2978,0.9684,0.0918,0.4431,0.4007,0.7078,0.5332,-1.0423,0.7188,0.3306,0.5865,1.4658,0.5252,1.4189,0.6426,0.3167,0.225,0.6453,0.9149,0.4678,0.0845,0.8617,0.0535,0.7834,0.4433,1.2544,0.8511,-1.0408,0.0115,-0.067,0.0332,-0.6613,-0.3052,0.6497,0.2773,0.3552,2.9759,0.7278,0.8925,0.6683,-0.3397,0.0984,0.1218,-0.9941,-0.6654,-0.1642,-0.1011,-0.0713,0.7229,0.4968,1.0673,0.7061,0.5238,-0.1446,-0.6097,-0.6671,0.0454,0.8527,1.5137,0.3407,-0.171,0.0931,-0.2569,-0.7837,-0.0977,1.7,0.1439,-0.7552,-0.5572,-0.1357,-0.5129,0.2079,0.739,1.3352,1.5615,-0.1691,-0.0681,0.7839,0.9694,0.4362,0.3557,0.6315,0.1489,-0.3302,-0.2464,0.7669,-0.0686,1.0526,0.3371,1.2367,-1.3181,0.1543,-0.3101,0.1083,0.4042,0.1862,0.9542,-0.1617,0.5789,0.1383,0.125,0.8439,1.6429,-0.1142,0.5097,0.2693,-0.7925,0.007,0.4215,0.0235,-0.0771,0.1366,0.2416,0.8265,0.4827,0.5876,0.8399,-0.2031,0.6398,0.14,-0.427,0.4275,-0.5076,1.3713,0.9771,0.1844,0.9501,0.2009,0.1854,-0.4657,0.2899,-0.7626,0.4365,0.1376,0.4161,0.8742,0.0963,0.7943,1.0093,0.5256,-0.1259,-0.0319,0.0062,0.6697,0.0528,-0.4697,0.8675,0.4629,0.6098,0.8689,0.7,0.6463,0.3763,0.5888,1.0465,0.5044,-0.1602,0.7947,1.1326,0.4003,-0.1986,0.0053,0.2714,1.0194,0.4228,0.1866,-0.019,-0.0059,1.163,0.6517,-0.5618,-0.4535,0.2104,-0.1033,3.7699],"commands":["git clone https://github.com/benedictbrady/amm-challenge test/scratch/amm-challenge; git checkout 6b6921f8d463314aa7c96234e1be25a25245f704","sh scratch/setup.sh (goal SETUP script verbatim; exit 0; StarterStrategy validated)","decode kit per decode_instructions into scratch/kit/ (7 files, each sha256 asserted); IA code_zb64 -> scratch/IA.sol; HA code -> HA.sol; T code -> T.sol (sha256 checked)",". scratch/env.sh && python scratch/kit/test_kit.py  (9 tests OK)",". scratch/env.sh && timeout 470 python scratch/kit/harness.py real --start S --n 64 --candidate scratch/IA.sol --out scratch/run/real_S.json  for S = 7204096 + 64*k, k=0..15 (one invocation each; T, HA, IA each run alone via amm_sim_rs.run_batch(code, VanillaStrategy, configs, 8); gas_stats_reset/gas_stats per arm)",". scratch/env.sh && python scratch/kit/harness.py aggregate --out scratch/run/summary.json scratch/run/real_72*.json","per-seed pairing, sum/sumsq and diffs computed from chunk raw rows (numpy; se = sample std ddof=1 / sqrt(n))"],"notes":["No search; IA, HA and T code and weights unchanged. IA is run as the harness --candidate arm (labelled Candidate in raw files).","Configs per seed: harness 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) with numpy default_rng(seed) in MatchRunner._build_configs order, then amm_competition build_config(seed=seed,...); identical configs for all three arms.","Retail/arb split is the kit harness reconstruction (arb from constant-k pre-arb state; retail = edge - arb); max arb-volume reconstruction error vs engine reported above.","Gas is the Submission role from amm_sim_rs.gas_stats(), summed over 16 chunks (peaks = max). Vanilla baseline role also had 0 OOG/reverts in every arm.","IA beats HA by +0.3250 (se 0.0179, 18.1 se) on these 1,024 fresh seeds; IA afterSwap peak 237631 <= 245,000 and 0 OOG.","Each command ran well under 8 minutes (about 20 s per 64-seed chunk for all three arms)."]}