{"gates":{"C":{"passed":true,"sequences":50,"swap_callbacks":100000,"initialization_callbacks":50,"threshold_bps":0.1,"max_fee_diff_bps":8.814065310946972e-05,"fees_over_threshold":0,"seeds":[310000,310049]}},"status":"incomplete: candidate chunk 8 interrupted by outer group timeout; no seed reuse or retry","complete":false,"missing":{"arm":"cand","chunk":8,"start":8067072,"end_inclusive":8067135,"n":64,"error":"outer group timeout 470 seconds, exit 124; no per-seed or gas results saved"},"seeds":{"start":8066560,"end_inclusive":8067583,"requested_n":1024,"paired_n":960,"chunk_size":64,"paired_differences_order":"ascending seed, excluding 8067072..8067135"},"paired":{"n":960,"mean_diff":0.20598168829020178,"se":0.021724313802593535,"worst5":[{"seed":8066910,"diff":-2.9532248823760483},{"seed":8066719,"diff":-2.822517115187111},{"seed":8067392,"diff":-2.126880274861037},{"seed":8067556,"diff":-1.6508272998768234},{"seed":8067037,"diff":-1.5738449371061733}],"sum":197.7424207585937,"sumsq":475.2235083710419,"diffs_in_seed_order":[0.6589377947303774,-0.8661489610799435,0.18863937498798578,0.10626357829653443,-0.004922777164551917,0.6060615216311476,0.5725180539293433,0.720599408047633,0.05984346483882064,0.6334615829325685,-0.3072687884292691,0.24464873277304378,0.4801214362494193,-0.7680982244962706,0.20388687692468466,1.1925577268564211,-0.35046538872643396,-0.06734688958022161,0.7486850378979284,0.3768386674454973,0.1407763389477168,1.051494790415802,0.6447075844304209,-1.465475797066233,0.37199540370852446,0.3229328119129491,-0.9175197352499254,0.13936190598542453,-1.3241845109647556,0.1672673228572421,1.5119246854702624,0.627828145267074,-0.37601194123931236,0.9328862798770388,0.7040852542378389,0.4143153965310944,0.06384446597269289,-0.24491261586734936,0.7661371619586248,-0.39161262829009047,0.25202010007512854,1.0420293124801674,0.5705269614289818,0.30141658068964716,-0.16487316047556533,-0.4041528590029202,-0.47795071991106397,0.2669615794039828,-0.1961784241298119,-0.36871672671856004,1.0071618139000407,0.14267164847274216,0.8401738213693761,0.7817891047843091,0.09713707441085262,-0.42930326600276203,-0.08368847049280248,-0.5290582883508819,0.0968693891171597,0.09296939189601972,0.9410495436681003,0.02910898612560686,-0.4084188518322662,-0.7969251157228427,-0.7588462580392843,0.39716712241738605,-0.1267305087242221,0.47654140998008643,-1.0057422292057367,0.802392025338122,0.5860915148401773,1.2106842678823,0.06973827948394273,-0.02228565622607448,0.41222484772629286,-0.23177941821603554,-0.8850147267334023,-0.6458732361885495,0.2017845176328592,-0.5029925759630487,0.05523219915278332,0.620249114737021,0.19741720456852363,1.1250803960211897,0.6116352938486784,0.6491491713297819,0.117832456422434,0.14702694429183794,0.6662074101479902,0.2467866288283176,1.3840881756871113,-0.61754745920814,0.3206736322085817,0.25188778181302496,0.3596455321870735,0.09586902859530255,-0.44911471571469974,-1.2201204208483887,0.10227402232794702,1.8073523377771608,-0.603053756606414,-1.3281738245699444,0.5936049219014876,-0.03493292006601223,0.1655241593782648,0.0836694890108447,0.8351299098243885,1.110781141685493,-0.03930138507183756,0.27672246131265865,0.05823047174231988,0.3825743672881572,0.5027748579921081,0.393135165167223,0.17904429746869255,0.3306188756856727,-0.05886543608903594,0.7203122938852857,0.8256088732392755,0.48673745940226354,0.744181393028839,0.5112088543702953,0.5356819704584268,0.7823000692415008,-0.0016107305249875026,0.579585372118288,0.4664385548124983,-0.48206242967245316,-0.05539444772296065,-0.2971897954292331,0.1450865426152177,0.8553006564718544,-0.2944963456268397,1.3780672268437684,1.501293585365886,-1.1085601346210296,0.23653083334909297,-0.1358079788357145,-0.3129881634204139,0.4112021760126936,0.385667035694496,0.4252504702811848,0.561023215147884,0.5996896001877303,1.6253635579289494,1.0485043852050921,0.8036244194776145,-0.8059658329200374,0.980761439405228,0.7509463196054185,0.5179581346102964,-0.5992324555803066,-0.329162446344867,0.41524237082205673,-0.5965921115497395,-0.7488140833293073,-0.5854381782089604,1.2273226986341115,-0.10909650539804261,-2.822517115187111,0.9034749234274386,0.46825902950206455,-0.3528682412864441,0.46343675760158476,-0.4621288074327481,-0.6604808217470577,-0.7351700733473763,-0.8427038059387542,-0.2218226207465932,0.919278620486125,1.5745419600356172,-0.7737852153334188,-0.8099566958267133,1.2466664554186764,1.873583267681397,0.11366065800046954,-0.2077100938250851,1.0365149336323611,0.10087750400367668,0.8707637616579404,-0.15115724172284217,-0.767236076957488,-0.349435526240768,0.9753281624078909,0.010539292885766827,0.002810334386310842,-0.4572208601108514,-0.6652018085792406,-0.8273694791363368,0.9574572883637416,0.5606651186609497,0.11151615717096774,0.19434746831859684,0.5428898000000117,1.0953047917446384,0.5442081286748817,1.2852813281909903,-0.11074400051938937,0.08984741223349602,0.4068031879031082,0.3632500057201469,0.6125744351746221,0.3088248716896942,1.2926210494761108,-0.9461320153621955,-0.9169662371152754,-0.17788928031154683,1.732275697339901,1.1318416280879546,0.32777431109201416,0.8553172338783952,0.5982318811154528,0.403205560939341,-0.09759813211519486,-0.37415698670037045,1.1595883362765562,0.7450403970811976,-0.7184469216957723,-0.055212662350413666,-0.5582331318465776,1.3738833722924824,0.17378309157163585,0.32088883078972685,0.1409204553678478,0.1687360785057308,-0.20283357290918502,-0.13614727868366572,0.05802833194542245,0.24420116152435867,0.017376534473726224,0.20405351831595908,0.4763485113082311,0.35171222818507886,0.34826631603311853,-0.10806044333617137,1.0708923468242801,-0.26585583825584536,0.4824889951921705,1.0473463385087598,1.8277333590575608,-0.2488333034882544,0.07243316781807607,-0.03448887217973606,0.6444611360345789,0.15122359659125095,-0.10557109200368586,2.063496475770421,-0.1275892773827536,0.2357195026294221,1.397902004465493,0.7076039529736136,0.979917726010683,0.5837309422817611,0.01641279206063473,0.5351235500685334,0.5870256706878081,0.0021972205209408457,1.758933838960047,0.0065758393151327255,0.19054502803021478,0.5256179910296623,1.26908993116092,-0.10272463125045306,0.3632605337742234,0.9192006190518214,-0.795826034960669,-0.5291891221609148,0.06666939614927969,-0.9038666275557716,0.7844008338333879,0.6970060131939135,0.5317664200994727,0.08798820332947344,0.14034462884421828,1.5897134847658663,0.1753776468635806,-0.393209945244962,-0.8381730093150281,-0.0025505665722675985,0.18035869871420118,1.8365572015700309,0.7321775563879669,0.3415541668159676,0.011211415984462292,0.17188212806479441,0.013333875274497586,0.17979281900295518,0.02772670626859508,0.7623203998497843,-0.01240664283488968,0.02449140127237115,-0.27712274575367246,1.5252198401318537,0.08137064827315044,0.8203528585777349,0.07904256437564072,0.5581690835163045,0.23346781013469808,-0.6918839362226663,-0.002461395669115518,0.9147784368901739,-0.21549909521786503,0.23037014118028765,0.15333927110901868,-0.3565321451902719,1.0867648527430447,1.3474908841848219,-0.058690600626619016,0.3863344273684106,-0.11747395540965044,0.5128894353125588,-0.16939345560660968,0.861225901223861,0.45970114949739127,-0.4877013619442323,0.8281509474202267,0.8975831976355266,0.022278743254787514,0.0877370645935116,1.9113642368046726,1.0178322343548416,0.22088647988425691,0.200122065083292,0.8779571906035812,-0.14586810053435784,-0.4703923362970954,-0.15212419950148615,0.9656195438248574,0.9827774667941185,0.35961923795775874,-0.4631693892408748,-0.20857894199525617,-0.1891296400480087,1.6014512481822862,0.6756244008369663,0.36303349033704535,0.8515893244575636,-0.9160515341993687,0.9893250915565659,0.08739702582204245,0.24658237764055002,0.037038792616613136,0.277859757608212,0.9435020219470971,0.3841146354786815,-0.1293974159544291,0.4512597501446862,0.5341576406263471,0.34186948771520065,-0.6963117117192041,-2.9532248823760483,0.5107995867560362,0.4258595136803365,-0.40215679938489757,0.0684728484848165,-0.21605361180115779,0.5657193763598798,0.8509902095522648,0.8625231802270719,-0.43616020527474575,-0.552439687005517,0.19766073637606496,0.9128366561517396,0.1579330099297067,1.1472388643424551,0.3130538134264498,0.1865711752708421,0.589686775674636,0.7486310396955105,0.2676327034511701,1.2318960322323846,0.3943536171439064,0.35070700562357615,0.7150543556734874,-0.27071739909604275,0.7277673778476128,0.0854670544132432,0.3291772312748549,0.48277705676082405,0.44271288934851327,-0.2584179613924107,-0.20650144748140065,1.439787213118052,-0.3697494573423228,-0.2454053071230078,0.9268925678865116,-0.684976986110371,0.5119873584079073,0.5719262505468805,-0.3176812740571222,-1.022268833827411,0.28154126009269476,-0.5812895725727003,0.3098532638792335,0.20528299052409693,-0.8265974190709358,0.3010815873134334,0.650785163323917,0.8182858232817694,0.14076095454277038,0.8533252329661423,-0.29893496960551147,1.259386268566118,0.38365599734845546,0.4573767385623455,0.46720417669018843,0.019995246791779664,0.30296301670000503,-0.7143115144575631,-0.2561834169708277,-0.020576207186422835,-1.1740336852511746,0.3731475149018024,0.21010318554920104,0.5825834227701989,0.7152112222473761,0.2742083259146284,-0.8631247591167721,-0.39053542271904007,0.32076297323794734,0.3372949556393223,0.4843319865024114,-0.2997046233645051,0.3967797522030878,0.2354451559307904,-0.42559383584682564,1.3552010483840604,-0.3165540847421653,0.204267183657862,-0.07872580006392127,0.03621235040486681,1.4231094529875463,0.7397624373912777,0.13024899663628275,0.28530638182229495,-0.4281675234425393,1.46968643058392,-0.333994886768437,0.4831061129085583,-0.22757467417409316,0.38952193336547225,-0.3328014971090738,1.0403789052883212,-0.2887948599510537,-0.4770352270838316,0.4014664336161786,-0.10030022285650375,0.019955442566981674,0.21055533486480726,1.1041417877851814,0.1693353303614913,-0.42103640874972825,0.4162838404008653,-0.39730845901732437,1.3196395679542547,0.4226902541493587,0.09204725030872396,-0.10746072833751441,-0.25195466748095896,-0.34329371931028163,0.9945886946712221,-0.11593415539971375,0.0131952820467518,1.0670293953414784,-0.2038336702747756,0.09614716302655779,0.6113407177861063,0.021430920784609953,-0.7257881055008966,-0.3416444116562616,0.1620150786557133,-0.1937689782020584,-0.21954926201760827,0.19862928431206228,-0.7432732729296276,0.9701343796141373,0.6730823238866606,-1.5738449371061733,0.24332176710515796,0.5624539987956041,-0.4210089075359065,0.3391406162081694,0.296643504968074,0.11207791883396112,-0.29671734848869846,-0.35776054400628254,-0.06481477331817587,0.058271083578347316,-0.16091465139572847,0.48049282833073903,0.20063748198020903,-0.17893032835911526,0.09382101928338216,0.08726036761493106,0.43767944836878314,0.010141106470314298,-0.260534779452712,0.2609565496198343,-0.22324887231678758,0.40622389078350807,0.2733825330589639,-0.6366071412593328,0.6796967490117254,0.5931158110656725,0.8366771512979767,0.4909189933526932,-0.4029673471643491,0.5122091351854579,-0.0371112288094082,-0.22146633926024606,-0.11897776863293075,0.7365777034021903,-0.2587172710173036,-0.41255187085118905,0.14828018748283966,0.4251098452426163,-1.1215134629161412,0.5416435764087737,-0.17062338730534066,-0.6772130987892524,1.078954431880561,-0.9718050626676131,0.537784196901157,0.3776902183631705,0.47407725440984905,-0.11146372342130917,0.8742555549335975,-0.08059046719586149,3.1753106126564603,0.31880951608235364,-0.051996647273881536,0.429662512226173,1.45351818396432,-0.4030536460452936,1.214781185977131,0.8203178344308526,-1.0256190957907165,0.24240490132928016,0.24553391022027427,0.13469223441063605,-0.2751218296957063,0.751551335954673,1.1781781815905106,0.31387546028815905,-0.008535820918609716,0.4537185631977536,0.9393194678968939,-0.3389150598293327,-0.7037473412959798,0.040028072601103304,-0.024789866106004865,-0.24321965491679975,-0.3102240569273249,0.5687661862001505,0.28581224758812596,0.4494447107953192,-0.1405212071670121,-0.5364775664862691,0.13925990995392112,0.650394913942705,-0.1749428708490086,0.2669690968883174,0.6892765006111858,-0.5882647970203152,0.7373116479748774,0.5188596304610087,-0.2549351174260437,0.6476898590590281,-1.1400357807946193,-0.8986311859790703,0.8152221764271417,0.978133634202095,-0.42065128468749435,0.4846124348686658,0.16082530053006394,-0.14728785191437055,0.9937524408371701,-0.5867720051272727,2.3922580337086856,-0.3089440580914129,0.10732804866779588,0.17893458886698,-0.6168195416553317,1.0094050545764048,1.1311673218262968,-1.4535924494372239,-0.3741983934214659,-0.8632587629066393,0.05873706827901515,0.8202606898413478,0.5340116210272754,-0.041061656541273805,-0.16375883810968617,1.240619576236213,-0.2590978006478508,0.8937776626804634,0.9286383621258665,0.0017854189144941301,-0.0870870890430524,0.16563486541213024,0.5703410672671794,0.22968469558713878,-0.26191322253839644,-0.49395134858491474,0.475347827163489,0.37359783752310705,0.07813095153659333,-0.5700657724286771,1.324915401945077,-0.19543332651983292,-0.2797799047581293,0.14965999682823394,-0.20115168795337013,1.4521326042518012,-0.47685204588572105,0.6511199984621499,-0.20830400871034271,0.17369406958835043,-0.39448437496139377,-0.24556709961478873,0.5823225362595963,-0.8644480773430132,-0.2140427417613182,0.3126383904420891,1.4623081327725913,-0.0692410728254913,-0.7190690627515437,0.3814213909497539,1.4581284201403832,0.6830148004243028,0.829360586179746,0.2606917803262263,-0.25784831778730677,-0.17029212422488627,1.4177018327487758,2.245644433180246,0.370633778831575,0.5070360081100489,0.6055824519814337,0.023419252691155634,0.1781027244338702,-0.1853787184383009,0.2936441776276979,-0.1750630362020047,0.3175188548510164,0.29943228071135763,-0.06258097293158471,-0.6313997595960927,0.557101891099478,-0.2530200346643596,-0.5448737751804629,0.747759944263862,0.8956359964219018,0.10092955574623375,0.19375272829438472,1.0484576392623808,-0.6405975870137013,-0.020344453740335666,0.3520146810620304,-0.38887632778698844,-0.11873439775479255,0.20887968563499726,-0.5482886366925186,0.6488166754167537,0.5370411195699489,-1.0163242813090392,-0.5688189338354164,0.46139234340057556,0.04062329299870271,0.8094551091695052,0.5449828706971402,0.13457720939311457,0.13796913036651404,0.5057306004474071,0.6342427246283933,-0.5865534278716495,1.0488434055721996,0.020041868804696605,0.38051249475233817,0.8609326064721472,-0.17566172654653656,-0.6375641384772734,0.39834746832275414,0.32227494224162,-0.04680989092724985,-0.04220787516123892,1.2425507930643107,1.169066569906704,0.6024315830478599,1.1386238362172207,-0.010203802824321428,-0.20374329624837628,0.30248238563910945,0.46791133932470075,0.258824542467778,0.6384388240978751,0.02586530151165789,0.3012871073522092,0.21204905965441867,0.2135999666470525,-0.1040989860771333,0.9730729475488715,0.15510790561944532,0.6527622578576029,0.10928749025049456,0.22507827611451603,0.3215010575257793,-0.20357709686567205,-0.2554995789843133,0.16496809081439778,0.0033294460356501077,0.4359670488937013,1.2140077536460012,0.3158745034485264,0.8461556314173322,0.08995987938686767,1.3534656015883684,0.3162745923478951,0.34068445907860223,-0.6988669447232496,-0.1303862737974555,-0.06303560373117989,-0.7889530648029677,0.05458212352004921,0.3317320766784633,1.1976963114200316,-0.48321657793167105,-0.4359925721021227,0.38915206438701944,-0.08647123482109009,0.7414593359807213,-0.7974235468639108,0.19528718046183258,0.027406802133555175,0.5116110306005339,-1.0561807307429945,-0.10657165504954946,1.569379400100729,-0.3117075388354351,-0.38069358050660185,0.6844335104296988,-0.042325947112431095,0.3258414534199119,0.35791121293277683,0.7937460950479363,-0.10320324898748368,-0.007677072570231758,0.045549603016297624,-0.0505881064449909,-1.2212100047269132,-0.26721543359201405,0.6182511696140978,-0.2986455640020722,-0.4825958236948509,-1.1134807138105316,-0.0925447371014343,1.0047337989984158,0.8033173063487311,0.7919896352576643,0.2997727662122429,-0.021121592045858506,-0.015922797646453546,0.5870613455342664,0.34620203974589003,-0.4394624551373454,0.25476045384232293,0.4285538397026585,0.28402325484239554,-2.126880274861037,-0.4422378612482589,0.712433184414067,0.3965149166210722,0.2002290564551572,0.9727602683946088,0.09721101259344778,0.7215961179670103,0.4056971892317165,0.10714170633525555,-0.6920079823077003,-0.07987416816405357,0.20876788846766203,0.23244649276182372,0.33164410156240365,0.6939384457423898,0.4902602936333551,0.8090854927496594,0.40551245990701545,-0.7528345183804959,0.6248931719031248,0.4061355705770211,0.15245028844987019,0.13013775592446564,0.3780071270162466,0.1723215641142133,-0.16817494726512905,1.0860607329293543,0.18996619545043814,0.05326594768268933,0.28858981785595006,0.31679774381768766,1.5003377818040917,0.5039709242515755,-0.8647159267706002,1.3292254718030563,0.855333430181588,-0.5071241007896106,0.19979293680114552,0.4325327331737867,0.9330970309064242,-0.02192070856523287,-0.0181252357412518,-0.2000304011165781,0.5730908950909566,0.7996578401150032,0.4033630573543405,1.0676032888619602,0.7696639940583623,-0.8319854787931718,0.1437262642763244,-1.4199457521348222,0.8734271128669207,1.1066567607239222,0.234041408238852,-0.09470301391115754,0.5750101995896557,0.2893736345096727,0.05117291194704876,0.7223701050798468,-0.9336159787669658,0.17737023914219208,-0.03067117836747002,0.5402079062458824,1.3378252789184444,0.3782220317326619,-0.32345214449571813,-0.9643643946079692,0.8199553761021434,-0.01978629970858492,-0.5366163503913413,-0.5998915763816512,1.1910418407589987,-0.22348489612681988,0.516804885385227,0.042564537130488134,0.1989721743743189,-0.5446656575519455,0.621418807697296,-0.5520583057694353,1.0633914931461845,0.9109624661110161,-0.2908556374289901,0.5593449547336604,-0.37306573369926355,-0.03815940392610173,0.6211143492779456,0.21512610352715456,-0.21743197808416426,0.39726458067104886,-0.2812978123785115,0.03992885859111084,-0.0728597271063336,0.42517062307683773,-0.3912867760336667,-0.8731958381463301,2.0494753995223505,0.7210924260305092,-0.5827651002857692,-0.8996704528624377,-0.374879209404412,0.24103051458257596,0.6477102635741403,-0.20104600015423557,0.1597521082600224,0.5397152234335749,-0.29166985223378106,-0.333993916123859,6.708993900308428,0.14187219798475326,0.25476604823313664,0.8045977603120491,0.860433529733541,0.21871037347546007,0.15105008431248734,0.7115332997695987,0.6805245875106039,-0.19139708876787154,1.3521432596865566,-0.18743727725166082,1.295439905814817,0.40994617325156923,-0.4597447086051716,0.5261377269803234,-0.2556036585018546,0.2711516160031806,0.639855580852668,-0.717864102886665,0.07898042610304401,0.2713821036045374,-0.3562607634117967,0.16495408942319045,-0.1465579103081609,-0.4742186910566488,-0.6846958471143125,-0.6463131907268007,0.1702419550894092,-0.44490718395240947,0.7622794453842516,0.046547446071826926,0.045107926066918935,-0.7099371858516861,0.4698811905726643,0.01092179554939321,0.4340980266636052,-0.6740712275200167,-0.12773814303858444,-0.4484148509293391,1.7245986015489052,-1.0946212099461263,0.30590021537932444,-1.1226807647532269,0.17878865719785608,-0.27655423037379023,-0.41340760097421025,0.026749322249088436,0.5012466998622358,0.8060052147164924,0.8008133458724842,-0.9615166237460926,-0.050228133422137944,0.3250532484001383,-0.4119522648343832,0.8460281568689538,-1.6508272998768234,0.011917496861769905,0.009325819763375875,0.2726909691422179,-0.31592424348696113,0.06512480950505051,0.42924836319139104,0.9890953883859197,0.4715309712498197,-0.2729567722917636,0.7972891572229059,-1.2292647016358274,0.22801236167583738,0.07355024002509936,1.6631970883305485,-0.5398940579653981,0.045726048589926904,-0.25811535478726455,0.26556024802653155,-1.3600006184861968,0.3312701418363986,-0.528546628876029,0.1381490107104355,-0.44415321010376374,1.1397430344502482,-0.021700308436606974,0.8334710475179463,-0.10592627315736536]},"chunks":[{"start":8066560,"end_inclusive":8066623,"n":64,"mean_diff":0.15892612456472488,"se":0.07554242674767064},{"start":8066624,"end_inclusive":8066687,"n":64,"mean_diff":0.22601325916549442,"se":0.07496219902721372},{"start":8066688,"end_inclusive":8066751,"n":64,"mean_diff":0.14019853016523864,"se":0.10416201819380547},{"start":8066752,"end_inclusive":8066815,"n":64,"mean_diff":0.38728403853077253,"se":0.07790184032813707},{"start":8066816,"end_inclusive":8066879,"n":64,"mean_diff":0.31926594095030936,"se":0.07962709134061699},{"start":8066880,"end_inclusive":8066943,"n":64,"mean_diff":0.27153881040067773,"se":0.08409286196445732},{"start":8066944,"end_inclusive":8067007,"n":64,"mean_diff":0.1510192015384817,"se":0.07267863873721515},{"start":8067008,"end_inclusive":8067071,"n":64,"mean_diff":0.11303492903567314,"se":0.06306470310355793},{"start":8067072,"end_inclusive":8067135,"n":0,"mean_diff":null,"se":null},{"start":8067136,"end_inclusive":8067199,"n":64,"mean_diff":0.18860353847912315,"se":0.08836526755377416},{"start":8067200,"end_inclusive":8067263,"n":64,"mean_diff":0.26090319085251323,"se":0.09246446684492884},{"start":8067264,"end_inclusive":8067327,"n":64,"mean_diff":0.21987413097406971,"se":0.06270705776336932},{"start":8067328,"end_inclusive":8067391,"n":64,"mean_diff":0.13166309600227422,"se":0.07135843253251116},{"start":8067392,"end_inclusive":8067455,"n":64,"mean_diff":0.24187567097494966,"se":0.07914495472777154},{"start":8067456,"end_inclusive":8067519,"n":64,"mean_diff":0.2801015069055053,"se":0.12814735337952304},{"start":8067520,"end_inclusive":8067583,"n":64,"mean_diff":-0.0005766441867809391,"se":0.08221856782422322}],"by_quartile":{"q1":{"n":240,"mean_diff":0.24176659100229614,"se":0.03537041315205333,"IB_retail_volume_y_min":58632.096386598285,"IB_retail_volume_y_max":69571.91587451981},"q2":{"n":242,"mean_diff":0.28219217803856655,"se":0.04619454397862933,"IB_retail_volume_y_min":69666.63033275543,"IB_retail_volume_y_max":77994.01778851886},"q3":{"n":243,"mean_diff":0.18218065971118008,"se":0.042905382313956845,"IB_retail_volume_y_min":77997.9286198853,"IB_retail_volume_y_max":86451.7141585255},"q4":{"n":235,"mean_diff":0.11556609158677775,"se":0.047915194305025055,"IB_retail_volume_y_min":86477.19594366338,"IB_retail_volume_y_max":99726.07336498343}},"retail_delta":-38.70179132610792,"arb_delta":-67.66675274150839,"retail_edge_delta":null,"arb_edge_delta":null,"delta_units":"mean per-seed Y volume, CAND minus IB; separate retail/arb edge deltas were not measured and are not asserted","mean_volume_y":{"ib":{"retail":78035.01145539268,"arb":24384.298027756002},"cand":{"retail":77996.30966406658,"arb":24316.631275014493}},"mean_edge":{"ib":527.625576305885,"cand":527.8315579941752},"gas":{"ib":{"afterSwap_peak":236979,"oog":0,"gas_stats":[{"role":"Baseline","callback":"afterInitialize","calls":1024,"ok":1024,"max_ok_gas":21796,"sum_ok_gas":22319104,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":10954596,"ok":10954596,"max_ok_gas":22592,"sum_ok_gas":247165983672,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":1024,"ok":1024,"max_ok_gas":21526,"sum_ok_gas":22042624,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":1024,"ok":1024,"max_ok_gas":243227,"sum_ok_gas":249064448,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":11005769,"ok":11005769,"max_ok_gas":236979,"sum_ok_gas":1488647553141,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":1024,"ok":1024,"max_ok_gas":21735,"sum_ok_gas":22256640,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}]},"cand":{"afterSwap_peak":237703,"oog":0,"gas_stats":[{"role":"Baseline","callback":"afterInitialize","calls":960,"ok":960,"max_ok_gas":21796,"sum_ok_gas":20924160,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":10265351,"ok":10265351,"max_ok_gas":22592,"sum_ok_gas":231614641984,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":960,"ok":960,"max_ok_gas":21526,"sum_ok_gas":20664960,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":960,"ok":960,"max_ok_gas":243237,"sum_ok_gas":233507520,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":10313913,"ok":10313913,"max_ok_gas":237703,"sum_ok_gas":1399663833096,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":960,"ok":960,"max_ok_gas":21745,"sum_ok_gas":20875200,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}]}},"valid":false,"validity_reason":"Full requested confirmation unavailable: interrupted CAND chunk 8 has unknown gas/OOG and edge results. Completed markets have zero observed OOG and peaks below 245000.","code":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {AMMStrategyBase} from \"./AMMStrategyBase.sol\";\nimport {TradeInfo} from \"./IAMMStrategy.sol\";\n\ncontract Strategy is AMMStrategyBase {\n    uint256 constant ELAPSED_CAP = 8;\n    uint256 constant SIGNAL_THRESHOLD = WAD / 650;\n    uint256 constant DIR_DECAY = 750000000000000000;\n    uint256 constant ACT_DECAY = 530000000000000000;\n    uint256 constant SIZE_DECAY = 530000000000000000;\n    uint256 constant TOX_DECAY = 910000000000000000;\n    uint256 constant SIGMA_DECAY = 690000000000000000;\n    uint256 constant LAMBDA_DECAY = 990000000000000000;\n    uint256 constant SIZE_BLEND_DECAY = 828000000000000000;\n    uint256 constant TOX_BLEND_DECAY = 51000000000000000;\n    uint256 constant ACT_BLEND_DECAY = 985000000000000000;\n    uint256 constant PHAT_ALPHA = 270000000000000000;\n    uint256 constant PHAT_ALPHA_RETAIL = 60000000000000000;\n    uint256 constant PHAT_ALPHA_SAME = 120000000000000000;\n    uint256 constant REVERT_U = 0;\n    uint256 constant DIR_IMPACT_MULT = 4;\n    uint256 constant GATE_SIGMA_MULT = 7200000000000000000;\n    uint256 constant MIN_GATE = 30000000000000000;\n    uint256 constant TRADE_TOX_BOOST = 3500 * BPS;\n    uint256 constant STALE_ATTRACT_FRAC = 1050000000000000000;\n    uint256 constant RET_CAP = WAD / 35;\n    uint256 constant TOX_CAP = WAD / 5;\n    uint256 constant TRADE_RATIO_CAP = WAD / 5;\n    uint256 constant LAMBDA_CAP = 1820000000000000000;\n    uint256 constant STEP_COUNT_CAP = 64;\n    uint256 constant BASE_FEE = 4 * BPS;\n    uint256 constant SIGMA_COEF = 200000000000000000;\n    uint256 constant LAMBDA_COEF = 12 * BPS;\n    uint256 constant FLOW_SIZE_COEF = 4842 * BPS;\n    uint256 constant TOX_COEF = 300 * BPS;\n    uint256 constant TOX_QUAD_COEF = 15000 * BPS;\n    uint256 constant ACT_COEF = 91843 * BPS;\n    uint256 constant DIR_COEF = 20 * BPS;\n    uint256 constant DIR_TOX_COEF = 100 * BPS;\n    uint256 constant STALE_DIR_COEF = 6850 * BPS;\n    uint256 constant SIGMA_TOX_COEF = 500 * BPS;\n    uint256 constant TAIL_KNEE = 600 * BPS;\n    uint256 constant TAIL_SLOPE_PROTECT = 930000000000000000;\n    uint256 constant TAIL_SLOPE_ATTRACT = 850000000000000000;\n\n    function afterInitialize(uint256 initialX, uint256 initialY) external override returns (uint256, uint256) {\n        slots[0] = BASE_FEE; slots[1] = BASE_FEE; slots[3] = WAD; \n        slots[5] = initialX > 0 ? wdiv(initialY, initialX) : 100 * WAD;\n        slots[6] = 950000000000000; slots[7] = 800000000000000000; slots[8] = 2000000000000000;\n        slots[15] = 400000000000000000 | (uint256(2000000000000000) << 160); slots[13] = 902500000000; slots[14] = slots[5]; \n        return (BASE_FEE, BASE_FEE);\n    }\n\n    function afterSwap(TradeInfo calldata trade) external override returns (uint256, uint256) {\n        uint256 prevBidFee = slots[0]; uint256 prevAskFee = slots[1]; uint256 lastTs = uint64(slots[2]);\n        uint256 dirState = slots[3]; uint256 actEma = slots[4]; uint256 pHat = slots[5];\n        uint256 sigmaHat = slots[6]; uint256 lambdaHat = slots[7]; uint256 sizeHat = slots[8];\n        uint256 toxEma = slots[9]; uint256 stepTradeCount = slots[10];\n\n        uint256 sigmaForFast = sigmaHat;\n        uint256 fastHat = slots[14];\n        uint256 uncertainty = slots[13];\n        uint256 silent = trade.timestamp > lastTs ? trade.timestamp - lastTs : 0;\n        bool isNewStep = trade.timestamp > lastTs;\n        if (isNewStep) {\n            uint256 elapsedRaw = trade.timestamp - lastTs;\n            uint256 elapsed = elapsedRaw > ELAPSED_CAP ? ELAPSED_CAP : elapsedRaw;\n            dirState = _decayCentered(dirState, DIR_DECAY, elapsed);\n            actEma = wmul(actEma, _powWad(ACT_DECAY, elapsed));\n            sizeHat = wmul(sizeHat, _powWad(SIZE_DECAY, elapsed));\n            toxEma = wmul(toxEma, _powWad(TOX_DECAY, elapsed));\n            if (stepTradeCount > 0 && elapsedRaw > 0) {\n                uint256 lambdaInst = (stepTradeCount * WAD) / elapsedRaw;\n                if (lambdaInst > LAMBDA_CAP) lambdaInst = LAMBDA_CAP;\n                lambdaHat = wmul(lambdaHat, LAMBDA_DECAY) + wmul(lambdaInst, WAD - LAMBDA_DECAY);\n            }\n            // Process variance is propagated inside the censored update.\n            if (uncertainty > 100000000000000) uncertainty = 100000000000000;\n            stepTradeCount = 0;\n        }\n\n        bool firstInStep = stepTradeCount == 0;\n        uint256 spot = trade.reserveX > 0 ? wdiv(trade.reserveY, trade.reserveX) : pHat;\n        if (pHat == 0) pHat = spot;\n\n        uint256 feeUsed = trade.isBuy ? prevBidFee : prevAskFee;\n        uint256 gamma = feeUsed < WAD ? WAD - feeUsed : 0;\n        uint256 pImplied;\n        if (gamma == 0) { pImplied = spot; }\n        else { pImplied = trade.isBuy ? wmul(spot, gamma) : wdiv(spot, gamma); }\n\n        // S: infer a no-trade interval center from the last post-trade spot.\n        uint256 silenceScale = WAD;\n        if (firstInStep && silent > 1) {\n            uint256 g = silent - 1;\n            if (g > 1) g = 1;\n            uint256 w = WAD - _powWad(800000000000000000, g);\n            uint256 s = slots[2] >> 64;\n            if (s == 0) s = pHat;\n            uint256 c = (wmul(s, WAD - prevBidFee) + wdiv(s, WAD - prevAskFee)) / 2;\n            if (c >= pHat) pHat += wmul(w, c - pHat);\n            else pHat -= wmul(w, pHat - c);\n            silenceScale = WAD - wmul(300000000000000000, w);\n        }\n\n        {\n            uint256 ret = pHat > 0 ? wdiv(absDiff(pImplied, pHat), pHat) : 0;\n            uint256 alpha = firstInStep ? PHAT_ALPHA : PHAT_ALPHA_RETAIL;\n            uint256 prePhat = pHat;\n            bool secondPrint = !firstInStep && stepTradeCount == 1;\n            bool sameDir = false; bool oppDir = false;\n            if (secondPrint) {\n                bool up2 = pImplied >= pHat;\n                uint256 d1 = slots[12];\n                if (d1 != 0) { sameDir = (d1 == 1) == up2; oppDir = !sameDir; }\n                if (sameDir) alpha = PHAT_ALPHA_SAME;\n            }\n            if (firstInStep) { slots[12] = pImplied >= pHat ? 1 : 2; }\n            uint256 adaptiveGate = wmul(sigmaHat, GATE_SIGMA_MULT);\n            if (adaptiveGate < MIN_GATE) adaptiveGate = MIN_GATE;\n            alpha = wmul(alpha, silenceScale);\n            adaptiveGate = wmul(adaptiveGate, silenceScale);\n            if (ret <= adaptiveGate) { pHat = wmul(pHat, WAD - alpha) + wmul(pImplied, alpha); }\n            if (oppDir && REVERT_U > 0) {\n                uint256 pre = slots[11];\n                if (pre > pHat) pHat = pHat + wmul(pre - pHat, REVERT_U);\n                else pHat = pHat - wmul(pHat - pre, REVERT_U);\n            }\n            if (firstInStep) {\n                if (ret > RET_CAP) ret = RET_CAP;\n                sigmaHat = wmul(sigmaHat, SIGMA_DECAY) + wmul(ret, WAD - SIGMA_DECAY);\n            }\n        }\n\n        // Interior retail routing equalizes fee-adjusted marginal prices.\n        // Subsequent trades in a step cannot be the initial arbitrage trade.\n        if (!firstInStep && feeUsed > 30 * BPS && gamma > 0) {\n            uint256 normalSpot = trade.isBuy\n                ? wdiv(wmul(spot, gamma), WAD - 30 * BPS)\n                : wdiv(wmul(spot, WAD - 30 * BPS), gamma);\n            pHat = wmul(pHat, 90 * WAD / 100) + wmul(normalSpot, 10 * WAD / 100);\n        }\n\n        // Censored assumed-density posterior. No external or future inputs.\n        uint256 arbProbability;\n        (fastHat, uncertainty, arbProbability) = _posterior(PosteriorInput(\n            fastHat, uncertainty, pImplied, spot, slots[2] >> 64,\n            prevBidFee, prevAskFee, firstInStep, silent, trade.isBuy,\n            trade.reserveY > 0 ? wdiv(trade.amountY, trade.reserveY) : 0\n        ));\n        slots[13] = uncertainty;\n        slots[14] = fastHat;\n        uint256 tradeRatio = trade.reserveY > 0 ? wdiv(trade.amountY, trade.reserveY) : 0;\n        if (tradeRatio > TRADE_RATIO_CAP) tradeRatio = TRADE_RATIO_CAP;\n\n        if (tradeRatio > SIGNAL_THRESHOLD) {\n            uint256 push = tradeRatio * DIR_IMPACT_MULT;\n            if (push > WAD / 4) push = WAD / 4;\n            if (trade.isBuy) {\n                dirState = dirState + push;\n                if (dirState > 2 * WAD) dirState = 2 * WAD;\n            } else {\n                dirState = dirState > push ? dirState - push : 0;\n            }\n            actEma = wmul(actEma, ACT_BLEND_DECAY) + wmul(tradeRatio, WAD - ACT_BLEND_DECAY);\n            sizeHat = wmul(sizeHat, SIZE_BLEND_DECAY) + wmul(tradeRatio, WAD - SIZE_BLEND_DECAY);\n            if (sizeHat > WAD) sizeHat = WAD;\n        }\n\n        uint256 tox = pHat > 0 ? wdiv(absDiff(spot, pHat), pHat) : 0;\n        if (tox > TOX_CAP) tox = TOX_CAP;\n        toxEma = wmul(toxEma, TOX_BLEND_DECAY) + wmul(tox, WAD - TOX_BLEND_DECAY);\n        uint256 toxSignal = toxEma;\n        uint256 toxLinear;\n        uint256 toxQuadratic;\n        {\n            uint256 packedAnchor = slots[16];\n            uint256 runMean = uint64(packedAnchor);\n            uint256 sampleCount = packedAnchor >> 64;\n            if (sampleCount < 674) sampleCount++;\n            if (toxEma >= runMean) runMean += (toxEma-runMean)/sampleCount;\n            else runMean -= (runMean-toxEma)/sampleCount;\n            slots[16] = runMean | (sampleCount << 64);\n            toxLinear = _anchorBlend(runMean, toxEma, 712696014807650816);\n            toxQuadratic = _anchorBlend(runMean, toxEma, 1295240753826310656);\n        }\n\n\n        stepTradeCount = stepTradeCount + 1;\n        if (stepTradeCount > STEP_COUNT_CAP) stepTradeCount = STEP_COUNT_CAP;\n\n        uint256 originalLambda = lambdaHat; uint256 originalSize = sizeHat;\n        int256[19] memory nx;\n\n        if (342406799193418304 > 0) {\n            uint256 packedFlow = slots[15];\n            uint256 rate = uint80(packedFlow);\n            uint256 count = uint80(packedFlow >> 80);\n            uint256 meanSize = uint80(packedFlow >> 160);\n            if (rate == 0) rate = 400000000000000000;\n            if (meanSize == 0) meanSize = 2000000000000000;\n            if (isNewStep) {\n                uint256 inst = count / silent;\n                if (inst > 3 * WAD) inst = 3 * WAD;\n                uint256 retention = _powWad(999000000000000000, silent > 64 ? 64 : silent);\n                rate = wmul(rate, retention) + wmul(inst, WAD-retention);\n                count = 0;\n            }\n            uint256 weight = firstInStep ? WAD-arbProbability : WAD;\n            uint256 correctedWeight = weight;\n            if (2 == 2) {\n                uint256 missing = wmul(feeUsed, 196030880396139429888);\n                if (missing > 333333333333333376) missing = 333333333333333376;\n                correctedWeight = wdiv(weight, WAD-missing);\n            }\n            count += correctedWeight;\n            uint256 learning = wmul(WAD-999000000000000000, weight);\n            meanSize = _blend(meanSize, tradeRatio, learning);\n            {\n                uint256 la = packedFlow >> 240;\n                uint256 sn = trade.timestamp - la; if (sn > 32) sn = 32;\n                nx[17] = int256(sn * WAD);\n                if (firstInStep && arbProbability > 500000000000000000) la = trade.timestamp;\n                slots[15]=rate | (count << 80) | (meanSize << 160) | (la << 240);\n            }\n            uint256 retailRate = wmul(rate, 366383424913407168);\n            uint256 retailSize = 2 == 0 ? sizeHat : wmul(meanSize,1883296158119298304);\n            lambdaHat = _blend(lambdaHat,retailRate,342406799193418304);\n            sizeHat = _blend(sizeHat,retailSize,342406799193418304);\n        }\n        uint256 flowSize = wmul(lambdaHat, sizeHat);\n        uint256 fBase = BASE_FEE + wmul(SIGMA_COEF, sigmaHat) + wmul(LAMBDA_COEF, lambdaHat) + wmul(FLOW_SIZE_COEF, flowSize);\n        uint256 fMid = fBase + wmul(TOX_COEF, toxLinear) + wmul(TOX_QUAD_COEF, wmul(toxQuadratic, toxQuadratic)) + wmul(ACT_COEF, actEma);\n        fMid = fMid + wmul(SIGMA_TOX_COEF, wmul(sigmaHat, toxLinear));\n\n        lambdaHat = originalLambda; sizeHat = originalSize;\n        uint256 dirDev; bool sellPressure;\n        if (dirState >= WAD) { dirDev = dirState - WAD; sellPressure = true; }\n        else { dirDev = WAD - dirState; sellPressure = false; }\n\n        uint256 skew = wmul(DIR_COEF, dirDev) + wmul(DIR_TOX_COEF, wmul(dirDev, toxSignal));\n        uint256 bidFee; uint256 askFee;\n        if (sellPressure) {\n            bidFee = fMid + skew;\n            askFee = fMid > skew ? fMid - skew : 0;\n        } else {\n            askFee = fMid + skew;\n            bidFee = fMid > skew ? fMid - skew : 0;\n        }\n\n        {\n            uint256 staleHat = wmul(pHat, 700000000000000000) + wmul(fastHat, 300000000000000000);\n            uint256 staleTox = wdiv(absDiff(spot, staleHat), staleHat);\n            if (staleTox > TOX_CAP) staleTox = TOX_CAP;\n            uint256 staleShift = wmul(STALE_DIR_COEF, staleTox);\n            uint256 attractShift = wmul(staleShift, STALE_ATTRACT_FRAC);\n            if (spot >= staleHat) {\n                bidFee = bidFee + staleShift;\n                askFee = askFee > attractShift ? askFee - attractShift : 0;\n            } else {\n                askFee = askFee + staleShift;\n                bidFee = bidFee > attractShift ? bidFee - attractShift : 0;\n            }\n        }\n\n        {\n            bool tradeAligned = (trade.isBuy && spot >= pHat) || (!trade.isBuy && spot < pHat);\n            if (tradeAligned) {\n                uint256 tradeBoost = wmul(TRADE_TOX_BOOST, tradeRatio);\n                if (!firstInStep && tradeBoost > 16 * BPS) tradeBoost = 16 * BPS;\n                if (trade.isBuy) { bidFee = bidFee + tradeBoost; }\n                else { askFee = askFee + tradeBoost; }\n            }\n        }\n\n        if (sellPressure) {\n            bidFee = clampFee(_compressTailWithSlope(bidFee, TAIL_SLOPE_PROTECT));\n            askFee = clampFee(_compressTailWithSlope(askFee, TAIL_SLOPE_ATTRACT));\n        } else {\n            askFee = clampFee(_compressTailWithSlope(askFee, TAIL_SLOPE_PROTECT));\n            bidFee = clampFee(_compressTailWithSlope(bidFee, TAIL_SLOPE_ATTRACT));\n        }\n\n        if (firstInStep) {\n            if (askFee > bidFee && bidFee > 30 * BPS) bidFee = 30 * BPS;\n            else if (bidFee > askFee && askFee > 30 * BPS) askFee = 30 * BPS;\n        }\n\n        if (bidFee > askFee && askFee > 36 * BPS) askFee = 36 * BPS;\n        else if (askFee > bidFee && bidFee > 36 * BPS) bidFee = 36 * BPS;\n\n        {\n            unchecked {\n                nx[0] = int256(sigmaHat)*1000/1e12-1000000;\n                nx[1] = int256(lambdaHat)*2/1e12-1000000;\n                nx[2] = int256(sizeHat)*500/1e12-1000000;\n                nx[3] = int256(toxEma)*500/1e12-1000000;\n                nx[4] = int256(actEma)*500/1e12-1000000;\n                nx[5] = int256(dirState)/1e12-1000000;\n                uint256 nh = wmul(pHat,700000000000000000)+wmul(fastHat,300000000000000000);\n                nx[6] = (int256(spot)-int256(nh))*500000000/int256(nh);\n                nx[7] = int256(tradeRatio)*500/1e12;\n                if (!trade.isBuy) nx[7] = -nx[7];\n                nx[8] = int256(arbProbability)*2/1e12-1000000;\n                nx[9] = firstInStep ? int256(1000000) : -int256(1000000);\n                nx[10] = int256(uncertainty)/1e6-1000000;\n                nx[11] = int256(silent>8 ? 8 : silent)*1000000/8;\n                nx[12] = int256(uint256(uint64(slots[16])))*500/1e12-1000000;\n                nx[13] = trade.reserveY > 0 ? int256(wdiv(trade.amountY, trade.reserveY)) : int256(0);\n                nx[14] = int256(stepTradeCount * WAD);\n                nx[15] = int256(prevBidFee);\n                nx[16] = int256(prevAskFee);\n                nx[18] = (int256(trade.isBuy ? wdiv(wmul(spot, gamma), WAD - 30 * BPS) : wdiv(wmul(spot, WAD - 30 * BPS), gamma)) - int256(nh)) * 1e18 / int256(nh);\n                nx[13] = nx[13] * 647054817 / 1e18 + (-618293);\n                nx[14] = nx[14] * 1395287 / 1e18 + (-2037262);\n                nx[15] = nx[15] * 220617911 / 1e18 + (-803057);\n                nx[16] = nx[16] * 228148131 / 1e18 + (-808615);\n                nx[17] = nx[17] * 412565 / 1e18 + (-823811);\n                nx[18] = nx[18] * 274335453 / 1e18 + (1772);\n                for (uint256 ni=0;ni<19;ni++) {\n                    if(nx[ni]>4000000) nx[ni]=4000000;\n                    if(nx[ni]<-4000000) nx[ni]=-4000000;\n                }\n                (int256 hb,int256 ha) = _head(nx);\n                int256 nb = int256(bidFee)+hb*100000000;\n                int256 na = int256(askFee)+ha*100000000;\n                bidFee = nb<0 ? 0 : (nb>int256(MAX_FEE) ? MAX_FEE : uint256(nb));\n                askFee = na<0 ? 0 : (na>int256(MAX_FEE) ? MAX_FEE : uint256(na));\n            }\n        }\n\n        slots[0] = bidFee; slots[1] = askFee; slots[2] = (spot << 64) | trade.timestamp;\n        slots[3] = dirState; slots[4] = actEma; slots[5] = pHat;\n        slots[6] = sigmaHat; slots[7] = lambdaHat; slots[8] = sizeHat;\n        slots[9] = toxEma; slots[10] = stepTradeCount;\n\n        return (bidFee, askFee);\n    }\n\n\n\n    function _head(int256[19] memory x) internal pure returns (int256 b,int256 a) {\n        unchecked {\n            b = 1377757000000; a = 2042513000000;\n            int256 z;\n            z = 957470 + ((178829 * x[0]) + (381173 * x[1]) + (-673929 * x[2]) + (2535991 * x[3]) + (-2390938 * x[4]) + (-147668 * x[5]) + (-1155634 * x[6]) + (2283413 * x[7]) + (-4202381 * x[8]) + (-1629364 * x[9]) + (-932017 * x[10]) + (-904276 * x[11]) + (878270 * x[12]) + (-1528522 * x[13]) + (433046 * x[14]) + (51806 * x[15]) + (-779247 * x[16]) + (-163126 * x[17]) + (1078962 * x[18]))/1000000;\n            if(z<0) z=0; else if(z>4000000) z=4000000;\n            b += (415926 * z); a += (715995 * z);\n            z = -1541352 + ((559064 * x[0]) + (918786 * x[1]) + (1553987 * x[2]) + (3168451 * x[3]) + (420204 * x[4]) + (694838 * x[5]) + (-439773 * x[6]) + (-39236 * x[7]) + (-284747 * x[8]) + (340621 * x[9]) + (-171891 * x[10]) + (-1791492 * x[11]) + (127473 * x[12]) + (-459555 * x[13]) + (-10602 * x[14]) + (1820682 * x[15]) + (176828 * x[16]) + (12661 * x[17]) + (664516 * x[18]))/1000000;\n            if(z<0) z=0; else if(z>4000000) z=4000000;\n            b += (-2109809 * z); a += (-1535254 * z);\n            z = -4757279 + ((1827684 * x[0]) + (3475907 * x[1]) + (-1080030 * x[2]) + (1295005 * x[3]) + (1848236 * x[4]) + (2639381 * x[5]) + (-1920023 * x[6]) + (1842073 * x[7]) + (1663576 * x[8]) + (-1586856 * x[9]) + (80787 * x[10]) + (-1128413 * x[11]) + (-742049 * x[12]) + (407887 * x[13]) + (64992 * x[14]) + (1444593 * x[15]) + (-2648004 * x[16]) + (12121 * x[17]) + (-1468558 * x[18]))/1000000;\n            if(z<0) z=0; else if(z>4000000) z=4000000;\n            b += (296613 * z); a += (-1263100 * z);\n            z = -601356 + ((-11022 * x[0]) + (-1453244 * x[1]) + (53177 * x[2]) + (-390076 * x[3]) + (-1279949 * x[4]) + (-576840 * x[5]) + (128734 * x[6]) + (571243 * x[7]) + (312832 * x[8]) + (389415 * x[9]) + (283669 * x[10]) + (-1745130 * x[11]) + (-848326 * x[12]) + (131994 * x[13]) + (147126 * x[14]) + (-452858 * x[15]) + (2049917 * x[16]) + (-664146 * x[17]) + (-715165 * x[18]))/1000000;\n            if(z<0) z=0; else if(z>4000000) z=4000000;\n            b += (52636 * z); a += (3580288 * z);\n            z = -1482708 + ((939742 * x[0]) + (531938 * x[1]) + (4693528 * x[2]) + (-657448 * x[3]) + (-2341433 * x[4]) + (-1156845 * x[5]) + (-420888 * x[6]) + (-455754 * x[7]) + (34023 * x[8]) + (44572 * x[9]) + (63209 * x[10]) + (-2080460 * x[11]) + (118584 * x[12]) + (-761222 * x[13]) + (241699 * x[14]) + (-299798 * x[15]) + (2117414 * x[16]) + (-78259 * x[17]) + (419987 * x[18]))/1000000;\n            if(z<0) z=0; else if(z>4000000) z=4000000;\n            b += (-3603840 * z); a += (185866 * z);\n            z = -835788 + ((1376487 * x[0]) + (-1777479 * x[1]) + (1090315 * x[2]) + (-2171360 * x[3]) + (3536807 * x[4]) + (1249003 * x[5]) + (2177941 * x[6]) + (900443 * x[7]) + (-1181285 * x[8]) + (-497954 * x[9]) + (-51156 * x[10]) + (3646749 * x[11]) + (533647 * x[12]) + (-689304 * x[13]) + (-299664 * x[14]) + (443147 * x[15]) + (-1715130 * x[16]) + (-444258 * x[17]) + (-936767 * x[18]))/1000000;\n            if(z<0) z=0; else if(z>4000000) z=4000000;\n            b += (-329084 * z); a += (-1820212 * z);\n            z = -1376616 + ((-2162877 * x[0]) + (1076193 * x[1]) + (-686369 * x[2]) + (-593114 * x[3]) + (2557564 * x[4]) + (1005332 * x[5]) + (-1260877 * x[6]) + (1963978 * x[7]) + (1195929 * x[8]) + (-1104501 * x[9]) + (1454214 * x[10]) + (1451236 * x[11]) + (1383789 * x[12]) + (-106544 * x[13]) + (-1321814 * x[14]) + (-1338248 * x[15]) + (170855 * x[16]) + (-1477329 * x[17]) + (2244709 * x[18]))/1000000;\n            if(z<0) z=0; else if(z>4000000) z=4000000;\n            b += (-1018915 * z); a += (624001 * z);\n            z = 316573 + ((-2596221 * x[0]) + (-3235563 * x[1]) + (3634011 * x[2]) + (3875281 * x[3]) + (-954084 * x[4]) + (-733815 * x[5]) + (-1775960 * x[6]) + (1980730 * x[7]) + (798024 * x[8]) + (-163056 * x[9]) + (2670381 * x[10]) + (-2046467 * x[11]) + (1363483 * x[12]) + (-219077 * x[13]) + (635822 * x[14]) + (1556081 * x[15]) + (-411006 * x[16]) + (-1697068 * x[17]) + (1630328 * x[18]))/1000000;\n            if(z<0) z=0; else if(z>4000000) z=4000000;\n            b += (1046822 * z); a += (104119 * z);\n            b /= 1000000; a /= 1000000;\n        }\n    }\n\n    function _anchorBlend(uint256 mean, uint256 value, uint256 k) internal pure returns (uint256) {\n        if (k == WAD) return value;\n        if (value >= mean) return mean + wmul(value-mean,k);\n        uint256 delta = wmul(mean-value,k);\n        return delta < mean ? mean-delta : 0;\n    }\n\n    struct PosteriorInput {\n        uint256 mu; uint256 v; uint256 obs; uint256 spot; uint256 preSpot;\n        uint256 bid; uint256 ask; bool first; uint256 silent; bool buy; uint256 size;\n    }\n    function _posterior(PosteriorInput memory x) internal pure returns (uint256, uint256, uint256) {\n        if (x.mu == 0) x.mu = x.spot;\n        if (x.v < 10000000000) x.v = 10000000000;\n        uint256 lo = wmul(x.preSpot, WAD-x.bid);\n        uint256 hi = wdiv(x.preSpot, WAD-x.ask);\n        if (x.first) {\n            if (x.silent>1 && x.preSpot>0) {\n                uint256 elapsed=x.silent>8?8:x.silent;\n                x.v += 902500000000*(elapsed-1);\n                (x.mu,x.v)=_band(x.mu,x.v,lo,hi);\n            }\n            x.v+=902500000000;\n        }\n        uint256 mRetail = x.mu;\n        uint256 vRetail = x.v;\n        // A missing own-pool trade is a censored price observation.\n        if (x.first && x.preSpot > 0) {\n            (mRetail, vRetail) = _band(x.mu, x.v, lo, hi);\n        }\n        if (!x.first) {\n            // A later print is retail. Only an interior route is an observation\n            // of the other pool, with explicit observation uncertainty.\n            uint256 fee = x.buy ? x.bid : x.ask;\n            if (fee > 30 * BPS) {\n                uint256 normal = x.buy ? wdiv(wmul(x.spot, WAD-fee), WAD-30*BPS)\n                    : wdiv(wmul(x.spot, WAD-30*BPS), WAD-fee);\n                uint256 residual = wdiv(absDiff(normal, x.mu),x.mu);\n                uint256 noise = 9000000000000 + wmul(residual,residual);\n                uint256 k = wdiv(x.v,x.v+noise);\n                return (_blend(x.mu,normal,k),wmul(x.v,WAD-k),0);\n            }\n            return (x.mu,x.v,0);\n        }\n        uint256 e = wdiv(absDiff(x.obs,x.mu),x.mu);\n        uint256 totalV = x.v + 22500000000;\n        uint256 z = wdiv(wmul(e,e),totalV);\n        uint256 density = _powWad(wdiv(WAD,WAD+z/8),4);\n        uint256 odds = wmul(density,wdiv(4000000000000000,_isqrt(totalV*WAD)));\n        if (x.size > 3000000000000000) odds = wmul(odds,4*WAD/10);\n        if (x.silent > 1) odds = wmul(odds,8*WAD/10);\n        uint256 sd = _isqrt(x.v*WAD);\n        uint256 width = wdiv(hi-lo,x.mu);\n        uint256 distance = x.mu<lo?lo-x.mu:(x.mu>hi?x.mu-hi:0);\n        uint256 zBand = wdiv(wdiv(distance,x.mu),sd);\n        uint256 mass = wmul(wdiv(width,width+2*sd),wdiv(WAD,WAD+wmul(zBand,zBand)));\n        if (mass < WAD/100) mass = WAD/100;\n        odds = wdiv(odds,mass);\n        uint256 prob = wdiv(odds,WAD+odds);\n        uint256 kArb = wdiv(x.v,totalV);\n        uint256 mArb = _blend(x.mu,x.obs,kArb);\n        uint256 mean = _blend(mRetail,mArb,prob);\n        uint256 between = wdiv(absDiff(mArb,mRetail),x.mu);\n        uint256 variance = wmul(prob,wmul(x.v,WAD-kArb)) + wmul(WAD-prob,vRetail)\n            + wmul(wmul(prob,WAD-prob),wmul(between,between));\n        if (variance > 100000000000000) variance = 100000000000000;\n        return (mean,variance,prob);\n    }\n    function _blend(uint256 a,uint256 b,uint256 w) internal pure returns(uint256) {\n        return b>=a ? a+wmul(b-a,w) : a-wmul(a-b,w);\n    }\n    function _band(uint256 mu,uint256 v,uint256 lo,uint256 hi) internal pure returns(uint256,uint256) {\n        // Soft interval likelihood avoids discontinuities at quadrature nodes.\n        uint256 sd=wmul(mu,_isqrt(v*WAD));\n        uint256[3] memory acc;\n        for(uint256 j=0;j<7;j++) {\n            uint256 p=j<3 ? (mu>(3-j)*sd?mu-(3-j)*sd:1) : mu+(j-3)*sd;\n            uint256 w=j==3?72:(j==2||j==4?45:(j==1||j==5?10:1));\n            uint256 distance=p<lo?lo-p:(p>hi?p-hi:0);\n            uint256 z=sd>0?wdiv(distance,sd):0;\n            uint256 likelihood=wdiv(WAD,WAD+4*wmul(z,z));\n            w=wmul(w*WAD,likelihood);\n            acc[0]+=w;acc[1]+=wmul(w,p);\n            uint256 d=wdiv(absDiff(p,mu),mu);\n            acc[2]+=wmul(w,wmul(d,d));\n        }\n        uint256 m=wdiv(acc[1],acc[0]);\n        uint256 d=wdiv(absDiff(m,mu),mu);\n        uint256 second=wdiv(acc[2],acc[0]);\n        return(m,second>wmul(d,d)?second-wmul(d,d):10000000000);\n    }\n\n    function _compressTailWithSlope(uint256 fee, uint256 slope) internal pure returns (uint256) {\n        if (fee <= TAIL_KNEE) return fee;\n        return TAIL_KNEE + wmul(fee - TAIL_KNEE, slope);\n    }\n\n    function _powWad(uint256 factor, uint256 exp) internal pure returns (uint256 result) {\n        result = WAD;\n        while (exp > 0) {\n            if (exp & 1 == 1) result = wmul(result, factor);\n            factor = wmul(factor, factor);\n            exp >>= 1;\n        }\n    }\n\n    function _decayCentered(uint256 centered, uint256 decayFactor, uint256 elapsed) internal pure returns (uint256) {\n        uint256 mul = _powWad(decayFactor, elapsed);\n        if (centered >= WAD) { return WAD + wmul(centered - WAD, mul); }\n        uint256 below = wmul(WAD - centered, mul);\n        return below < WAD ? WAD - below : 0;\n    }\n\n    // Floor square root: bit-length seed and seven Newton steps (all uint256).\n    function _isqrt(uint256 x) internal pure returns (uint256 r) {\n        if (x == 0) return 0;\n        unchecked {\n            uint256 y = x;\n            r = 1;\n            if (y >> 128 != 0) { y >>= 128; r <<= 64; }\n            if (y >> 64 != 0) { y >>= 64; r <<= 32; }\n            if (y >> 32 != 0) { y >>= 32; r <<= 16; }\n            if (y >> 16 != 0) { y >>= 16; r <<= 8; }\n            if (y >> 8 != 0) { y >>= 8; r <<= 4; }\n            if (y >> 4 != 0) { y >>= 4; r <<= 2; }\n            if (y >> 2 != 0) { r <<= 1; }\n            r = (r + x / r) >> 1;\n            r = (r + x / r) >> 1;\n            r = (r + x / r) >> 1;\n            r = (r + x / r) >> 1;\n            r = (r + x / r) >> 1;\n            r = (r + x / r) >> 1;\n            r = (r + x / r) >> 1;\n            uint256 t = x / r;\n            return r < t ? r : t;\n        }\n    }\n\n    function getName() external pure override returns (string memory) { return \"censored_10\"; }\n}\n","code_sha256":"e1ea8fcb105e00754d17061efbe4b299a634b0fcc1b5c293d65b631654b7204b","protocol":{"repository_commit":"6b6921f8d463314aa7c96234e1be25a25245f704","wheel_sha256":"aedb68280aca34c110968f00148387c95885207913fb2cf19a1ab4c5cfd6887a","IB_code_sha256":"301941829a44bb60977bb28181a5e4bfa6544f3696763f987054789b2611d686","candidate_port_sha256":"b29cd2a078b4c3fc57945a79e927624dd346c44d8cc149dae43f4929aa6d736b","run":"each arm separately, run_batch(arm, VanillaStrategy, configs, 8), 16 requested chunks of 64 seeds; 16 IB and 15 CAND chunks completed. CAND chunk 8 interrupted, not retried; no search","config":"MatchRunner._build_configs draw order and baseline ranges, numpy.default_rng(market seed); size uniform[19,21], rate uniform[0.6,1.0], sigma uniform[0.000882,0.001008]; 10000 steps, initial price 100, reserves 100/10000, mu 0, dt 1, retail size sigma 1.2, buy probability 0.5","se":"sample standard deviation of paired differences / sqrt(n), ddof=1","quartiles":"sort IB submission retail_volume_y ascending, ties seed ascending; four groups of 256 over all 1024 completed IB markets; summaries use available paired seeds within each group","mean_scope":"mean_edge, volume deltas and paired statistics use the 960 completed pairs only","gas":"Completed chunks only: IB 1024 markets, CAND 960 markets; aborted CAND chunk 8 unobserved. gas_stats() reset before every arm/chunk; counters summed, max_ok_gas maximized; both Submission and Baseline reported; peak is Submission afterSwap","search":"none"}}