# Port-2 (TaylorGaussianPlain2) confirm run, real engine, seeds 9609216..9609471 Policy by Taylor (gtmcknight), https://github.com/gtmcknight/amm-sim commit 4812a638 research/solved. Candidate source: artifact e8c967d6... (port-2 result). Engine: amm_sim_rs 0.1.0.post1 (wheel sha256 aedb6828...), amm-challenge 6b6921f8, each strategy alone vs 30 bps VanillaStrategy, run_batch(X, Vanilla, configs, 8); configs per MatchRunner._build_configs logic (default_rng(seed) draws size, rate, sigma; sim seed = seed), score = `edges['submission']`. Each seed run exactly once per strategy, chunks of 32 (the first attempt of t03 chunk 9609440 was killed by my 8-minute command timeout before producing any result, so it was rerun; no result of it was seen). Setup: cloned amm-challenge inside test/scratch/, ran the 8-line setup script taken from port-3's Setup section (artifact 0dbcc10a...), passed. ## 1. Candidate - Block taken: the only ```solidity block in the port-2 artifact (section `### Strategy.sol`, lines 80-279 of the artifact), saved byte-exact as contracts/src/Strategy.sol. No hash was published; **sha256 computed: 7e2d9c157a7725c2875eea31e5741938fb9eafef5a3442710573f1b1a87faf17**. - `amm-match validate`: PASS ("Strategy 'TaylorGaussianPlain2' validated successfully!"); getName() = `TaylorGaussianPlain2`. - Deployed runtime bytes: 18484 (expected 18,484, matches; limit 24,576). - t03 source sha256 cb6d945511e1e10af78baa64c2a6cb25806f0998403ce6440654bfc3c70092d9 (matches), runtime 14654; IB sha256 301941829a44bb60977bb28181a5e4bfa6544f3696763f987054789b2611d686 (matches), runtime 14528. ## 2. Paired results (edge units as the engine reports) ### candidate minus t03 - n=256, mean_diff=1.449878, se=0.088973 (sample sd/sqrt(n)), mean cand=537.974742, mean t03=536.524864 - worst5: (9609317, -2.499241), (9609243, -1.446409), (9609393, -1.413743), (9609319, -1.386380), (9609220, -1.339496) - best5: (9609392, 6.013324), (9609463, 5.806622), (9609284, 5.098020), (9609395, 4.862800), (9609431, 4.470418) ### candidate minus ib - n=256, mean_diff=2.278666, se=0.117865 (sample sd/sqrt(n)), mean cand=537.974742, mean ib=535.696076 - worst5: (9609220, -0.952053), (9609462, -0.811551), (9609285, -0.666217), (9609269, -0.603591), (9609248, -0.522394) - best5: (9609431, 20.782770), (9609463, 7.824580), (9609222, 6.847630), (9609379, 5.789533), (9609296, 5.778369) ## 3. Gas (candidate afterSwap, Submission role, gas_stats() per chunk) | chunk start | calls | ok | oog | revert | peak gas | mean gas | |---|---|---|---|---|---|---| | 9609216 | 342704 | 342704 | 0 | 0 | 226071 | 126812.4 | | 9609248 | 341576 | 341576 | 0 | 0 | 226071 | 127024.7 | | 9609280 | 340563 | 340563 | 0 | 0 | 226447 | 127069.1 | | 9609312 | 350554 | 350554 | 0 | 0 | 223746 | 126162.4 | | 9609344 | 343393 | 343393 | 0 | 0 | 227141 | 126760.4 | | 9609376 | 348199 | 348199 | 0 | 0 | 224762 | 126284.5 | | 9609408 | 349729 | 349729 | 0 | 0 | 224573 | 126266.4 | | 9609440 | 364308 | 364308 | 0 | 0 | 224538 | 125074.4 | **Candidate totals**: calls=2781026, ok=2781026, OutOfGas=0, revert=0, other halt/tx_error/bad_return=0, peak gas=227141 (limit 245,000), mean gas=126419.14. **t03**: afterSwap calls=2795360, peak gas=237588, OutOfGas=0. IB: calls=2771996, peak=234837, OutOfGas=0. ## 5. Timing and coverage - cand: 181.1 s engine time for 256 seeds = 0.707 s/seed - t03: 134.9 s engine time for 256 seeds = 0.527 s/seed - ib: 137.9 s engine time for 256 seeds = 0.538 s/seed - Seeds not run: none (all 256 run for all three strategies). ## 4. CSV (seed,candidate,t03,IB) ```csv seed,candidate,t03,IB 9609216,633.513140663,630.745846836,630.523289312 9609217,336.031487002,333.422966261,332.095996609 9609218,629.045702144,627.557562283,626.484881697 9609219,693.018005259,693.349052463,690.516140024 9609220,452.163508901,453.503005333,453.115562355 9609221,585.944482657,584.146377897,582.724377955 9609222,618.722955946,615.103709133,611.875325815 9609223,437.877445547,437.060815337,435.829045863 9609224,479.762843063,479.168148045,478.127574381 9609225,646.731087258,643.988574440,643.067156029 9609226,524.468013670,522.364416361,521.165178593 9609227,486.905686787,485.096563665,486.440496751 9609228,647.011037877,645.857988088,644.852593145 9609229,425.495474034,424.593319469,423.943002403 9609230,586.391547671,583.500959932,582.084405506 9609231,493.874855892,491.749094007,491.204870090 9609232,518.367732381,516.788667464,515.989366255 9609233,368.399897893,368.634961772,368.299918499 9609234,603.895312116,601.206217965,600.389436153 9609235,596.789369584,593.510575577,592.480821301 9609236,576.076891143,572.795775759,572.104503506 9609237,372.254407179,372.895259721,371.989164778 9609238,555.671947676,551.961305878,550.769961821 9609239,455.388829779,455.045323240,455.205244910 9609240,436.596824832,437.328436997,436.073033976 9609241,428.102841302,428.957159750,427.302274871 9609242,568.892266893,569.324401070,568.480392643 9609243,421.650830497,423.097239365,420.932210581 9609244,540.974316938,538.132090577,536.856018943 9609245,571.557290368,569.957552093,569.422277029 9609246,717.108480876,714.461564664,712.033167184 9609247,483.743717199,483.006532144,483.152924170 9609248,405.788070056,406.033729216,406.310464441 9609249,396.410041894,396.097678570,395.188287291 9609250,427.051127678,424.875649820,424.851793192 9609251,532.109292682,531.202770297,530.837444326 9609252,536.102172826,536.046488304,535.434453364 9609253,571.529869627,567.462240648,565.962786894 9609254,473.259685445,474.438903108,473.753124040 9609255,375.625532912,374.445886589,373.727425076 9609256,602.047760629,598.153333963,596.791392405 9609257,688.837376620,686.607509584,685.887043135 9609258,613.555447094,610.974217785,612.364596214 9609259,639.260146883,636.470168574,636.730160561 9609260,517.677452727,517.645119418,517.138703193 9609261,558.675447005,558.173127924,558.024053763 9609262,531.734192372,528.404806589,527.172137456 9609263,529.038870378,527.190874450,526.348768876 9609264,597.044724095,594.379387741,592.988746327 9609265,486.436453354,485.811941113,485.358558635 9609266,506.173818820,503.887899214,503.026243360 9609267,500.091981745,499.741886771,498.321375233 9609268,515.674296666,513.094892845,513.106640773 9609269,411.626480563,412.738852550,412.230071748 9609270,581.284353164,580.481038987,579.364942885 9609271,455.236972821,453.694833521,452.581672982 9609272,592.876434470,589.945044196,589.578069629 9609273,565.776898177,563.134844675,560.322705947 9609274,449.729051881,446.731683104,446.426662952 9609275,556.294358987,556.335773988,554.401595184 9609276,420.896647166,420.110955054,418.664839402 9609277,563.428380088,561.928773676,561.664589407 9609278,658.713371502,657.829395608,658.457974791 9609279,523.342574763,520.525869835,520.604766978 9609280,523.350290087,519.117715146,518.888681872 9609281,599.105323926,596.235115607,596.729486621 9609282,609.523977570,607.618303873,606.505548495 9609283,590.003514762,588.518036981,586.530921419 9609284,622.001141813,616.903121430,616.882932461 9609285,436.778124909,437.466659671,437.444342310 9609286,486.668006676,486.863058548,485.566236384 9609287,520.511416449,518.544826596,517.561738264 9609288,413.800038920,413.565986497,412.394132420 9609289,555.941244308,555.709531120,556.159123652 9609290,531.809575804,530.042379281,529.416195049 9609291,428.938235788,429.391456938,428.291051095 9609292,404.609577484,403.835444721,404.142253855 9609293,504.142960862,503.424520459,502.626991132 9609294,424.278811294,424.448554273,423.945165747 9609295,355.438388345,354.830207724,354.375924079 9609296,704.618030555,701.651493532,698.839661691 9609297,469.984198969,467.908003999,466.784673677 9609298,524.255511703,521.784113811,522.485525432 9609299,347.662088783,348.380979367,347.436562651 9609300,422.494385345,423.218191799,422.395484064 9609301,548.045829409,545.568582872,545.845371029 9609302,699.154505529,695.368048086,695.326876534 9609303,495.356354140,495.201506747,494.148306283 9609304,548.963002441,548.273673176,547.126529031 9609305,625.120234824,623.486695931,621.558650129 9609306,386.764698975,387.430119258,386.473384403 9609307,610.882364842,608.233510800,606.771324476 9609308,401.621881893,401.080900026,400.133023886 9609309,628.890034680,626.582731618,625.821863827 9609310,469.615053038,467.405307273,464.002077598 9609311,453.935233434,451.137601654,450.703635369 9609312,669.377676303,668.062924144,668.223475237 9609313,452.672920636,452.878348675,451.647949847 9609314,671.394981468,668.355762248,668.370247283 9609315,569.413900628,568.610372819,567.429785345 9609316,540.247648070,540.038269360,539.405314102 9609317,631.197606177,633.696847017,631.371215153 9609318,558.555621414,557.085575669,556.604382083 9609319,388.812107269,390.198487090,388.550723690 9609320,516.439379176,515.585299947,515.149562235 9609321,564.511876323,564.258656385,563.126732778 9609322,590.298541856,589.766153340,588.298137188 9609323,498.731470922,497.432857664,497.523899649 9609324,467.233362734,467.609456732,467.221742280 9609325,595.889237519,593.693673374,593.554104527 9609326,603.108394062,599.586863698,599.117149769 9609327,575.791342575,574.388584757,574.441416766 9609328,372.632804486,372.667123074,371.848321417 9609329,435.321712467,435.748557390,433.017492814 9609330,537.167432340,537.047228164,537.036763025 9609331,533.595891622,532.376478053,531.154028985 9609332,606.563800273,603.475004461,604.497244314 9609333,548.681596661,546.790008491,545.763203621 9609334,457.390011426,457.599419594,455.995876145 9609335,374.519071929,375.442996784,374.506717762 9609336,672.033489549,669.139366458,667.855707439 9609337,565.035466831,565.151584188,563.664142791 9609338,622.348654605,620.019537058,619.983933230 9609339,572.751016789,570.655235597,569.982276222 9609340,561.446937245,560.758819723,560.533809466 9609341,688.787057786,684.403672792,684.209131294 9609342,416.444072526,416.201695937,415.309994913 9609343,522.284055695,522.270964055,521.210618954 9609344,455.636602832,454.400911366,454.418684591 9609345,513.173011738,510.417512184,509.795296574 9609346,674.962755664,671.939365155,672.597328015 9609347,672.894064467,671.136177127,670.471160607 9609348,474.744509458,473.505170017,473.250152904 9609349,434.403444958,431.807726027,431.312728258 9609350,415.895159358,416.672384006,415.893000176 9609351,555.628176072,554.775488444,555.149721117 9609352,581.048919166,577.053909418,576.366646801 9609353,507.196666741,507.604753880,506.190171421 9609354,637.487361888,636.781829970,635.668824103 9609355,436.404821209,436.261784895,435.874295493 9609356,505.794188554,504.642082791,503.274983788 9609357,513.332013668,512.370446764,511.912539925 9609358,562.141382532,560.439484806,559.751650889 9609359,516.545392552,515.087713193,515.043496547 9609360,488.090814599,487.927131459,486.186480367 9609361,613.488530632,610.763117956,611.272758890 9609362,604.045304587,601.825099735,600.403675790 9609363,531.078992635,529.045011258,529.420269744 9609364,497.833706136,496.515305653,496.124116154 9609365,555.831928214,555.729147941,554.591831689 9609366,642.997084771,641.281662175,639.418638513 9609367,498.394536965,496.930311927,496.793183221 9609368,608.344282278,606.570991248,605.868592836 9609369,478.989983984,478.016215225,477.556592729 9609370,500.263384016,497.947889518,496.369207300 9609371,537.187687354,536.198160176,534.701243629 9609372,406.118473894,405.220803835,404.844617803 9609373,437.342512171,435.503982053,434.898908769 9609374,557.887297696,554.940318324,555.091492491 9609375,433.382350273,431.671147604,431.757877282 9609376,637.119844518,635.579801670,634.903059167 9609377,470.151876972,468.766345751,468.600040563 9609378,735.505749458,731.217068366,729.958893286 9609379,628.776823125,625.033252298,622.987289672 9609380,458.701438440,459.288528410,457.652689812 9609381,556.189658514,553.944269881,553.245823897 9609382,637.055459222,634.862836020,634.203703417 9609383,401.788565267,400.698628864,400.012013078 9609384,677.022582558,674.599716264,674.031712392 9609385,461.773564587,462.140495444,461.322722252 9609386,483.028369140,481.878604423,481.908754160 9609387,492.272186178,490.572899863,488.875917365 9609388,396.695438210,395.647930746,395.638849489 9609389,553.007349972,550.801641258,549.489523365 9609390,572.215596912,570.802458909,570.901960410 9609391,506.546244194,506.162349022,504.489862031 9609392,695.682381341,689.669057720,689.962017273 9609393,383.105183837,384.518926429,383.164804527 9609394,586.278878598,584.742128683,584.106372013 9609395,747.245366808,742.382566371,741.698028523 9609396,617.358687885,616.130333173,614.589905862 9609397,405.072338250,405.047216664,404.385526637 9609398,458.102151759,457.701010396,456.985152492 9609399,460.945522280,460.232997884,459.450592044 9609400,646.701750542,644.437193458,643.950886117 9609401,484.130231470,482.244862763,480.830982439 9609402,511.655575210,509.575859729,508.607507273 9609403,670.634603868,668.049621386,666.859051066 9609404,528.326222217,526.154218948,525.479194647 9609405,497.294325322,497.208201143,496.175510898 9609406,573.449162724,573.305360257,572.282838173 9609407,573.304687560,569.489942203,569.443331448 9609408,481.174649598,478.695470327,477.667142754 9609409,592.832953685,590.530889878,590.075827890 9609410,449.370789563,447.506370631,447.335573900 9609411,601.839325841,600.475910158,599.265565124 9609412,618.630828399,618.197266078,616.623258638 9609413,661.560927354,659.967885349,658.039786059 9609414,529.754729848,527.280350882,526.769141956 9609415,443.194169335,442.356472286,440.954573866 9609416,356.893348918,356.490579098,355.456224561 9609417,678.477622353,676.401747032,675.177365495 9609418,657.001425794,652.720864758,652.982161862 9609419,616.701797294,615.500646180,615.414199327 9609420,453.660372138,452.772676473,452.792921908 9609421,493.395166038,491.894182850,491.244132266 9609422,466.678645948,465.410403784,464.972925421 9609423,513.529497646,513.281975953,512.442224752 9609424,360.107724239,359.491374826,359.028067231 9609425,560.987458847,559.199318165,558.284979027 9609426,560.383821392,559.517023475,559.373251037 9609427,606.284618540,604.903147693,603.952901900 9609428,514.359284596,513.010281059,511.857485883 9609429,562.329493306,561.042836575,559.395299472 9609430,603.072086807,601.492140882,600.330838981 9609431,448.674664118,444.204245853,427.891894550 9609432,635.148946376,633.156342026,634.291113826 9609433,398.851804644,398.490184941,398.254200566 9609434,579.924771124,576.413197044,576.749471240 9609435,472.536681194,472.508720581,470.841330343 9609436,644.962279568,642.960559630,642.106713749 9609437,361.726038698,361.757828655,360.959243313 9609438,538.661757075,537.681054387,535.754742647 9609439,582.854362471,578.907485105,578.442170426 9609440,606.327766770,604.661487172,604.882907278 9609441,680.839757560,681.050340143,679.472536591 9609442,670.869626527,670.557258924,669.315691131 9609443,594.646814309,591.486822620,590.650372237 9609444,604.143439445,602.121613038,601.398913019 9609445,573.063610062,571.908545901,571.248831755 9609446,612.040268433,609.467225749,608.505372949 9609447,560.117885422,559.468421994,558.248846263 9609448,642.690509240,641.846035432,641.849837033 9609449,556.874709230,556.768509453,554.935599075 9609450,542.870121118,539.603137060,539.108441690 9609451,499.528918475,498.616165688,497.659880855 9609452,479.454350160,479.033254340,478.703567763 9609453,503.273970014,503.041388781,502.314712375 9609454,819.779046548,816.732039946,816.851681981 9609455,682.917498785,679.420923701,678.538389348 9609456,493.513239447,493.317740697,492.793406744 9609457,735.582247485,732.185005494,732.218187512 9609458,414.694856269,413.536121447,412.632295476 9609459,504.311317531,503.782595016,504.314119908 9609460,550.912182458,551.787174186,550.009500359 9609461,543.336472565,540.934557615,540.275313831 9609462,448.094391977,449.249142771,448.905942740 9609463,731.031902861,725.225280738,723.207322439 9609464,821.385612662,818.393973839,817.303556915 9609465,496.104137751,494.344989113,493.421905196 9609466,511.738915219,509.499355719,508.895560047 9609467,535.631646072,534.349228803,532.709892446 9609468,600.645149810,600.539479824,600.264975475 9609469,627.790937096,624.332180553,623.141888223 9609470,589.091852058,588.027995123,587.388879497 9609471,686.264878874,683.859139132,684.764172803 ```