{"blocked":null,"files":[{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V25Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"bb48fd822f9a83182eebff9348150bf713962c54e8d6234b469f12970b267065","valid":true,"d32":-86.04967534635101,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V26BStrategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"e57b597f05c2d0ff08c328df74a61715a74942a98f48f6b7f6975949e73329f9","valid":true,"d32":-52.30261885548239,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V26CStrategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"db2e805bfa8094f95c1e3e2e2658bb56e280992e34a509a6dad9c7cfeb9c6c3e","valid":true,"d32":-51.57353562842647,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V26DStrategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"4b0799424a5c892a1770c994074aa7c979d9f1c24c4c4fa9d032081a2b9bbd4e","valid":true,"d32":-51.18148827592637,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V26EStrategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"c3206b72e20e8e9e493ebba541e059eace719948d7d9fc7c0aec2c2701e09d3d","valid":true,"d32":-50.78857014844701,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V26FStrategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"c1e9ee88ec9e05dbed39591db90d4dbb525e36e9829ea8d135d535d8cfdcbe70","valid":true,"d32":-51.126496294680194,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V26GStrategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"c37a12b7f71d78fcb79e60011ac8b3e4ec8d305f5800e90e0e79fdae2cd35131","valid":true,"d32":-51.06810938071386,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V26HStrategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"d0bdc0032cc3ca917e4fe2dfc28d5bf89bf62082f855347a53f421d5a6e8e6f5","valid":true,"d32":-53.78352905274256,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V26Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"07897c071e6146d4262d92bae457cde57e525bf33dcd18b0e003d4c38ab9b1f8","valid":true,"d32":-52.223120919198465,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V27Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"6bb0e72a088e13a5b0cd13f64cee140e61a452ef6dcad871d9278090adb00fa3","valid":true,"d32":-65.99938856550335,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V28BStrategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"2aac4621154f295cedb9f84e174c800482f93544395bf5d263f3ea3b1ddf61b5","valid":true,"d32":-53.435301212773396,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V28Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"26b62c2f56065cde05c703a329694baf1561eb07fed89b4c500d6af054eb7762","valid":true,"d32":-56.23978238421014,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V29Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"45ce283e36547e71c87a4a986fef801161f04357171669245ae94a4c574a1998","valid":true,"d32":-51.17263489099892,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V30BStrategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"015da4676b660cddebf0d28427fd184f60d39875a2664dfb9259148ae07900d8","valid":true,"d32":-53.49141941090534,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V30CStrategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"2eab82e5e99cec8da446278d3f6751e82d53d060f594fb9e9377368e830fd4b7","valid":false,"d32":null,"oog":null,"validation_error":"YulException: Variable expr_1 is 1 too deep in the stack [ _2 expr_1 var_sigNorm var_lastStepTs var_tradesThisStep var_freqEMA r var_virtualPrice var_sellVolEMA expr_14 r_2 expr_2 var_buyVolEMA var_bidMom _19 var_askFee expr_12 var_deviation ]"},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V30DStrategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"7c4ad2cf9f3d245d4369d2f5bb32d6227305fd70366adb2eae83a30cce022377","valid":true,"d32":-49.10420261302357,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V30DTunedStrategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"5b4dbd958fe00ff522b35e8cd19e5974eb04b16b4c99d00e50347dfe459b4c5a","valid":true,"d32":-50.57945917804276,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V30EStrategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"3681710e5a0aad837ea830608ecb7d40d5ea1d88d6fc2c9d0b9fd00d989f9c7f","valid":true,"d32":-49.27325006612831,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V30FStrategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"7d0a3ce43d35ede7f98be9989837c4979f39da20f8ec1d7ebf25f01b8d07df42","valid":true,"d32":-49.140487395065264,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V30Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"152aad092806a064d07e07efa224fbd25ad23173331b7c9d0936384d9e94758a","valid":false,"d32":null,"oog":null,"validation_error":"Validating strategy...\nCompiling strategy...\nEVM execution failed: Strategy afterInitialize() failed: Halt { reason: OutOfGas(Basic), gas_used: 250000 }"},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V32Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"1d26d360b64672b4516059b66e3f3c03906de39e9343ee39a5ac73ae130b419e","valid":true,"d32":-111.78405097454188,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V33Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"56c8bf6daa7c5b8dc153f9777463fe2749d5ed6e98de6d8f32dba1db93562c99","valid":true,"d32":-178.1364671147888,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V34Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"da8afadcd029fc1cbc44b21813a4947c522e42060c9113f99644bb976c64bda2","valid":true,"d32":-50.0707391574132,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V35Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"21c703c3a79cb6e0936010303adbee714e7509e88d08d620856d31265b892d45","valid":true,"d32":-267.9501557728515,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V36Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"884b4feec9d4b528e5540e244ded99e3cbf3b0e8cfafe1c3897bba71d3361570","valid":true,"d32":-409.1628168419432,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V37Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"86c7ead5bc91f81ae73da7ecf6f00b01bcdc45100c5a7d2ca2f663d96b767688","valid":true,"d32":-343.24312784514603,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V38Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"1e29c844777617fe1b956fd1722553cc86a059386e921e70567f00aa0395731f","valid":true,"d32":-55.482396148451755,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V39Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"53ce8495b8c3c61174c68318e2c8eec310bd875ddc0b5ea5ebbce5c246e1dd7a","valid":true,"d32":-61.55329662142534,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V40Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"2f10e8027ce331f5cddebd34fe9be84431d0d761878b03914b2ec9c346f7135a","valid":true,"d32":-44.18373669964164,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V41Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"b7ab676e69a2dda1ca52a7acbcefa14b1a267b4cdc3ec62dee1c0bf1ef7b08da","valid":true,"d32":-42.640189854740676,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V42Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"9832d93b0436fb01801d0da7b487e109afe3d13fdc98694379697592c4c7dd30","valid":true,"d32":-42.21274571697319,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V43Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"e93b80a390f9db9a12fb23fdec935aef431d5042720235fd724bb757e34410d6","valid":true,"d32":-42.55948422962199,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V44Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"55aad0d4d44dc1edb7b3edfa498d3a6e771718f2b4068ac2d1b9e3f179155135","valid":true,"d32":-45.94133694831346,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V45Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"a3c6f2313e5d367c349e94ffd3c4cb9c11cb12febb7a8dfece5e4b5ee2beb6f6","valid":true,"d32":-45.32357170800472,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V46Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"b475f0173104fd819fc1ecc0bc60709a81a4f16815f78faa1d1ab3b908d9ada8","valid":true,"d32":-41.60522794687221,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V47Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"3437f9767ac755801c96db2c77559a29509846ed6e032c7b10c1e4568a17bb03","valid":true,"d32":-45.764154824978604,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V48Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"6f722d840aebe16c6d430d8b107aeeb6e25a2f6fcdfc749821a1170a881e7c46","valid":true,"d32":-42.85441972479687,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V49Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"f450532d708132d11701d91ca4af0efc49c3ffd181dc03fdc0a16ff690a580a2","valid":true,"d32":-41.66944829409633,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V50Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"cb9fbba3c397db6ab50eaadd8feb19c7c4cd9b33aee6f947b39cac520d85e425","valid":true,"d32":-42.029720942066746,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V51Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"6b905d96741b65c72ff121175a40c8ff287ede7e64be5d5d49628bb1521b603b","valid":true,"d32":-43.94547750450946,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V52Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"00cebe01f2169246bef6c14a006f38dbe7048ffc95fb1596ae71d6a71e8cacba","valid":true,"d32":-41.47353415093987,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V53Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"b11f87317cc8468c7779465516816e6c5f0ce83b9750b30123f35c458f0e0e0d","valid":true,"d32":-147.74505269906618,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V54Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"1808ffb17f440d7831c58a7625d9778949e0fa9231ccd471d2f64f69917c1b3f","valid":true,"d32":-56.4319269050912,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V55Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"33c5a77e17613ea666879c91ca9702eae36bf2815eb5b2d1c69e3420ed501f5d","valid":true,"d32":-40.76419899873646,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V56Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"feb9b114ae50ad450ce18786f9925bd1f4a873eb71243270d9001e11d02e4d3c","valid":true,"d32":-41.02560615715008,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V57Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"27cb8fa18be104b0ea51fdd8dc12164c964472d5a935dade784e6d1a0ecfac74","valid":true,"d32":-40.845757943771346,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V58Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"8e5094b7df27a9716ed0644c7816a7dd1227de93558f1aaff89b000789d31543","valid":true,"d32":-40.937698140041206,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V59Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"0969307b528bc396c3b9081b32f81397ef115f0a9079ef5768952fafe370eeb7","valid":true,"d32":-40.59939890326212,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V60Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"9909f560a7389d8160cfe03ccc7de72cf3a83ac0938978e511bcc21a539c5e93","valid":true,"d32":-40.39388676862678,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V61Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"77fd542c70125f1f70a220dfce06852c48fcba3d2e55d622360c938a7ad174f2","valid":true,"d32":-40.18851064623422,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V62Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"fb9c4a80303dbe774f9fcc41141b153b813664fbf76b9267bc160a0dbd1c8eff","valid":true,"d32":-40.07452266946661,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V63Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"4fdb2f97ef3f0c78be02fa6e76e7d6d1f2ccb7735b3955919c9dd21d10ea5311","valid":true,"d32":-39.771784973120255,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V64Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"9aed577f3d1be86fe13df68c174d67806f04963e574352f492d1ae96c6b2192f","valid":true,"d32":-40.01251191805798,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V65Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"7675f39f4568ffa813eb88ff0bdd49b0cd860d0b430e1c9201983ec2a2e50e5f","valid":true,"d32":-39.75139742698405,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V66Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"2900e12b9b19878eb1e1e692d3094d875d709561f83a47bdbe10654cb48099b6","valid":true,"d32":-40.128002674244904,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V67Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"1d42b8aea672b0d5d00637ef290c0b5055d5c01722f451405fa0a127686268ae","valid":true,"d32":-39.85152070151449,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V68Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"51b558a4f3b46eb5557545d4088ef056649612866f748359b3e41c7cf1f7189e","valid":true,"d32":-43.59813584022797,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V69Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"5279b70b8d8feb2cf2ea5f306e328d9857c096b273a47aea83ca069c2742e8af","valid":true,"d32":-60.275409609163944,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V70Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"039a1d52fba026fd3b7fa8b8880616fbf32ee8e3dd3973dccb1b32a4f60156ac","valid":true,"d32":-78.16039160711787,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V71Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"088a7b75998e27638f6f44f1cae4f47f334230aea23613e902e27d0e31a39904","valid":true,"d32":-45.07389772372416,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V72Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"6daddd043373999dce1c23b113945b3604c1edba2a73eceee2d531dd382cd17b","valid":true,"d32":-38.88049886896327,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V73Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"e9dcefcc03554b7b65cd25f1c74d1db731845a8b847eed36c1145b35a5347fae","valid":true,"d32":-38.81831489150167,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V74Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"a00f2c384db82ffb85d0864558fe851a5daa68e1fc76284638f550bc0761023c","valid":true,"d32":-40.79428654739472,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V75Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"20a47bf7b5fbdf6b6631fe7ffafbb17a32bf6120d0d56041b62521a5978be3ac","valid":true,"d32":-38.793215873047416,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/V9Strategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"d7accde63f5303f96be61880edc0d15e631acf71beb6854b6812639e5aa98146","valid":true,"d32":-58.93503825123372,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/VolatilityRegimeStrategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"d2ff5e4453811b70f6a43c95cab5ba266783fe9387f44e6925cecb9c53e2d7d8","valid":true,"d32":-189.78043012830778,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/VolatilitySkewStrategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"02850c2c84a8aa5ee746c4e7bdf0cb6772111e480b4c6d2b892a2f0d81234207","valid":true,"d32":-394.5011761346996,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/WeightedStrategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"ee75a9b2a7e7348d196b6a3de9da690830fa062bcc3deff5ecba2a90fee788e9","valid":true,"d32":-140.5270443344178,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/anthro_files/InformedSpreadStrategy.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"38d2c8a0771586b2c34472a63f150a9f0408d4230e68f04d8685f688888eed0f","valid":true,"d32":-99.1498713340996,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/anthro_files/InformedSpreadV2A.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"6be7cb7d0d772a14571928d91bf89db6a868fcaf47a65e8fb14bdc6d65f1d641","valid":true,"d32":-94.44982324724356,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/anthro_files/InformedSpreadV2B.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"86f251f80be70289fc2985625dcacf053dc6bf532a1e16346077fcdde2bdc5cb","valid":true,"d32":-104.16362007990118,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/anthro_files/InformedSpreadV3.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"da4ef3bd37b7f03d337cff90c0f164ddaf7549d3b309354d03e749cdb534544f","valid":true,"d32":-101.94934039451198,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/anthro_files/InformedSpreadV3B.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"6e37e270ee6c7cef3f316befcd3917d7ee7abfd49f335cd9b7564ecf9c1ae00f","valid":true,"d32":-103.26543809543838,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/anthro_files/InformedSpreadV3C.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"b733a1a2358ecae5f75f85c30cf19c4595d1739d65bcd6f0d5dc1baad6f62605","valid":true,"d32":-116.21488902519343,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/anthro_files/InformedSpreadV4.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"456d0320bf4b614e6caa38ece475d04d561606019ce054bb14ee3bdb5125da03","valid":true,"d32":-110.18231748948426,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/anthro_files/InformedSpreadV4B.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"01efa32eb400ae0ace97e0014863eedfde36cdd099a6a8b4b5bd7ff33015842e","valid":true,"d32":-109.88000486863669,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/anthro_files/InformedSpreadV4C.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"f821abf0bcadb6f4ce4ec8379fe227cd42597bc9ef339785f346f5a97030cc6d","valid":true,"d32":-190.51801543475648,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/anthro_files/InformedSpreadV4D.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"c0a483108707c41afcee59f13f2098d9385c4585d26ea008300549f79116a4d3","valid":true,"d32":-111.08367365947916,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/anthro_files/V6A.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"c532a65f07dbd43dabe4ae274e503b9e2b3b95ecabd2293fadc33a33888cb525","valid":true,"d32":-72.57568159060888,"oog":0},{"fork":"0zKillua/amm-challenge","branch":"main","path":"contracts/src/anthro_files/V6B.sol","commit":"5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4","sha256":"e8be63b41083e277ec811f2e322d309487e2de455e3f3242252b43e5c97769e7","valid":true,"d32":-68.25257109587714,"oog":0},{"fork":"ChengHua926/amm-challenge","branch":"main","path":"contracts/src/Strategy.sol","commit":"d34a5199c59a4c44d5336a25f1436b4ae1f21104","sha256":"6dd68f77a70900319460215374143dbd5d924198450a46d9f5f91f6b1e3d35c3","valid":true,"d32":-1.9468584042492232,"oog":0},{"fork":"ChengHua926/amm-challenge","branch":"main","path":"scratch/strategies/dyn_v10_v3_big_swings.sol","commit":"d34a5199c59a4c44d5336a25f1436b4ae1f21104","sha256":"3d10885712392f8ae36d0cd5e566e5f63d92d44a49087c47f6acc9f9e4844dfa","valid":true,"d32":-168.31000766472846,"oog":0},{"fork":"ChengHua926/amm-challenge","branch":"main","path":"scratch/strategies/dyn_v11_dir_imbalance.sol","commit":"d34a5199c59a4c44d5336a25f1436b4ae1f21104","sha256":"cca7b07e56c0d2a71341be61c8c9383e634842fcc5a90a56393d0ebfd0a363bc","valid":true,"d32":-151.68595908862505,"oog":0},{"fork":"ChengHua926/amm-challenge","branch":"main","path":"scratch/strategies/dyn_v12_inv_wide.sol","commit":"d34a5199c59a4c44d5336a25f1436b4ae1f21104","sha256":"06029c6fcbd11055f534fb8ed368975c336c8d0864c1d15df12b6f3729b897d1","valid":true,"d32":-140.7351390659482,"oog":0},{"fork":"ChengHua926/amm-challenge","branch":"main","path":"scratch/strategies/dyn_v13_v3_opposite.sol","commit":"d34a5199c59a4c44d5336a25f1436b4ae1f21104","sha256":"6da7955214347dd3a37dc2e936294bc6ec9669269e194453f526ace52c100ce7","valid":true,"d32":-159.75242918183923,"oog":0},{"fork":"ChengHua926/amm-challenge","branch":"main","path":"scratch/strategies/dyn_v14_extreme_asym.sol","commit":"d34a5199c59a4c44d5336a25f1436b4ae1f21104","sha256":"7f44505ee2f6c97b8736ef2e91eebd0fbef153868bb5b7389dfe3ec3a1a85fe1","valid":true,"d32":-388.0495614794248,"oog":0},{"fork":"ChengHua926/amm-challenge","branch":"main","path":"scratch/strategies/dyn_v15_graduated.sol","commit":"d34a5199c59a4c44d5336a25f1436b4ae1f21104","sha256":"2e485347c3f5c450203502ff530eb13b8c7c1e0618b1cbeed283212e4a53e96e","valid":true,"d32":-385.8642021198509,"oog":0},{"fork":"ChengHua926/amm-challenge","branch":"main","path":"scratch/strategies/dyn_v1_ewma_sigma.sol","commit":"d34a5199c59a4c44d5336a25f1436b4ae1f21104","sha256":"df5e4d86a5d0ff59a7a8b5d1714e723b27033c286d0d070455f746156b4278b8","valid":true,"d32":-157.56176941842875,"oog":0},{"fork":"ChengHua926/amm-challenge","branch":"main","path":"scratch/strategies/dyn_v20_dir_signal.sol","commit":"d34a5199c59a4c44d5336a25f1436b4ae1f21104","sha256":"7e047162ce23a6fac6b1605ec0db9a318103e0a0f2ef39ba1c087806f2142f54","valid":true,"d32":-230.07873805788725,"oog":0},{"fork":"ChengHua926/amm-challenge","branch":"main","path":"scratch/strategies/dyn_v21_combined.sol","commit":"d34a5199c59a4c44d5336a25f1436b4ae1f21104","sha256":"5a8f09ca56ae83f8e798d9a4ee0579272eb26fe0d9cbb2dc2dfca253d8cded3b","valid":true,"d32":-142.47060570892467,"oog":0},{"fork":"ChengHua926/amm-challenge","branch":"main","path":"scratch/strategies/dyn_v2_post_arb_drop.sol","commit":"d34a5199c59a4c44d5336a25f1436b4ae1f21104","sha256":"795bb347b296e4571780e8dfe8160150a43c1ea30b753e5c1a8cce5d512e9066","valid":true,"d32":-195.12037044937858,"oog":0},{"fork":"ChengHua926/amm-challenge","branch":"main","path":"scratch/strategies/dyn_v3_inventory.sol","commit":"d34a5199c59a4c44d5336a25f1436b4ae1f21104","sha256":"519a95e1d3c9890367b2f58101cfd376c17f8a0e1f7e0775a8afb5cd76012cb4","valid":true,"d32":-145.66022019618129,"oog":0},{"fork":"ChengHua926/amm-challenge","branch":"main","path":"scratch/strategies/dyn_v4_post_trade_protect.sol","commit":"d34a5199c59a4c44d5336a25f1436b4ae1f21104","sha256":"2b2e47c1f0f6f82ba5c5d711fe1ae57a83cd00b5a7faee6970d0281b481f062f","valid":true,"d32":-194.87375070960465,"oog":0},{"fork":"ChengHua926/amm-challenge","branch":"main","path":"scratch/strategies/dyn_v5_inventory_tight.sol","commit":"d34a5199c59a4c44d5336a25f1436b4ae1f21104","sha256":"66ecff39b4144b6d1b85ff307076b90cc2dc541c909aa8b805c0a3502414c81e","valid":true,"d32":-165.67308006429124,"oog":0},{"fork":"ChengHua926/amm-challenge","branch":"main","path":"scratch/strategies/dyn_v6_running_spot.sol","commit":"d34a5199c59a4c44d5336a25f1436b4ae1f21104","sha256":"dbe2f039b08ed879a446ba11db4059ffab1d6358193beb2bbcc0a981d577980b","valid":true,"d32":-164.75128250435665,"oog":0},{"fork":"ChengHua926/amm-challenge","branch":"main","path":"scratch/strategies/dyn_v7_inv_one_side.sol","commit":"d34a5199c59a4c44d5336a25f1436b4ae1f21104","sha256":"48214d52eedff6170a03df0c7463e7aefaad4e62583bb8d6b05dfb889485e899","valid":true,"d32":-152.59608697438006,"oog":0},{"fork":"ChengHua926/amm-challenge","branch":"main","path":"scratch/strategies/dyn_v8_inv_both_side.sol","commit":"d34a5199c59a4c44d5336a25f1436b4ae1f21104","sha256":"2d00cb0b12db21da0f6ae4ce63ff06258f85419442104357ef425cf963094787","valid":true,"d32":-161.03486968553807,"oog":0},{"fork":"ChengHua926/amm-challenge","branch":"main","path":"scratch/strategies/dyn_v9_v3_tuned.sol","commit":"d34a5199c59a4c44d5336a25f1436b4ae1f21104","sha256":"5c9e9d9799448aa46d8170817139e8ef653a5a86174a94004b6f8451b48a7bb5","valid":true,"d32":-145.25858098917826,"oog":0}],"top3":[{"sha256":"6dd68f77a70900319460215374143dbd5d924198450a46d9f5f91f6b1e3d35c3","url":"https://github.com/ChengHua926/amm-challenge/blob/d34a5199c59a4c44d5336a25f1436b4ae1f21104/contracts/src/Strategy.sol","paired":{"n":256,"mean_diff":-1.8404066162914532,"se":0.06979100904354843,"worst":[{"seed":901156,"d":-8.517896528998108},{"seed":901180,"d":-5.985494457703794},{"seed":901048,"d":-4.914895708905533},{"seed":901142,"d":-4.7297253625318945},{"seed":901033,"d":-4.402695654344257}]},"retail_edge_delta":{"mean":-0.008515070775243494,"se":0.07128163920477247},"arb_edge_delta":{"mean":-1.831891545516214,"se":0.03310996402730396},"reconciliation_max_abs":1.1368683772161603e-13,"gas":{"max_ok":151576,"oog":0},"initial_fees":{"bid":0.0004,"ask":0.0004},"decomposition_correction":null,"mechanism":"It drives stale-price fee skew from the smoothed toxicity EMA relative to a single gated price estimate, whereas RS2 uses the instantaneous gap to a blend of that estimate and a censored posterior. Its aligned-trade surcharge has no later-print sixteen-basis-point cap, and it never caps the cheaper quoted side at RS2's thirty or thirty-six basis points. This is a simpler shared-core variant rather than a novel extension: it omits RS2's censored-price, retail-route and separate flow-estimator mechanisms."},{"sha256":"20a47bf7b5fbdf6b6631fe7ffafbb17a32bf6120d0d56041b62521a5978be3ac","url":"https://github.com/0zKillua/amm-challenge/blob/5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4/contracts/src/V75Strategy.sol","paired":{"n":256,"mean_diff":-38.621896972230445,"se":0.39634454531922336,"worst":[{"seed":901181,"d":-56.8201397545829},{"seed":901089,"d":-54.78549370243263},{"seed":901133,"d":-54.4815896338697},{"seed":901163,"d":-53.33386581896434},{"seed":901216,"d":-52.844772360454954}]},"retail_edge_delta":{"mean":-22.985313099884568,"se":0.2142779693609702},"arb_edge_delta":{"mean":-15.636583872345883,"se":0.27212661456430076},"reconciliation_max_abs":1.3500311979441904e-13,"gas":{"max_ok":92071,"oog":0},"initial_fees":{"bid":0.0006,"ask":0.0006},"decomposition_correction":{"reason":"The supplied harness assumes 4bps initial fees; these sources initialize differently. Reconstructed first-step arbitrage uses actual initialized bid/ask. Total edge is unchanged.","max_abs":0.0031375040894321415},"mechanism":"It maintains a virtual price with half-percent spot reversion plus a signed trade-size nudge, rather than RS2's fee-adjusted inferred-price and censored-posterior blend. It starts from a nine-basis-point total spread, divides it between both sides, then converts virtual-price deviation into a capped surcharge and a half-sized opposite-side discount with a one-basis-point intermediate floor. Separate bid and ask impact-momentum accumulators and normalized buy-versus-sell volume skew replace RS2's centered direction state, while it has no RS2 trade-arrival flow estimator or nonlinear toxicity fee."},{"sha256":"e9dcefcc03554b7b65cd25f1c74d1db731845a8b847eed36c1145b35a5347fae","url":"https://github.com/0zKillua/amm-challenge/blob/5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4/contracts/src/V73Strategy.sol","paired":{"n":256,"mean_diff":-38.65286122978404,"se":0.3951313989128535,"worst":[{"seed":901181,"d":-56.702395790203695},{"seed":901089,"d":-55.35066063552949},{"seed":901133,"d":-54.40088251898362},{"seed":901216,"d":-53.06692616224291},{"seed":901163,"d":-52.914418266534085}]},"retail_edge_delta":{"mean":-23.493221920114486,"se":0.21726083145833375},"arb_edge_delta":{"mean":-15.159639309669556,"se":0.2689750604951448},"reconciliation_max_abs":1.2434497875801753e-13,"gas":{"max_ok":92083,"oog":0},"initial_fees":{"bid":0.0006,"ask":0.0006},"decomposition_correction":{"reason":"The supplied harness assumes 4bps initial fees; these sources initialize differently. Reconstructed first-step arbitrage uses actual initialized bid/ask. Total edge is unchanged.","max_abs":0.0031375040894321415},"mechanism":"It maintains a virtual price with half-percent spot reversion plus a signed trade-size nudge, rather than RS2's fee-adjusted inferred-price and censored-posterior blend. It starts from a ten-basis-point total spread, divides it between both sides, then converts virtual-price deviation into a capped surcharge and a half-sized opposite-side discount with a one-basis-point intermediate floor. Separate bid and ask impact-momentum accumulators and normalized buy-versus-sell volume skew replace RS2's centered direction state, while it has no RS2 trade-arrival flow estimator or nonlinear toxicity fee."}],"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 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[2] = 0; slots[3] = WAD; slots[4] = 0;\n        slots[5] = initialX > 0 ? wdiv(initialY, initialX) : 100 * WAD;\n        slots[6] = 950000000000000; slots[7] = 800000000000000000; slots[8] = 2000000000000000;\n        slots[9] = 0; slots[10] = 0;\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 = 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        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            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        {\n            uint256 ret = pHat > 0 ? wdiv(absDiff(pImplied, pHat), pHat) : 0;\n            uint256 alpha = firstInStep ? PHAT_ALPHA : PHAT_ALPHA_RETAIL;\n            uint256 adaptiveGate = wmul(sigmaHat, GATE_SIGMA_MULT);\n            if (adaptiveGate < MIN_GATE) adaptiveGate = MIN_GATE;\n            if (ret <= adaptiveGate) { pHat = wmul(pHat, WAD - alpha) + wmul(pImplied, alpha); }\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        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\n        stepTradeCount = stepTradeCount + 1;\n        if (stepTradeCount > STEP_COUNT_CAP) stepTradeCount = STEP_COUNT_CAP;\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, toxSignal) + wmul(TOX_QUAD_COEF, wmul(toxSignal, toxSignal)) + wmul(ACT_COEF, actEma);\n        fMid = fMid + wmul(SIGMA_TOX_COEF, wmul(sigmaHat, toxSignal));\n\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 staleShift = wmul(STALE_DIR_COEF, toxSignal);\n            uint256 attractShift = wmul(staleShift, STALE_ATTRACT_FRAC);\n            if (spot >= pHat) {\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 (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        slots[0] = bidFee; slots[1] = askFee; slots[2] = 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    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    function getName() external pure override returns (string memory) { return \"no_cubic\"; }\n}\n","sha256":"6dd68f77a70900319460215374143dbd5d924198450a46d9f5f91f6b1e3d35c3","url":"https://github.com/ChengHua926/amm-challenge/blob/d34a5199c59a4c44d5336a25f1436b4ae1f21104/contracts/src/Strategy.sol","author":"ChengHua926","fork":"ChengHua926/amm-challenge","licence":{"source_spdx":"MIT","repository_licence_file":null,"note":"The source declares SPDX-License-Identifier: MIT; no repository-level LICENSE/COPYING file was present in either pinned tree."},"calibration":{"n":1000,"mean":525.5258821780834,"expected":525.5258821780834,"absolute_error":0.0,"gas":{"max_ok":151647,"oog":0}},"baseline":{"name":"RS2","sha256":"f24b6ca198b744c380842c3a17964a6dc21f311bb04984b26733afa3fee8eaf2","url":"https://api.imdnotdead.fun/artifacts/19f2ec857df536e8ab62ab1da89ec6623332521ce46849f15bccff402c63e1e5","screen":{"n":32,"mean_edge":542.3651755555325,"gas":{"max_ok":197184,"oog":0}},"confirmation":{"n":256,"mean_edge":533.7351592392915,"gas":{"max_ok":202386,"oog":0}}},"notes":["Local measurements, not leaderboard submissions. No candidate beat RS2 on the screen or the 256-seed confirmation. This item compares RS2, not STACK; no STACK gain or top-ten result is claimed.","Pinned upstream checkout: https://github.com/benedictbrady/amm-challenge/tree/6b6921f8d463314aa7c96234e1be25a25245f704. The supplied setup ran once successfully; wheel SHA-256 aedb68280aca34c110968f00148387c95885207913fb2cf19a1ab4c5cfd6887a was verified. Calibration exactly matched the supplied CH mean on seeds 0 through 999.","Both forks were cloned with all remote branch heads; each had only main. 0zKillua main is 5ae0b44ad59cbb359ebbc0de4cf462d3ceec35e4 and ChengHua926 main is d34a5199c59a4c44d5336a25f1436b4ae1f21104. Fork scripts were never run and nothing was installed from the forks.","At every branch head, Solidity files defining afterSwap were compared by source SHA-256 against upstream files and deduplicated by SHA-256. 0zKillua had 143 eligible distinct files; all had the same last-change commit, so path ascending broke the recency tie. The first 50 were skipped, the next 80 selected, and the remaining 13 omitted. All 18 eligible distinct ChengHua926 files were selected. There were no cross-fork duplicates among the 98 selected files.","Each files entry identifies its immutable source as https://github.com/{fork}/blob/{commit}/{path}; raw bytes are https://raw.githubusercontent.com/{fork}/{commit}/{path}. Each selected file was copied unchanged into upstream contracts/src and passed to amm-match validate before any scoring. valid means that validation passed; d32 and oog are null for the two validation failures because no Rust scoring arm was run for them. V30C failed compilation with a Yul stack-depth error; V30 exhausted the 250000-gas initialization limit during validation.","Every valid candidate and RS2 were run separately against VanillaStrategy with amm_sim_rs.run_batch(candidate, VanillaStrategy, configs, 8), 10000 steps per seed. Configs reproduce MatchRunner._build_configs: default_rng(seed) draws retail size uniform(19,21), arrival rate uniform(0.6,1), then sigma uniform(0.000882,0.001008); initial reserves 100 X and 10000 Y, price 100, GBM drift 0 and dt 1, retail size sigma 1.2 and buy probability 0.5. The pinned Rust engine seeds price at seed and retail at seed+1.","Screening used exactly seeds 900000 through 900031. The three highest valid zero-OOG d32 entries were frozen and each compared to the same separately run RS2 arm on exactly 901000 through 901255. No tuning was performed and no seed at or above 5000000 was used. code is the finalist with highest confirmation mean_diff; top3 is sorted by that confirmation result.","Paired differences are candidate submission edge minus RS2 submission edge for matching seeds. se is sample standard deviation with ddof=1 divided by sqrt(n); worst lists the five lowest paired differences with seed. Retail and arb deltas have the same sign convention and include their sample standard errors.","The supplied harness_source from https://api.imdnotdead.fun/artifacts/33f54e81f3372088e9eced52c0174f310ac348af98ef5727b73785c088679194 was used for configurations, 20-seed chunks, per-step arbitrage reconstruction and paired statistics. Arb edge is negative reconstructed arbitrageur profit using preceding final spot and fees, contemporaneous fair price and constant-product reserves; retail edge is total edge minus arb edge. Their deltas reconcile to total paired differences within floating-point tolerance.","The supplied decomposition assumes initial bid and ask of 4 bps. The V75 and V73 confirmations initialize at 6 bps, so only their first-step reconstructed arb contribution was corrected using actual initialized fees. One-step diagnostic runs on the same confirmation seeds supplied the first fair-price draw; these are not additional scored samples and do not change measured total edge. An eight-seed prefix check confirmed first-step fair-price invariance between one- and two-step runs. initial_fees and decomposition_correction describe this adjustment for each finalist.","amm_sim_rs.gas_stats_reset() was called before every scoring chunk and gas_stats() captured after it for each arm. Calibration, finalist and baseline gas.max_ok is specifically the maximum successful Submission afterSwap gas over that scoring arm, excluding initialization and VanillaStrategy callbacks; oog counts that callback's OOG halts. No scored arm had an OOG, revert, other halt, transaction error or bad return. The initialization OOG rejection is recorded separately, not reported as a zero-OOG scored arm.","Author is the pinned source file's last Git commit author, not inferred ownership. Every selected file declares MIT via SPDX; neither pinned repository tree contains a LICENSE/COPYING file, so no additional repository-wide licence grant is asserted. Public fork comment scores were not treated as measurements."],"summary":{"selected":98,"validation_passed":96,"validation_failed":2,"screen_positive_count":0,"confirmation_positive_count":0,"best_confirmation_mean_diff":-1.8404066162914532}}