# f3: frozen TC-A confirmation versus qt1 **Credit: Taylor (gtmcknight), original policy, filter, qm tables, and replica research.** [S1] [S2] Local engine measurements only. Across all 128 assigned seeds, TC-A minus qt1 has mean edge difference **0.502545234**, SE **0.049050650**. These are local simulation edges, not leaderboard scores. No tuning or strategy edits were made. ## Platform, setup, and integrity Observed platform: `Linux x86_64` (`uname -s -m`). Checkout: `test/scratch/challenge`, pinned at `6b6921f8d463314aa7c96234e1be25a25245f704`. All temporary state stayed under `test/scratch/`; paths below are relative to the checkout. `scratch/setup.sh` was fetched unchanged from the pinned source [S3] and executed once. Setup exit **0**. Its complete output was: ```text amm_sim_rs.abi3.so sha256 ff88b6353c2aad7342f0a26194f7347e78b9c3b38d683a7449006d423978cd14 Validating strategy... Compiling strategy... Strategy 'StarterStrategy' validated successfully! ``` Challenge compiler: Solidity 0.8.24, optimizer enabled with 200 runs, viaIR, Paris EVM [S6]. Compilation used the supplied `check.compiled` helper [S4]. Observed hash/runtime lines: ```text Candidate.sol sha256 b87234c89e094f4955578417c1266129b0f96e6dfda68e3fb8866e00eeda71a2 runtime 21102 B qt1.sol sha256 c68887cff61180e12ba2b1ceb333edf76a830f91f63b5d775a8806fb9ec08aca runtime 20605 B ``` Both source hashes match the task pins; TC-A runtime equals the required 21,102 B and both runtimes meet the 24,576 B limit. Compile exit **0**. TC-A validation exit **0**, with complete output: ```text Validating strategy... Compiling strategy... Strategy 'TaylorTwoCompQmTrim2' validated successfully! ``` Fetched helper sha256 values (local measurements): ```text 2bac901bd8986b09f10fe00b649dab35f335267ef12c5e4e527ede6b14c5a4b1 scratch/setup.sh cbcfea4c793ac7b78e0ee27dd723c9e6af4d9d704a70a8038c985acffffcfed1 scratch/check.py 306c529d0c84c88610c1e8a9a6aa34634534b73ab83312e9155ef14476e46300 scratch/engine.py ``` ## Execution and commands The unchanged runner [S5] ran each arm alone versus 30 bps VanillaStrategy [S9]: `amm_sim_rs.run_batch(X, VanillaStrategy, configs, 8)`. Runner `candidate` = TC-A, `baseline` = qt1; gas role `Baseline` = VanillaStrategy. Configs match `MatchRunner._build_configs` (seeded NumPy RNG; size/rate/volatility draw order) [S7], with canonical 10,000 steps and baseline variance [S8]. Gas counters were reset/read separately per arm [S5]. Only **9803444..9803571 inclusive** were simulated: eight chunks, once each, no retries or other seeds. Freshness was supplied by the task, without an available global registry to audit. Validation deployed/initialized only. Command ledger (routine reads omitted). `K` = `https://raw.githubusercontent.com/identity-md-launches/goal-3170-beat-network-s-amm-entry/4eb3e985fd31e3cd17832501b95b6d2491aca73d`. Fetches and source checks succeeded. | Command | Exit | |---|---:| | `uname -s -m` | 0 | | `git clone https://github.com/benedictbrady/amm-challenge test/scratch/challenge` | 0 | | `git checkout 6b6921f8d463314aa7c96234e1be25a25245f704` | 0 | | `curl -fLsS K/tools/setup.sh -o scratch/setup.sh` | 0 | | `curl -fLsS K/contracts/Candidate.sol -o scratch/Candidate.sol` | 0 | | `curl -fLsS K/reference/qt1/Strategy.sol -o scratch/qt1.sol` | 0 | | `curl -fLsS K/tools/check.py -o scratch/check.py` | 0 | | `curl -fLsS K/tools/engine.py -o scratch/engine.py` | 0 | | `sha256sum scratch/Candidate.sol scratch/qt1.sol` | 0 | | `timeout 470 sh scratch/setup.sh` | 0 | | `. scratch/env.sh && timeout 470 python -` (stdin imports `scratch/check.py`, calls `compiled` for both sources, asserts hashes, TC-A size = 21102 and both sizes <= 24576) | 0 | | `. scratch/env.sh && timeout 470 amm-match validate scratch/Candidate.sol` | 0 | | `. scratch/env.sh && timeout 470 python scratch/engine.py scratch/Candidate.sol scratch/qt1.sol 9803444 9803460 scratch/sf3_9803444_9803460.json` | 0 | | `. scratch/env.sh && timeout 470 python scratch/engine.py scratch/Candidate.sol scratch/qt1.sol 9803460 9803476 scratch/sf3_9803460_9803476.json` | 0 | | `. scratch/env.sh && timeout 470 python scratch/engine.py scratch/Candidate.sol scratch/qt1.sol 9803476 9803492 scratch/sf3_9803476_9803492.json` | 0 | | `. scratch/env.sh && timeout 470 python scratch/engine.py scratch/Candidate.sol scratch/qt1.sol 9803492 9803508 scratch/sf3_9803492_9803508.json` | 0 | | `. scratch/env.sh && timeout 470 python scratch/engine.py scratch/Candidate.sol scratch/qt1.sol 9803508 9803524 scratch/sf3_9803508_9803524.json` | 0 | | `. scratch/env.sh && timeout 470 python scratch/engine.py scratch/Candidate.sol scratch/qt1.sol 9803524 9803540 scratch/sf3_9803524_9803540.json` | 0 | | `. scratch/env.sh && timeout 470 python scratch/engine.py scratch/Candidate.sol scratch/qt1.sol 9803540 9803556 scratch/sf3_9803540_9803556.json` | 0 | | `. scratch/env.sh && timeout 470 python scratch/engine.py scratch/Candidate.sol scratch/qt1.sol 9803556 9803572 scratch/sf3_9803556_9803572.json` | 0 | Stdout/stderr: sibling `.log`; exit codes: `.exit`. The runner exclusively created each JSON before simulation. No command exceeded eight minutes. Runner seconds exclude VanillaStrategy compilation: | Seed range (end exclusive) | TC-A seconds | qt1 seconds | Runner seconds | |---|---:|---:|---:| | 9803444..9803460 | 12.172 | 11.726 | 23.931 | | 9803460..9803476 | 12.362 | 12.429 | 24.823 | | 9803476..9803492 | 11.182 | 11.846 | 23.059 | | 9803492..9803508 | 11.363 | 11.997 | 23.389 | | 9803508..9803524 | 12.050 | 12.618 | 24.699 | | 9803524..9803540 | 11.662 | 12.881 | 24.579 | | 9803540..9803556 | 12.423 | 12.662 | 25.121 | | 9803556..9803572 | 11.801 | 12.433 | 24.269 | ## Paired results `diff = TC-A edge - qt1 edge`. Mean is over seeds; `se = sample sd(diff) / sqrt(n)` (sample denominator `n-1`). Worst five are ordered by increasing diff, then seed. ```json {"n":128,"mean_diff":0.5025452344454293,"se":0.04905064989699061,"worst5":[[9803509,-1.03147340259369],[9803459,-0.9393843353102511],[9803510,-0.6109541214268575],[9803448,-0.607562128369409],[9803565,-0.4806390672154066]]} ``` Per-seed table, rounded to six decimals; the JSON block below preserves the engine float values. | seed | TC-A edge | qt1 edge | diff | |---:|---:|---:|---:| |9803444|526.652009|526.863734|-0.211725| |9803445|501.303064|501.491371|-0.188308| |9803446|493.486786|493.687371|-0.200584| |9803447|456.042331|455.662988|0.379343| |9803448|565.598606|566.206168|-0.607562| |9803449|372.648450|372.438289|0.210160| |9803450|455.062434|454.550097|0.512338| |9803451|543.119960|541.428036|1.691923| |9803452|470.355762|469.613069|0.742693| |9803453|406.010327|405.582931|0.427396| |9803454|719.179252|718.739138|0.440114| |9803455|420.240683|419.809739|0.430944| |9803456|616.152365|615.012852|1.139513| |9803457|576.631085|576.864429|-0.233344| |9803458|575.639318|574.507801|1.131517| |9803459|524.332993|525.272377|-0.939384| |9803460|638.733863|638.407925|0.325939| |9803461|546.296331|545.420680|0.875651| |9803462|619.033585|619.416696|-0.383111| |9803463|512.418697|511.630639|0.788058| |9803464|517.408929|516.570410|0.838520| |9803465|451.934763|451.182947|0.751816| |9803466|643.325149|642.793825|0.531324| |9803467|437.350666|437.060298|0.290367| |9803468|727.562456|728.003929|-0.441472| |9803469|582.758421|582.074408|0.684013| |9803470|558.609088|558.957631|-0.348543| |9803471|555.998665|554.908217|1.090448| |9803472|738.730538|736.221320|2.509218| |9803473|668.702344|667.336839|1.365505| |9803474|495.531184|495.224254|0.306930| |9803475|479.631024|479.031523|0.599501| |9803476|517.378447|516.263628|1.114819| |9803477|652.714442|651.598912|1.115530| |9803478|509.675390|509.063425|0.611965| |9803479|455.504324|454.459128|1.045197| |9803480|494.159975|493.792243|0.367733| |9803481|628.829959|628.894217|-0.064258| |9803482|580.601131|580.259635|0.341496| |9803483|490.773309|489.214044|1.559265| |9803484|617.442530|616.500552|0.941979| |9803485|470.749407|470.492187|0.257220| |9803486|575.295728|574.629382|0.666346| |9803487|572.866554|571.475300|1.391254| |9803488|396.281853|395.674302|0.607551| |9803489|484.371370|483.013685|1.357685| |9803490|546.428606|546.191452|0.237154| |9803491|536.977911|536.035506|0.942404| |9803492|432.136906|431.296873|0.840034| |9803493|596.110863|595.351064|0.759799| |9803494|517.841212|517.433461|0.407752| |9803495|648.401531|647.716677|0.684854| |9803496|387.318268|387.012925|0.305343| |9803497|462.266128|461.833704|0.432424| |9803498|627.883818|626.847677|1.036140| |9803499|563.249028|562.453236|0.795792| |9803500|568.678667|568.152857|0.525810| |9803501|497.735328|497.746669|-0.011342| |9803502|581.716083|580.906288|0.809795| |9803503|533.421872|532.977996|0.443876| |9803504|515.928017|516.146762|-0.218745| |9803505|594.639208|594.131436|0.507772| |9803506|689.403085|688.418908|0.984177| |9803507|424.482466|423.475919|1.006547| |9803508|585.036529|585.136525|-0.099996| |9803509|462.992778|464.024252|-1.031473| |9803510|563.318104|563.929059|-0.610954| |9803511|491.723714|491.033314|0.690400| |9803512|353.965701|353.933249|0.032452| |9803513|450.620884|450.267197|0.353687| |9803514|579.903571|579.974293|-0.070722| |9803515|430.764424|430.018667|0.745758| |9803516|611.916543|611.691117|0.225426| |9803517|615.269427|614.830939|0.438488| |9803518|563.974971|563.373443|0.601528| |9803519|417.400587|417.390022|0.010565| |9803520|490.382871|490.671849|-0.288978| |9803521|644.553968|644.180050|0.373917| |9803522|375.952153|375.514546|0.437607| |9803523|568.675262|568.543443|0.131819| |9803524|449.544757|448.739836|0.804920| |9803525|573.531400|572.715260|0.816141| |9803526|450.853138|450.265832|0.587307| |9803527|512.848597|512.524121|0.324476| |9803528|527.487919|526.700082|0.787837| |9803529|525.619520|525.057319|0.562201| |9803530|549.904403|548.736566|1.167837| |9803531|589.962344|590.130239|-0.167895| |9803532|459.779800|459.334553|0.445247| |9803533|426.644138|426.344399|0.299739| |9803534|588.371017|587.821758|0.549260| |9803535|467.091997|466.251078|0.840919| |9803536|540.063120|539.922227|0.140893| |9803537|409.939167|409.162172|0.776995| |9803538|430.543100|429.898858|0.644242| |9803539|461.362348|460.607789|0.754559| |9803540|589.458808|589.410939|0.047869| |9803541|410.273920|409.812811|0.461108| |9803542|625.772548|624.434685|1.337863| |9803543|505.426666|504.835468|0.591198| |9803544|648.984805|648.533582|0.451223| |9803545|456.636310|456.274733|0.361577| |9803546|591.303248|591.096232|0.207016| |9803547|607.805937|607.159317|0.646621| |9803548|518.496809|517.740466|0.756343| |9803549|422.911524|422.886836|0.024687| |9803550|536.533194|536.358724|0.174469| |9803551|329.832113|330.128837|-0.296724| |9803552|726.436656|725.464066|0.972590| |9803553|563.933136|563.524957|0.408179| |9803554|511.574189|510.416164|1.158025| |9803555|494.125397|493.764675|0.360722| |9803556|601.893275|601.200952|0.692323| |9803557|679.275463|678.428953|0.846511| |9803558|534.172213|533.957881|0.214332| |9803559|564.881302|564.510697|0.370605| |9803560|500.444746|499.798234|0.646513| |9803561|596.967365|597.031967|-0.064602| |9803562|463.120097|462.225493|0.894604| |9803563|490.897997|489.909663|0.988334| |9803564|496.291437|495.652786|0.638651| |9803565|447.824743|448.305382|-0.480639| |9803566|510.586359|510.599017|-0.012658| |9803567|413.259170|412.757724|0.501446| |9803568|401.341759|401.680545|-0.338786| |9803569|595.219072|593.831420|1.387652| |9803570|763.727273|761.553070|2.174203| |9803571|569.694938|569.077170|0.617767| The JSON columns specify the order of every row: ```json {"columns":["seed","TC-A edge","qt1 edge","diff"],"rows":[[9803444,526.6520090637437,526.863734082104,-0.21172501836031188],[9803445,501.30306366616327,501.49137125208875,-0.1883075859254859],[9803446,493.4867863615233,493.68737078994667,-0.2005844284233831],[9803447,456.04233131714733,455.66298810530066,0.37934321184667397],[9803448,565.5986062950037,566.2061684233731,-0.607562128369409],[9803449,372.64844954303715,372.43828909730547,0.21016044573167392],[9803450,455.06243426532427,454.55009657126215,0.5123376940621256],[9803451,543.1199599317024,541.4280364572915,1.6919234744109417],[9803452,470.3557622511732,469.6130690711926,0.742693179980563],[9803453,406.01032727939315,405.58293121028674,0.4273960691064076],[9803454,719.1792515889526,718.7391380469373,0.44011354201529684],[9803455,420.2406834925658,419.8097391569599,0.4309443356058864],[9803456,616.1523652933795,615.0128522810305,1.1395130123489707],[9803457,576.6310854775417,576.864429070676,-0.23334359313435016],[9803458,575.6393177457403,574.5078005097826,1.1315172359577446],[9803459,524.3329928729304,525.2723772082406,-0.9393843353102511],[9803460,638.7338634134268,638.4079246914464,0.32593872198037843],[9803461,546.2963311482971,545.4206798093165,0.8756513389805605],[9803462,619.0335849256528,619.416695788018,-0.3831108623652426],[9803463,512.4186972314379,511.6306389882555,0.7880582431824337],[9803464,517.4089294349899,516.5704097146961,0.8385197202937889],[9803465,451.93476305435064,451.1829474379864,0.7518156163642402],[9803466,643.325149054796,642.7938249141451,0.5313241406508951],[9803467,437.3506656663939,437.0602983096404,0.29036735675350656],[9803468,727.5624564669453,728.0039287482239,-0.4414722812786067],[9803469,582.7584205671302,582.0744080561436,0.6840125109865767],[9803470,558.6090878922697,558.9576310380224,-0.3485431457527284],[9803471,555.9986648321337,554.9082166117322,1.0904482204015267],[9803472,738.7305379284994,736.2213199503113,2.509217978188076],[9803473,668.7023436872662,667.3368386993614,1.365504987904842],[9803474,495.5311839050585,495.22425361706763,0.3069302879908946],[9803475,479.6310240379695,479.0315230877702,0.5995009501992854],[9803476,517.3784471276831,516.2636277641798,1.1148193635033294],[9803477,652.7144422344853,651.5989119566518,1.1155302778335],[9803478,509.6753902033689,509.06342490275034,0.6119653006185786],[9803479,455.5043243142391,454.45912753572804,1.0451967785110696],[9803480,494.1599752172762,493.7922425213688,0.36773269590742075],[9803481,628.8299588290355,628.8942168528926,-0.06425802385706447],[9803482,580.6011306389888,580.2596345080101,0.3414961309787259],[9803483,490.7733091946744,489.2140441988194,1.5592649958550169],[9803484,617.4425302889925,616.5005515872996,0.9419787016929604],[9803485,470.74940709246107,470.49218746202513,0.25721963043594087],[9803486,575.2957279259243,574.6293815669098,0.6663463590144829],[9803487,572.8665535250403,571.4752999717286,1.3912535533116852],[9803488,396.28185349937377,395.6743023001777,0.6075511991960525],[9803489,484.3713695684873,483.01368457387576,1.3576849946115317],[9803490,546.4286064391729,546.1914522123847,0.2371542267882205],[9803491,536.9779106037138,536.0355063420141,0.9424042616997212],[9803492,432.13690617323357,431.2968725114282,0.8400336618053643],[9803493,596.110863091015,595.3510639725109,0.75979911850402],[9803494,517.8412123317106,517.4334605323845,0.4077517993260926],[9803495,648.4015310299047,647.716677478916,0.6848535509886915],[9803496,387.31826845397757,387.012925036544,0.3053434174335621],[9803497,462.26612804063217,461.8337036359904,0.4324244046417789],[9803498,627.8838176168628,626.8476774842871,1.0361401325756106],[9803499,563.2490278558819,562.4532361763969,0.795791679484978],[9803500,568.6786672960574,568.152857162466,0.5258101335913352],[9803501,497.7353275681792,497.7466691748064,-0.011341606627240708],[9803502,581.7160831281841,580.9062884507812,0.8097946774029197],[9803503,533.4218715095116,532.977995702931,0.44387580658053594],[9803504,515.928016894288,516.1467619134751,-0.2187450191870539],[9803505,594.6392078811473,594.131436271185,0.5077716099623331],[9803506,689.4030851097592,688.4189084417152,0.9841766680440287],[9803507,424.48246584460196,423.4759187754242,1.0065470691777705],[9803508,585.0365292619587,585.1365248974175,-0.09999563545886758],[9803509,462.9927783131634,464.0242517157571,-1.03147340259369],[9803510,563.3181044911822,563.9290586126091,-0.6109541214268575],[9803511,491.72371373857027,491.0333139186255,0.6903998199447869],[9803512,353.9657008676369,353.9332487890597,0.03245207857719379],[9803513,450.6208837852589,450.2671969002001,0.35368688505883483],[9803514,579.9035707721572,579.9742928450326,-0.07072207287535548],[9803515,430.7644241751581,430.01866667110465,0.7457575040534721],[9803516,611.9165431466473,611.6911171551701,0.2254259914772092],[9803517,615.2694273349465,614.8309388908231,0.43848844412343624],[9803518,563.9749712627417,563.3734433586213,0.6015279041204167],[9803519,417.4005871251426,417.39002195446477,0.0105651706778076],[9803520,490.38287078359554,490.6718490233114,-0.2889782397158456],[9803521,644.5539677299057,644.1800504894256,0.37391724048006836],[9803522,375.9521533211452,375.5145460794894,0.4376072416558259],[9803523,568.6752617557444,568.5434432409687,0.13181851477565942],[9803524,449.54475669599736,448.7398364254867,0.8049202705106495],[9803525,573.5314002571147,572.7152595163267,0.8161407407880006],[9803526,450.8531383171077,450.2658316046191,0.587306712488612],[9803527,512.8485969656538,512.5241208225184,0.3244761431353709],[9803528,527.4879190017978,526.7000822012601,0.7878368005376615],[9803529,525.6195196444413,525.0573188038276,0.5622008406137411],[9803530,549.9044032182001,548.7365658764452,1.1678373417548755],[9803531,589.9623439489956,590.1302386214356,-0.16789467244007028],[9803532,459.77980015802933,459.3345530970921,0.4452470609372199],[9803533,426.644138461421,426.34439911803116,0.299739343389831],[9803534,588.3710174137176,587.8217576606504,0.5492597530671901],[9803535,467.09199746456767,466.25107844304387,0.8409190215238027],[9803536,540.0631203655847,539.9222274503114,0.14089291527329806],[9803537,409.9391671992459,409.16217177491006,0.776995424335837],[9803538,430.54310019049484,429.8988582565151,0.6442419339797425],[9803539,461.36234786294307,460.6077887892038,0.7545590737392445],[9803540,589.4588077710532,589.4109386064955,0.047869164557710064],[9803541,410.2739195334856,409.81281128443567,0.4611082490499143],[9803542,625.7725483991812,624.4346853706431,1.337863028538095],[9803543,505.42666596153515,504.8354675819254,0.5911983796097502],[9803544,648.9848048866718,648.5335820398907,0.4512228467810928],[9803545,456.63631001374824,456.2747327805847,0.36157723316352985],[9803546,591.3032484823307,591.096232347377,0.20701613495361926],[9803547,607.8059374376381,607.1593166803283,0.6466207573098472],[9803548,518.4968087776082,517.7404661821375,0.7563425954706418],[9803549,422.91152363813114,422.8868362682517,0.02468736987941611],[9803550,536.53319372888,536.3587244459941,0.17446928288586605],[9803551,329.8321128779632,330.1288373752528,-0.2967244972895742],[9803552,726.4366564736963,725.464066203364,0.9725902703322618],[9803553,563.9331358680478,563.5249570063729,0.4081788616748554],[9803554,511.5741886472004,510.41616392887335,1.1580247183270558],[9803555,494.12539693540094,493.7646751270535,0.36072180834742085],[9803556,601.8932747870618,601.2009521064978,0.6923226805640752],[9803557,679.2754634616459,678.4289526554988,0.8465108061470801],[9803558,534.1722132886439,533.9578811407627,0.21433214788123678],[9803559,564.8813017480227,564.5106968382257,0.3706049097969526],[9803560,500.4447460991651,499.79823355829456,0.6465125408705603],[9803561,596.9673652303466,597.0319670064633,-0.06460177611677409],[9803562,463.12009680163186,462.2254930790227,0.8946037226091335],[9803563,490.89799681486363,489.90966263470676,0.988334180156869],[9803564,496.2914366801632,495.652785968076,0.6386507120872125],[9803565,447.8247426044694,448.3053816716848,-0.4806390672154066],[9803566,510.5863587755531,510.5990171632417,-0.012658387688588846],[9803567,413.25917028515687,412.7577239633079,0.5014463218489595],[9803568,401.341758879497,401.6805448421999,-0.3387859627029002],[9803569,595.2190715486713,593.8314197314075,1.3876518172637589],[9803570,763.727272796617,761.5530695472522,2.174203249364723],[9803571,569.6949378402126,569.0771704019945,0.6177674382180385]]} ``` ## Submission afterSwap gas For `Submission` / `afterSwap`: counts are summed, peak = max(`max_ok_gas`), mean = `sum(sum_ok_gas)/sum(ok)`. All calls succeeded (`ok = calls`). ```json {"TC-A":{"calls":1388637,"peak":202676,"mean":131116.19450727585,"oog":0,"reverts":0},"qt1":{"calls":1396572,"peak":209156,"mean":138012.51836926417,"oog":0,"reverts":0}} ``` Both measured peaks are below 245,000 gas; both arms have zero OOG and zero reverts. Raw counters also show zero other halts, transaction errors, and bad returns. Raw `amm_sim_rs.gas_stats()` for every chunk and arm, including all roles and callbacks (values retained verbatim; JSON whitespace compacted): ```json {"start":9803444,"end":9803460,"candidate":[{"role":"Baseline","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":21796,"sum_ok_gas":348736,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":169554,"ok":169554,"max_ok_gas":22592,"sum_ok_gas":3825568056,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":16,"ok":16,"max_ok_gas":21526,"sum_ok_gas":344416,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":92165,"sum_ok_gas":1474640,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":170591,"ok":170591,"max_ok_gas":202200,"sum_ok_gas":22411302633,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":16,"ok":16,"max_ok_gas":21648,"sum_ok_gas":346368,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}],"baseline":[{"role":"Baseline","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":21796,"sum_ok_gas":348736,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":169688,"ok":169688,"max_ok_gas":22592,"sum_ok_gas":3828598600,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":16,"ok":16,"max_ok_gas":21526,"sum_ok_gas":344416,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":90858,"sum_ok_gas":1453728,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":171723,"ok":171723,"max_ok_gas":208844,"sum_ok_gas":23733779969,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":16,"ok":16,"max_ok_gas":21579,"sum_ok_gas":345264,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}]} ``` ```json {"start":9803460,"end":9803476,"candidate":[{"role":"Baseline","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":21796,"sum_ok_gas":348736,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":178274,"ok":178274,"max_ok_gas":22592,"sum_ok_gas":4022365660,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":16,"ok":16,"max_ok_gas":21526,"sum_ok_gas":344416,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":92165,"sum_ok_gas":1474640,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":178902,"ok":178902,"max_ok_gas":201325,"sum_ok_gas":23369342215,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":16,"ok":16,"max_ok_gas":21648,"sum_ok_gas":346368,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}],"baseline":[{"role":"Baseline","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":21796,"sum_ok_gas":348736,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":178463,"ok":178463,"max_ok_gas":22592,"sum_ok_gas":4026626140,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":16,"ok":16,"max_ok_gas":21526,"sum_ok_gas":344416,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":90858,"sum_ok_gas":1453728,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":179731,"ok":179731,"max_ok_gas":209156,"sum_ok_gas":24737513122,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":16,"ok":16,"max_ok_gas":21579,"sum_ok_gas":345264,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}]} ``` ```json {"start":9803476,"end":9803492,"candidate":[{"role":"Baseline","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":21796,"sum_ok_gas":348736,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":175608,"ok":175608,"max_ok_gas":22592,"sum_ok_gas":3962199624,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":16,"ok":16,"max_ok_gas":21526,"sum_ok_gas":344416,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":92165,"sum_ok_gas":1474640,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":176705,"ok":176705,"max_ok_gas":193997,"sum_ok_gas":23129978787,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":16,"ok":16,"max_ok_gas":21648,"sum_ok_gas":346368,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}],"baseline":[{"role":"Baseline","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":21796,"sum_ok_gas":348736,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":175798,"ok":175798,"max_ok_gas":22592,"sum_ok_gas":3966481112,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":16,"ok":16,"max_ok_gas":21526,"sum_ok_gas":344416,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":90858,"sum_ok_gas":1453728,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":177551,"ok":177551,"max_ok_gas":208098,"sum_ok_gas":24474098324,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":16,"ok":16,"max_ok_gas":21579,"sum_ok_gas":345264,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}]} ``` ```json {"start":9803492,"end":9803508,"candidate":[{"role":"Baseline","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":21796,"sum_ok_gas":348736,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":174610,"ok":174610,"max_ok_gas":22592,"sum_ok_gas":3939672056,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":16,"ok":16,"max_ok_gas":21526,"sum_ok_gas":344416,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":92165,"sum_ok_gas":1474640,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":175713,"ok":175713,"max_ok_gas":201496,"sum_ok_gas":23008419474,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":16,"ok":16,"max_ok_gas":21648,"sum_ok_gas":346368,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}],"baseline":[{"role":"Baseline","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":21796,"sum_ok_gas":348736,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":174875,"ok":174875,"max_ok_gas":22592,"sum_ok_gas":3945648916,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":16,"ok":16,"max_ok_gas":21526,"sum_ok_gas":344416,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":90858,"sum_ok_gas":1453728,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":176857,"ok":176857,"max_ok_gas":207199,"sum_ok_gas":24384614940,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":16,"ok":16,"max_ok_gas":21579,"sum_ok_gas":345264,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}]} ``` ```json {"start":9803508,"end":9803524,"candidate":[{"role":"Baseline","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":21796,"sum_ok_gas":348736,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":166285,"ok":166285,"max_ok_gas":22592,"sum_ok_gas":3751827968,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":16,"ok":16,"max_ok_gas":21526,"sum_ok_gas":344416,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":92165,"sum_ok_gas":1474640,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":167476,"ok":167476,"max_ok_gas":202676,"sum_ok_gas":22040483401,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":16,"ok":16,"max_ok_gas":21648,"sum_ok_gas":346368,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}],"baseline":[{"role":"Baseline","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":21796,"sum_ok_gas":348736,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":166270,"ok":166270,"max_ok_gas":22592,"sum_ok_gas":3751493036,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":16,"ok":16,"max_ok_gas":21526,"sum_ok_gas":344416,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":90858,"sum_ok_gas":1453728,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":168708,"ok":168708,"max_ok_gas":208420,"sum_ok_gas":23354467208,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":16,"ok":16,"max_ok_gas":21579,"sum_ok_gas":345264,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}]} ``` ```json {"start":9803524,"end":9803540,"candidate":[{"role":"Baseline","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":21796,"sum_ok_gas":348736,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":169002,"ok":169002,"max_ok_gas":22592,"sum_ok_gas":3813153396,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":16,"ok":16,"max_ok_gas":21526,"sum_ok_gas":344416,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":92165,"sum_ok_gas":1474640,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":170260,"ok":170260,"max_ok_gas":195460,"sum_ok_gas":22377706466,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":16,"ok":16,"max_ok_gas":21648,"sum_ok_gas":346368,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}],"baseline":[{"role":"Baseline","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":21796,"sum_ok_gas":348736,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":169141,"ok":169141,"max_ok_gas":22592,"sum_ok_gas":3816286712,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":16,"ok":16,"max_ok_gas":21526,"sum_ok_gas":344416,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":90858,"sum_ok_gas":1453728,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":171048,"ok":171048,"max_ok_gas":208741,"sum_ok_gas":23652289343,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":16,"ok":16,"max_ok_gas":21579,"sum_ok_gas":345264,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}]} ``` ```json {"start":9803540,"end":9803556,"candidate":[{"role":"Baseline","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":21796,"sum_ok_gas":348736,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":174117,"ok":174117,"max_ok_gas":22592,"sum_ok_gas":3928563564,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":16,"ok":16,"max_ok_gas":21526,"sum_ok_gas":344416,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":92165,"sum_ok_gas":1474640,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":174346,"ok":174346,"max_ok_gas":202311,"sum_ok_gas":22840733102,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":16,"ok":16,"max_ok_gas":21648,"sum_ok_gas":346368,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}],"baseline":[{"role":"Baseline","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":21796,"sum_ok_gas":348736,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":174171,"ok":174171,"max_ok_gas":22592,"sum_ok_gas":3929779284,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":16,"ok":16,"max_ok_gas":21526,"sum_ok_gas":344416,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":90858,"sum_ok_gas":1453728,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":175292,"ok":175292,"max_ok_gas":208170,"sum_ok_gas":24174731909,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":16,"ok":16,"max_ok_gas":21579,"sum_ok_gas":345264,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}]} ``` ```json {"start":9803556,"end":9803572,"candidate":[{"role":"Baseline","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":21796,"sum_ok_gas":348736,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":173464,"ok":173464,"max_ok_gas":22592,"sum_ok_gas":3913835108,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":16,"ok":16,"max_ok_gas":21526,"sum_ok_gas":344416,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":92165,"sum_ok_gas":1474640,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":174644,"ok":174644,"max_ok_gas":202487,"sum_ok_gas":22894832914,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":16,"ok":16,"max_ok_gas":21648,"sum_ok_gas":346368,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}],"baseline":[{"role":"Baseline","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":21796,"sum_ok_gas":348736,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":173612,"ok":173612,"max_ok_gas":22592,"sum_ok_gas":3917176396,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":16,"ok":16,"max_ok_gas":21526,"sum_ok_gas":344416,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":16,"ok":16,"max_ok_gas":90858,"sum_ok_gas":1453728,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":175662,"ok":175662,"max_ok_gas":208732,"sum_ok_gas":24232923989,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":16,"ok":16,"max_ok_gas":21579,"sum_ok_gas":345264,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}]} ``` ## Problems and checks No setup, compile, validation, or chunk failures; no reruns. Replica gates P/Q/F and leaderboard performance were outside this shard. Initial report generation exited 1 at its 40,000-byte guard (40,472 bytes); prose was shortened without changing measurements. Report regeneration and final checks exited 0. Local checks: 128 unique consecutive assigned seeds per arm; eight `done`/exit-0 outputs; source hashes/runtime sizes; paired statistics recomputed from edges; gas aggregates recomputed from counters; embedded JSON parsed; URL quotes verified; output limits checked. These checks provide no independent certification. ## Sources Pinned sources support implementation facts; numeric outcomes/exits are local observations. Exact passages: `sources.json`. [S1]: https://raw.githubusercontent.com/identity-md-launches/goal-3170-beat-network-s-amm-entry/4eb3e985fd31e3cd17832501b95b6d2491aca73d/contracts/Candidate.sol [S2]: https://raw.githubusercontent.com/identity-md-launches/goal-3170-beat-network-s-amm-entry/4eb3e985fd31e3cd17832501b95b6d2491aca73d/reference/qt1/Strategy.sol [S3]: https://raw.githubusercontent.com/identity-md-launches/goal-3170-beat-network-s-amm-entry/4eb3e985fd31e3cd17832501b95b6d2491aca73d/tools/setup.sh [S4]: https://raw.githubusercontent.com/identity-md-launches/goal-3170-beat-network-s-amm-entry/4eb3e985fd31e3cd17832501b95b6d2491aca73d/tools/check.py [S5]: https://raw.githubusercontent.com/identity-md-launches/goal-3170-beat-network-s-amm-entry/4eb3e985fd31e3cd17832501b95b6d2491aca73d/tools/engine.py [S6]: https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_competition/evm/compiler.py [S7]: https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_competition/competition/match.py [S8]: https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_competition/competition/config.py [S9]: https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/contracts/src/VanillaStrategy.sol