{"item":"f3","blocked":null,"n":256,"outcome":"No mined candidate beat RS2 on either specified seed block.","files":[{"fork":"EricForgy/amm-challenge","branch":"main","path":"contracts/src/StarterStrategyV2.sol","commit":"262bc6c06b40cb7131d33a1e513a421c9aa3d09c","sha256":"ea1650e3886ebb82f0a19cc3701fccc1078252cadacc9717b8cc80b0cef4110d","url":"https://github.com/EricForgy/amm-challenge/blob/262bc6c06b40cb7131d33a1e513a421c9aa3d09c/contracts/src/StarterStrategyV2.sol","source_url":"https://raw.githubusercontent.com/EricForgy/amm-challenge/262bc6c06b40cb7131d33a1e513a421c9aa3d09c/contracts/src/StarterStrategyV2.sol","last_change_commit":"9510804b7e450213ceaba78c37a9d2829f1aab7f","valid":false,"d32":null,"oog":null,"validation":{"command":"amm-match validate contracts/src/Fork_ea1650e3886ebb82f0a19cc3701fccc1078252cadacc9717b8cc80b0cef4110d.sol","exit_code":1,"output":"Validating strategy...\nValidation failed:\n  - Contract must be named 'Strategy' and inherit from AMMStrategyBase\n  - Import './AMMStrategyBaseV2.sol' is not allowed. Only './AMMStrategyBase.sol' and './IAMMStrategy.sol' are allowed.\n  - Import './IAMMStrategyV2.sol' is not allowed. Only './AMMStrategyBase.sol' and './IAMMStrategy.sol' are allowed.\n  - Missing required base imports: './AMMStrategyBase.sol'"},"not_scored_reason":"Original file fails the pinned validator: V2 inheritance and imports are unsupported. Source was not rewritten and V2 dependencies were not installed."},{"fork":"wellimbharath/amm-challenge","branch":"claude/simple-strategy-examples-nhGsD","path":"contracts/src/Strategy.sol","commit":"99c509062af3ed06e5e0c7945dd1b9565014b8e9","sha256":"bcbccc7544a89d3e3c4c1eb13925fbca1df60c13f71ef2f9852988591a2e438f","url":"https://github.com/wellimbharath/amm-challenge/blob/99c509062af3ed06e5e0c7945dd1b9565014b8e9/contracts/src/Strategy.sol","source_url":"https://raw.githubusercontent.com/wellimbharath/amm-challenge/99c509062af3ed06e5e0c7945dd1b9565014b8e9/contracts/src/Strategy.sol","last_change_commit":"99c509062af3ed06e5e0c7945dd1b9565014b8e9","valid":true,"d32":-2.8743337699932106,"oog":0,"validation":{"command":"amm-match validate contracts/src/Fork_bcbccc7544a89d3e3c4c1eb13925fbca1df60c13f71ef2f9852988591a2e438f.sol","exit_code":0,"output":"Validating strategy...\nCompiling strategy...\nStrategy 'godknows' validated successfully!"},"screen_paired":{"n":32,"mean_diff":-2.8743337699932106,"se":0.24043747036278731,"worst":[{"seed":900005,"d":-5.428194593183548},{"seed":900022,"d":-5.225871391006194},{"seed":900017,"d":-4.878984596833789},{"seed":900010,"d":-4.691139704285888},{"seed":900025,"d":-4.598732433260352}]},"screen_gas":{"max_ok":127893,"oog":0,"afterSwap_calls":329544,"errors":{"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}}},{"fork":"wellimbharath/amm-challenge","branch":"claude/investigate-amm-complexity-gVr8Q","path":"contracts/src/AdaptiveFeeStrategy.sol","commit":"19912e7e374fd5eaa993605de97fcee32b5541f4","sha256":"d148381bd99e2d2ab06537bfbe576ce06b0e0e9ac88b0a35980bd4d942294b10","url":"https://github.com/wellimbharath/amm-challenge/blob/19912e7e374fd5eaa993605de97fcee32b5541f4/contracts/src/AdaptiveFeeStrategy.sol","source_url":"https://raw.githubusercontent.com/wellimbharath/amm-challenge/19912e7e374fd5eaa993605de97fcee32b5541f4/contracts/src/AdaptiveFeeStrategy.sol","last_change_commit":"19912e7e374fd5eaa993605de97fcee32b5541f4","valid":true,"d32":-162.2904606103432,"oog":0,"validation":{"command":"amm-match validate contracts/src/Fork_d148381bd99e2d2ab06537bfbe576ce06b0e0e9ac88b0a35980bd4d942294b10.sol","exit_code":0,"output":"Validating strategy...\nCompiling strategy...\nStrategy 'AdaptiveFeeStrategy' validated successfully!"},"screen_paired":{"n":32,"mean_diff":-162.2904606103432,"se":7.8487187561878535,"worst":[{"seed":900025,"d":-275.66012353835885},{"seed":900013,"d":-242.0166829790856},{"seed":900029,"d":-229.67549639053993},{"seed":900004,"d":-218.2979047312889},{"seed":900028,"d":-216.14781039260663}]},"screen_gas":{"max_ok":77052,"oog":0,"afterSwap_calls":216021,"errors":{"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}}}],"top3":[{"sha256":"bcbccc7544a89d3e3c4c1eb13925fbca1df60c13f71ef2f9852988591a2e438f","valid":true,"paired":{"n":256,"mean_diff":-2.730905464885787,"se":0.07757919730518127,"worst":[{"seed":901156,"d":-9.29795016706089},{"seed":901180,"d":-8.009805892983081},{"seed":901133,"d":-5.570670043617838},{"seed":901204,"d":-5.373609550495189},{"seed":901048,"d":-5.3075022238934935}]},"retail_edge_delta":{"mean":-1.8372431375745026,"se":0.09031504848533782},"arb_edge_delta":{"mean":-0.8936623273112868,"se":0.04574538063572394},"gas":{"max_ok":147039,"oog":0,"afterSwap_calls":2637672,"errors":{"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}},"reconciliation_max_abs":1.0658141036401503e-13,"url":"https://github.com/wellimbharath/amm-challenge/blob/99c509062af3ed06e5e0c7945dd1b9565014b8e9/contracts/src/Strategy.sol","source_url":"https://raw.githubusercontent.com/wellimbharath/amm-challenge/99c509062af3ed06e5e0c7945dd1b9565014b8e9/contracts/src/Strategy.sol","fork":"wellimbharath/amm-challenge","branch":"claude/simple-strategy-examples-nhGsD","path":"contracts/src/Strategy.sol","name":"godknows","mechanism":"It adds a cubic toxicity surcharge to the linear and quadratic toxicity terms shared with RS2. Its stale-side fee shift uses the smoothed toxicity magnitude and the sign of spot versus a single slow price estimate, while RS2 uses a slow/fast censored-posterior price blend for that shift. It also applies the trade-aligned surcharge without RS2's 16-bps later-print cap and omits RS2's 30/36-bps caps on the cheaper side; these are differences within the same fee family, not evidence of an improved mechanism.","mechanism_evidence":["https://raw.githubusercontent.com/wellimbharath/amm-challenge/99c509062af3ed06e5e0c7945dd1b9565014b8e9/contracts/src/Strategy.sol","https://api.imd.fun/artifacts/19f2ec857df536e8ab62ab1da89ec6623332521ce46849f15bccff402c63e1e5"],"arm_means":{"edge":531.0042537744059,"retail":558.4041481339193,"arb":-27.399894359513432},"initial_fees":[0.0003,0.0003],"peak_afterSwap_all_measured":147039},{"sha256":"d148381bd99e2d2ab06537bfbe576ce06b0e0e9ac88b0a35980bd4d942294b10","valid":true,"paired":{"n":256,"mean_diff":-158.15672989491392,"se":2.5989509945350098,"worst":[{"seed":901169,"d":-333.98965629220277},{"seed":901124,"d":-310.0105020512874},{"seed":901095,"d":-293.49753310685537},{"seed":901241,"d":-293.4802029557238},{"seed":901105,"d":-269.0251961884981}]},"retail_edge_delta":{"mean":-27.64472162990376,"se":0.31166271078092656},"arb_edge_delta":{"mean":-130.51200826501017,"se":2.724187121473702},"gas":{"max_ok":77064,"oog":0,"afterSwap_calls":1721954,"errors":{"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}},"reconciliation_max_abs":1.1368683772161603e-13,"url":"https://github.com/wellimbharath/amm-challenge/blob/19912e7e374fd5eaa993605de97fcee32b5541f4/contracts/src/AdaptiveFeeStrategy.sol","source_url":"https://raw.githubusercontent.com/wellimbharath/amm-challenge/19912e7e374fd5eaa993605de97fcee32b5541f4/contracts/src/AdaptiveFeeStrategy.sol","fork":"wellimbharath/amm-challenge","branch":"claude/investigate-amm-complexity-gVr8Q","path":"contracts/src/AdaptiveFeeStrategy.sol","name":"AdaptiveFeeStrategy","mechanism":"It uses a hard 50-bps ceiling and a 49-bps discounted side instead of RS2's continuously varying stale-price, sigma, flow and toxicity fees. It classifies a trade as likely arbitrage when its size exceeds 2.6 times the just-updated size EMA or when at least three trades have the same direction, then discounts the bid after trade.isBuy and the ask otherwise. On other trades it closes 67 percent of each fee's remaining gap to the ceiling, a discrete classification and relaxation rule absent from RS2.","mechanism_evidence":["https://raw.githubusercontent.com/wellimbharath/amm-challenge/19912e7e374fd5eaa993605de97fcee32b5541f4/contracts/src/AdaptiveFeeStrategy.sol","https://api.imd.fun/artifacts/19f2ec857df536e8ab62ab1da89ec6623332521ce46849f15bccff402c63e1e5"],"arm_means":{"edge":375.5784293443777,"retail":532.5966696415901,"arb":-157.0182402972123},"initial_fees":[0.005,0.005],"peak_afterSwap_all_measured":77064}],"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    // --- decay / update constants ---\n    uint256 constant ELAPSED_CAP = 8;\n    uint256 constant SIGNAL_THRESHOLD = WAD / 500; // ~20 bps of reserve\n    uint256 constant DIR_DECAY = 800000000000000000; // 0.80\n    uint256 constant ACT_DECAY = 700000000000000000; // 0.70\n    uint256 constant SIZE_DECAY = 700000000000000000; // 0.70\n    uint256 constant TOX_DECAY = 910000000000000000; // 0.91\n    uint256 constant SIGMA_DECAY = 824000000000000000; // 0.824\n    uint256 constant LAMBDA_DECAY = 990000000000000000; // 0.99\n    uint256 constant SIZE_BLEND_DECAY = 818000000000000000; // 0.818\n    uint256 constant TOX_BLEND_DECAY = 51000000000000000; // 0.051\n    uint256 constant ACT_BLEND_DECAY = 985000000000000000; // 0.985\n    uint256 constant PHAT_ALPHA = 260000000000000000; // 0.26\n    uint256 constant PHAT_ALPHA_RETAIL = 50000000000000000; // 0.05\n    uint256 constant DIR_IMPACT_MULT = 2;\n\n    // --- Adaptive Shock Gate ---\n    uint256 constant GATE_SIGMA_MULT = 10 * WAD;\n    uint256 constant MIN_GATE = 30000000000000000; // 0.03 WAD\n\n    // --- Cubic Toxicity ---\n    uint256 constant TOX_CUBIC_COEF = 15000 * BPS;\n\n    // --- Trade-Tox Boost ---\n    uint256 constant TRADE_TOX_BOOST = 2500 * BPS;\n\n    // --- Asymmetric Stale Dir ---\n    uint256 constant STALE_ATTRACT_FRAC = 1124000000000000000; // 1.124\n\n    // --- state caps ---\n    uint256 constant RET_CAP = WAD / 10; // 10%\n    uint256 constant TOX_CAP = WAD / 5; // 20%\n    uint256 constant TRADE_RATIO_CAP = WAD / 5; // 20%\n    uint256 constant LAMBDA_CAP = 5 * WAD; // max 5 trades/step estimate\n    uint256 constant STEP_COUNT_CAP = 64; // guardrail\n\n    // --- fee model constants ---\n    uint256 constant BASE_FEE = 3 * BPS;\n    uint256 constant SIGMA_COEF = 200000000000000000; // 0.20\n    uint256 constant LAMBDA_COEF = 12 * BPS;\n    uint256 constant FLOW_SIZE_COEF = 4842 * BPS;\n    uint256 constant TOX_COEF = 250 * BPS;\n    uint256 constant TOX_QUAD_COEF = 11700 * 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 = 500 * BPS;\n    uint256 constant TAIL_SLOPE_PROTECT = 930000000000000000; // 0.93\n    uint256 constant TAIL_SLOPE_ATTRACT = 955000000000000000; // 0.955\n\n    // slots[0] = bid fee\n    // slots[1] = ask fee\n    // slots[2] = last timestamp\n    // slots[3] = dirState (centered at WAD, [0, 2*WAD])\n    // slots[4] = actEma\n    // slots[5] = pHat\n    // slots[6] = sigmaHat\n    // slots[7] = lambdaHat\n    // slots[8] = sizeHat\n    // slots[9] = toxEma\n    // slots[10] = stepTradeCount (raw integer)\n\n    function afterInitialize(uint256 initialX, uint256 initialY) external override returns (uint256, uint256) {\n        slots[0] = BASE_FEE;\n        slots[1] = BASE_FEE;\n        slots[2] = 0;\n        slots[3] = WAD; // neutral direction\n        slots[4] = 0;\n        slots[5] = initialX > 0 ? wdiv(initialY, initialX) : 100 * WAD;\n        slots[6] = 950000000000000; // 0.095% initial sigma guess\n        slots[7] = 800000000000000000; // 0.8 initial arrival-rate guess\n        slots[8] = 2000000000000000; // 0.2% reserve-size ratio guess\n        slots[9] = 0;\n        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];\n        uint256 prevAskFee = slots[1];\n        uint256 lastTs = slots[2];\n        uint256 dirState = slots[3];\n        uint256 actEma = slots[4];\n        uint256 pHat = slots[5];\n        uint256 sigmaHat = slots[6];\n        uint256 lambdaHat = slots[7];\n        uint256 sizeHat = slots[8];\n        uint256 toxEma = slots[9];\n        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\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\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\n            stepTradeCount = 0;\n        }\n\n        bool firstInStep = stepTradeCount == 0;\n\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) {\n            pImplied = spot;\n        } else {\n            pImplied = trade.isBuy ? wmul(spot, gamma) : wdiv(spot, gamma);\n        }\n\n        {\n            uint256 ret = pHat > 0 ? wdiv(absDiff(pImplied, pHat), pHat) : 0;\n            uint256 alpha = firstInStep ? PHAT_ALPHA : PHAT_ALPHA_RETAIL;\n            uint256 adaptiveGate = wmul(sigmaHat, GATE_SIGMA_MULT);\n            if (adaptiveGate < MIN_GATE) adaptiveGate = MIN_GATE;\n            if (ret <= adaptiveGate) {\n                pHat = wmul(pHat, WAD - alpha) + wmul(pImplied, alpha);\n            }\n            if (firstInStep) {\n                if (ret > RET_CAP) ret = RET_CAP;\n                sigmaHat = wmul(sigmaHat, SIGMA_DECAY) + wmul(ret, WAD - SIGMA_DECAY);\n            }\n        }\n\n        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\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\n            actEma = wmul(actEma, ACT_BLEND_DECAY) + wmul(tradeRatio, WAD - ACT_BLEND_DECAY);\n\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\n        fMid = fMid + wmul(SIGMA_TOX_COEF, wmul(sigmaHat, toxSignal));\n\n        // Cubic toxicity\n        {\n            uint256 toxCubed = wmul(toxSignal, wmul(toxSignal, toxSignal));\n            fMid = fMid + wmul(TOX_CUBIC_COEF, toxCubed);\n        }\n\n        uint256 dirDev;\n        bool sellPressure;\n        if (dirState >= WAD) {\n            dirDev = dirState - WAD;\n            sellPressure = true;\n        } else {\n            dirDev = WAD - dirState;\n            sellPressure = false;\n        }\n\n        uint256 skew = wmul(DIR_COEF, dirDev) + wmul(DIR_TOX_COEF, wmul(dirDev, toxSignal));\n\n        uint256 bidFee;\n        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        // Directional protection using stale-price sign\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        // Trade-aligned toxicity boost\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) {\n                    bidFee = bidFee + tradeBoost;\n                } else {\n                    askFee = askFee + tradeBoost;\n                }\n            }\n        }\n\n        // Asymmetric tail compression\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;\n        slots[1] = askFee;\n        slots[2] = trade.timestamp;\n        slots[3] = dirState;\n        slots[4] = actEma;\n        slots[5] = pHat;\n        slots[6] = sigmaHat;\n        slots[7] = lambdaHat;\n        slots[8] = sizeHat;\n        slots[9] = toxEma;\n        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) {\n            return WAD + wmul(centered - WAD, mul);\n        }\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) {\n        return \"godknows\";\n    }\n}\n","sha256":"bcbccc7544a89d3e3c4c1eb13925fbca1df60c13f71ef2f9852988591a2e438f","url":"https://github.com/wellimbharath/amm-challenge/blob/99c509062af3ed06e5e0c7945dd1b9565014b8e9/contracts/src/Strategy.sol","source_url":"https://raw.githubusercontent.com/wellimbharath/amm-challenge/99c509062af3ed06e5e0c7945dd1b9565014b8e9/contracts/src/Strategy.sol","author":"Claude","author_basis":"Author recorded by git for the last source-changing commit; repository owner is wellimbharath.","author_source":"https://api.github.com/repos/wellimbharath/amm-challenge/git/commits/99c509062af3ed06e5e0c7945dd1b9565014b8e9","licence":"MIT","licence_source":"https://raw.githubusercontent.com/wellimbharath/amm-challenge/99c509062af3ed06e5e0c7945dd1b9565014b8e9/pyproject.toml","licence_evidence":"The fork declares license = {text = \"MIT\"} in pyproject.toml and the selected Solidity source declares SPDX-License-Identifier: MIT. No separate LICENSE/COPYING/NOTICE file was present in that branch tree.","licence_tree_source":"https://api.github.com/repos/wellimbharath/amm-challenge/git/trees/99c509062af3ed06e5e0c7945dd1b9565014b8e9?recursive=1","forks":[{"fork":"sisyphusSmiling/amm-challenge","branch_source":"https://api.github.com/repos/sisyphusSmiling/amm-challenge/branches?per_page=100","branches":[{"branch":"main","commit":"6b6921f8d463314aa7c96234e1be25a25245f704","solidity_files_scanned":5,"afterSwap_implementations":3,"non_upstream_implementations":0},{"branch":"v1/pipeline-cmds","commit":"7f1d883e93aca805ac3e7860505ee4b067bedd71","solidity_files_scanned":2,"afterSwap_implementations":0,"non_upstream_implementations":0},{"branch":"v1/pipeline-tests","commit":"f5db840bc08d622a16e352181a5ea9e322eab8c1","solidity_files_scanned":2,"afterSwap_implementations":0,"non_upstream_implementations":0},{"branch":"v1/pipeline-types","commit":"32be5348b1594a130ce52ae8fb688a739d960b60","solidity_files_scanned":2,"afterSwap_implementations":0,"non_upstream_implementations":0}],"distinct_non_upstream_files":0,"kept":0,"discarded_by_50_file_cap":0,"result":"No qualifying file on any branch head."},{"fork":"muttoni/amm-challenge","branch_source":"https://api.github.com/repos/muttoni/amm-challenge/branches?per_page=100","branches":[{"branch":"codex/strategy-visualizer","commit":"04fd3d01c000d056c62257ff271d87977d63dc9b","solidity_files_scanned":5,"afterSwap_implementations":3,"non_upstream_implementations":0},{"branch":"main","commit":"5ff2f97ff5c20b9297dcab6ba7cb07e059385307","solidity_files_scanned":5,"afterSwap_implementations":3,"non_upstream_implementations":0}],"distinct_non_upstream_files":0,"kept":0,"discarded_by_50_file_cap":0,"result":"No qualifying file on any branch head."},{"fork":"EricForgy/amm-challenge","branch_source":"https://api.github.com/repos/EricForgy/amm-challenge/branches?per_page=100","branches":[{"branch":"main","commit":"262bc6c06b40cb7131d33a1e513a421c9aa3d09c","solidity_files_scanned":8,"afterSwap_implementations":4,"non_upstream_implementations":1},{"branch":"upstream","commit":"6b6921f8d463314aa7c96234e1be25a25245f704","solidity_files_scanned":5,"afterSwap_implementations":3,"non_upstream_implementations":0}],"distinct_non_upstream_files":1,"kept":1,"discarded_by_50_file_cap":0,"result":"1 distinct qualifying file(s)."},{"fork":"wellimbharath/amm-challenge","branch_source":"https://api.github.com/repos/wellimbharath/amm-challenge/branches?per_page=100","branches":[{"branch":"claude/investigate-amm-complexity-gVr8Q","commit":"19912e7e374fd5eaa993605de97fcee32b5541f4","solidity_files_scanned":6,"afterSwap_implementations":4,"non_upstream_implementations":1},{"branch":"claude/simple-strategy-examples-nhGsD","commit":"99c509062af3ed06e5e0c7945dd1b9565014b8e9","solidity_files_scanned":6,"afterSwap_implementations":4,"non_upstream_implementations":1},{"branch":"main","commit":"6b6921f8d463314aa7c96234e1be25a25245f704","solidity_files_scanned":5,"afterSwap_implementations":3,"non_upstream_implementations":0}],"distinct_non_upstream_files":2,"kept":2,"discarded_by_50_file_cap":0,"result":"2 distinct qualifying file(s)."}],"baseline":{"name":"RS2","source_url":"https://api.imd.fun/artifacts/19f2ec857df536e8ab62ab1da89ec6623332521ce46849f15bccff402c63e1e5","sha256":"f24b6ca198b744c380842c3a17964a6dc21f311bb04984b26733afa3fee8eaf2","screen":{"seed_start":900000,"seed_stop_inclusive":900031,"n":32,"arm_means":{"edge":542.3651755555325,"retail":570.1646261799468,"arb":-27.79945062441435},"gas":{"max_ok":197184,"oog":0,"afterSwap_calls":334336,"errors":{"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}}},"shortlist":{"seed_start":901000,"seed_stop_inclusive":901255,"n":256,"arm_means":{"edge":533.7351592392915,"retail":560.2413912714937,"arb":-26.50623203220215},"gas":{"max_ok":202386,"oog":0,"afterSwap_calls":2678625,"errors":{"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}}},"initial_fees":[0.0004,0.0004]},"protocol":{"upstream_commit":"6b6921f8d463314aa7c96234e1be25a25245f704","upstream_url":"https://github.com/benedictbrady/amm-challenge/tree/6b6921f8d463314aa7c96234e1be25a25245f704","setup":"Ran the supplied setup.sh once; pinned wheel checksum and StarterStrategy validation passed.","simulator_wheel_sha256":"aedb68280aca34c110968f00148387c95885207913fb2cf19a1ab4c5cfd6887a","compiler":{"version":"0.8.24","optimizer_enabled":true,"optimizer_runs":200,"viaIR":true,"evmVersion":"paris","source":"https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_competition/evm/compiler.py"},"inventory":"Full clones, all remote branch heads excluding symbolic origin/HEAD; Solidity implementations of afterSwap, comments excluded; byte-identical upstream files excluded; SHA256 deduplication per fork and globally. Each fork had fewer than 50 eligible files, so no recency truncation was needed. Branch names and hashes were independently matched to GitHub branch API responses.","validation":"Copied original source bytes into the pinned checkout contracts/src; invoked amm-match validate for each candidate and RS2. No fork scripts or packages were executed or installed.","market":"Each strategy alone against pinned VanillaStrategy: amm_sim_rs.run_batch(strategy_bytecode, vanilla_bytecode, configs, 8). RS2 never shares a market with a candidate.","method_source":"https://api.imd.fun/artifacts/33f54e81f3372088e9eced52c0174f310ac348af98ef5727b73785c088679194","configs":{"generator":"numpy.random.default_rng(seed), draw size then rate then sigma, all uniform","retail_mean_size":[19.0,21.0],"retail_arrival_rate":[0.6,1.0],"gbm_sigma":[0.000882,0.001008],"n_steps":10000,"initial_price":100.0,"initial_x":100.0,"initial_y":10000.0,"gbm_mu":0.0,"gbm_dt":1.0,"retail_size_sigma":1.2,"retail_buy_prob":0.5,"price_seed":"seed","retail_seed":"seed+1","sources":["https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_competition/competition/match.py","https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_sim_rs/src/simulation/engine.rs"]},"seeds":{"screen":[900000,900031],"shortlist":[901000,901255],"calibration":[0,999],"decomposition_diagnostic":[902000,902031],"any_seed_at_or_above_5000000":false},"selection":"Rank by 32-seed paired mean among valid candidates with no gas errors; retain up to three. Only two candidates validated, so both were evaluated on the 256-seed block without edits. Best source is highest 256-seed mean among those two.","paired_formula":"d_i = candidate submission edge_i - RS2 submission edge_i; mean_diff = mean(d); se = std(d, ddof=1)/sqrt(n); worst lists the five smallest differences with their seeds.","gas_policy":"Reset amm_sim_rs gas counters immediately before each 20-seed chunk (final chunk shorter); snapshot gas_stats immediately after run_batch. Sum call/error counters and maximize max_ok_gas across chunks. gas.max_ok is Submission/afterSwap; oog counts every callback in the arm, including Vanilla. Any OOG or other callback error invalidates the measured result.","gas_scope":"files[].oog is the 32-seed screen; top3[].gas is the 256-seed comparison. peak_afterSwap_all_measured also includes screen and decomposition diagnostics. All callback error counters were zero in calibration, screen, shortlist, and diagnostics.","edge_decomposition":"Numerically reconstruct negative optimal arbitrage profit from each step fair price, previous final spot and fees, fixed reserve product, and pinned arbitrage formulas; retail edge is reported total minus reconstructed arb edge. This follows the reference harness, but uses each strategy actual afterInitialize fees rather than its hard-coded 4-bps default. These are reconstructions, not simulator-provided trade-type edge counters.","decomposition_sources":["https://api.imd.fun/artifacts/33f54e81f3372088e9eced52c0174f310ac348af98ef5727b73785c088679194","https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_sim_rs/src/simulation/engine.rs","https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_sim_rs/src/market/arbitrageur.rs"],"measurement_provenance":"All numerical comparisons, hashes and gas statistics were computed locally during this task. The fork sources and upstream simulator determine the experiments; public source pages do not independently certify the measured scores."},"calibration":{"source_url":"https://raw.githubusercontent.com/ChengHua926/amm-challenge/d34a5199c59a4c44d5336a25f1436b4ae1f21104/contracts/src/Strategy.sol","source_sha256":"6dd68f77a70900319460215374143dbd5d924198450a46d9f5f91f6b1e3d35c3","n":1000,"expected_mean":525.5258821780834,"measured_mean":525.5258821780834,"absolute_error":0.0,"passed":true,"raw_counters":[{"role":"Baseline","callback":"afterInitialize","calls":1000,"ok":1000,"max_ok_gas":21796,"sum_ok_gas":21796000,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":10741746,"ok":10741746,"max_ok_gas":22592,"sum_ok_gas":242365461576,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":1000,"ok":1000,"max_ok_gas":21526,"sum_ok_gas":21526000,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":1000,"ok":1000,"max_ok_gas":185532,"sum_ok_gas":185532000,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":10445223,"ok":10445223,"max_ok_gas":151647,"sum_ok_gas":811927105393,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":1000,"ok":1000,"max_ok_gas":21530,"sum_ok_gas":21530000,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}]},"decomposition_check":{"seed_start":902000,"seed_stop":902031,"n_steps":100,"retail_arrival_rate_input":0.0,"retail_arrival_rate_effective":0.01,"arms":[{"sha256":"f24b6ca198b744c380842c3a17964a6dc21f311bb04984b26733afa3fee8eaf2","initial_fees":[0.0004,0.0004],"seeds_with_zero_retail":[902003,902004,902006,902007,902008,902009,902011,902013,902015,902017,902018,902020,902023,902024,902026,902030],"n_checked":16,"max_abs_error":8.311573651553772e-12,"gas":{"max_ok":183688,"oog":0,"afterSwap_calls":832,"errors":{"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}}},{"sha256":"bcbccc7544a89d3e3c4c1eb13925fbca1df60c13f71ef2f9852988591a2e438f","initial_fees":[0.0003,0.0003],"seeds_with_zero_retail":[902003,902004,902006,902007,902008,902009,902011,902013,902015,902017,902018,902020,902023,902024,902026,902030],"n_checked":16,"max_abs_error":9.070300066582604e-12,"gas":{"max_ok":128479,"oog":0,"afterSwap_calls":1010,"errors":{"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}}},{"sha256":"d148381bd99e2d2ab06537bfbe576ce06b0e0e9ac88b0a35980bd4d942294b10","initial_fees":[0.005,0.005],"seeds_with_zero_retail":[902000,902002,902003,902004,902006,902007,902008,902009,902011,902013,902015,902017,902018,902020,902023,902024,902025,902026,902028,902029,902030],"n_checked":21,"max_abs_error":8.346420776739194e-12,"gas":{"max_ok":77052,"oog":0,"afterSwap_calls":396,"errors":{"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}}}]},"gas_raw_counters":[{"sha256":"bcbccc7544a89d3e3c4c1eb13925fbca1df60c13f71ef2f9852988591a2e438f","stage":"screen","raw_counters":[{"role":"Baseline","callback":"afterInitialize","calls":32,"ok":32,"max_ok_gas":21796,"sum_ok_gas":697472,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":350134,"ok":350134,"max_ok_gas":22592,"sum_ok_gas":7900102460,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":32,"ok":32,"max_ok_gas":21526,"sum_ok_gas":688832,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":32,"ok":32,"max_ok_gas":185532,"sum_ok_gas":5937024,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":329544,"ok":329544,"max_ok_gas":127893,"sum_ok_gas":25635532962,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":32,"ok":32,"max_ok_gas":21530,"sum_ok_gas":688960,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}]},{"sha256":"bcbccc7544a89d3e3c4c1eb13925fbca1df60c13f71ef2f9852988591a2e438f","stage":"shortlist","raw_counters":[{"role":"Baseline","callback":"afterInitialize","calls":256,"ok":256,"max_ok_gas":21796,"sum_ok_gas":5579776,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":2797710,"ok":2797710,"max_ok_gas":22592,"sum_ok_gas":63124801596,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":256,"ok":256,"max_ok_gas":21526,"sum_ok_gas":5510656,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":256,"ok":256,"max_ok_gas":185532,"sum_ok_gas":47496192,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":2637672,"ok":2637672,"max_ok_gas":147039,"sum_ok_gas":205160947592,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":256,"ok":256,"max_ok_gas":21530,"sum_ok_gas":5511680,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}]},{"sha256":"d148381bd99e2d2ab06537bfbe576ce06b0e0e9ac88b0a35980bd4d942294b10","stage":"screen","raw_counters":[{"role":"Baseline","callback":"afterInitialize","calls":32,"ok":32,"max_ok_gas":21796,"sum_ok_gas":697472,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":389094,"ok":389094,"max_ok_gas":22592,"sum_ok_gas":8779489704,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":32,"ok":32,"max_ok_gas":21526,"sum_ok_gas":688832,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":32,"ok":32,"max_ok_gas":88118,"sum_ok_gas":2819776,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":216021,"ok":216021,"max_ok_gas":77052,"sum_ok_gas":9323477203,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":32,"ok":32,"max_ok_gas":21543,"sum_ok_gas":689376,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}]},{"sha256":"d148381bd99e2d2ab06537bfbe576ce06b0e0e9ac88b0a35980bd4d942294b10","stage":"shortlist","raw_counters":[{"role":"Baseline","callback":"afterInitialize","calls":256,"ok":256,"max_ok_gas":21796,"sum_ok_gas":5579776,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":3103686,"ok":3103686,"max_ok_gas":22592,"sum_ok_gas":70031260272,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":256,"ok":256,"max_ok_gas":21526,"sum_ok_gas":5510656,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":256,"ok":256,"max_ok_gas":88118,"sum_ok_gas":22558208,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":1721954,"ok":1721954,"max_ok_gas":77064,"sum_ok_gas":74315211005,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":256,"ok":256,"max_ok_gas":21543,"sum_ok_gas":5515008,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}]},{"sha256":"f24b6ca198b744c380842c3a17964a6dc21f311bb04984b26733afa3fee8eaf2","stage":"screen","raw_counters":[{"role":"Baseline","callback":"afterInitialize","calls":32,"ok":32,"max_ok_gas":21796,"sum_ok_gas":697472,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":347681,"ok":347681,"max_ok_gas":22592,"sum_ok_gas":7844739256,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":32,"ok":32,"max_ok_gas":21526,"sum_ok_gas":688832,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":32,"ok":32,"max_ok_gas":243099,"sum_ok_gas":7779168,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":334336,"ok":334336,"max_ok_gas":197184,"sum_ok_gas":39335592284,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":32,"ok":32,"max_ok_gas":21607,"sum_ok_gas":691424,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}]},{"sha256":"f24b6ca198b744c380842c3a17964a6dc21f311bb04984b26733afa3fee8eaf2","stage":"shortlist","raw_counters":[{"role":"Baseline","callback":"afterInitialize","calls":256,"ok":256,"max_ok_gas":21796,"sum_ok_gas":5579776,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"afterSwap","calls":2778010,"ok":2778010,"max_ok_gas":22592,"sum_ok_gas":62680188392,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Baseline","callback":"getName","calls":256,"ok":256,"max_ok_gas":21526,"sum_ok_gas":5510656,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterInitialize","calls":256,"ok":256,"max_ok_gas":243099,"sum_ok_gas":62233344,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"afterSwap","calls":2678625,"ok":2678625,"max_ok_gas":202386,"sum_ok_gas":315113268856,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},{"role":"Submission","callback":"getName","calls":256,"ok":256,"max_ok_gas":21607,"sum_ok_gas":5531392,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}]}],"paired_evidence":[{"sha256":"bcbccc7544a89d3e3c4c1eb13925fbca1df60c13f71ef2f9852988591a2e438f","stage":"screen","seed_start":900000,"n":32,"paired_total_differences_in_seed_order":[-3.1418054971883294,-1.9069175110657852,-4.3401015266649665,-2.2913595439413257,-0.14005676016233792,-5.428194593183548,-2.8452963845703607,-2.770546692303128,-2.600819631314039,-2.8030970380760323,-4.691139704285888,-2.510909334647181,-4.105758131054017,-1.5948425102188821,-4.4456537935558345,-2.573265096352088,-1.6179022762693194,-4.878984596833789,-1.2239363364377027,-1.7319487047585085,-2.365889603764572,-3.90538649193752,-5.225871391006194,-4.192326434066047,-2.705198019457953,-4.598732433260352,-1.8639234276830052,-1.2206403206479308,-1.206866385769672,-3.3376120545156027,-2.39442008783368,-1.3192783269571464],"measurement_json_sha256":"f5da4507c7678508c09074e1896b9669b5ac878f1a620117732a246a588d9ad2"},{"sha256":"bcbccc7544a89d3e3c4c1eb13925fbca1df60c13f71ef2f9852988591a2e438f","stage":"shortlist","seed_start":901000,"n":256,"paired_total_differences_in_seed_order":[-3.9288327072047196,-2.7589004063260063,-2.020363547789657,-1.3436787792680889,-1.1813046563412968,-2.5375571025773525,-3.518918074571559,-2.0843025758772455,-4.20852173690696,-1.802740452972614,-1.9314191938838121,-1.9597481260195764,-1.9738158661853618,-0.8602229870747351,-4.213216532902038,-3.695167069597005,-3.061777649583746,-1.741559305245346,-5.100822194074908,-1.7201412966912812,-0.7172705542118365,-3.8421513356480546,-1.8085160720427211,-2.0604164666359566,-2.6697158497862006,-1.2202797096189215,-2.0290042249702083,-1.9518190862752363,-2.054352556724723,-3.1430866145436767,-1.8164269221905442,-2.938475428812012,-3.587136731068199,-4.850628454866296,-5.102522808238973,-0.812631383843609,-3.6776038569026923,-3.8409653129278354,-1.347190220736934,-2.868295661399941,-0.6735134917552728,-2.159026781451473,-2.5536439143951384,-3.001718608709666,-1.4200265513700288,-2.8329395725961604,-4.6346756406796885,-2.8231083815227294,-5.3075022238934935,-4.325918777918446,-2.742278530246267,-2.8521900949216388,-2.484885237704475,-4.551618009619801,-2.34350261520774,-2.228779286412305,-4.284221245324147,-2.2790083713984473,-2.119837808310308,-2.1884078741084068,-1.6938567569330303,1.7770529747012915,-3.139245251020384,-3.940360770420966,-3.980370665802525,-1.915599034651109,-3.036540039594911,-3.7883345038733296,-4.9847753757547935,-3.1926899367919077,-0.44929153606415184,-1.5398371232470254,-4.763755399239244,-0.722255907424028,-3.1520535016202302,-2.0316898182161367,-2.3636766589202125,0.18460140086187948,-3.803239789279928,-1.3780994819002217,-2.3124722927481685,-2.56343267869039,-3.1864998773672255,-3.62499723372855,-5.0871982981325345,-2.274508825573264,-1.4740683032873676,-1.9234011541406062,-0.35901382676809135,-4.2720128907349135,-2.4837869826491215,-1.4541867579110885,-3.0090876623949043,-2.2396064032212166,-2.2255294371634022,-1.8829741706334744,-2.8203341274697777,-1.3922359380619014,-2.872293505170319,-2.0590874208074865,-4.126454977246112,-3.5898271378653135,-3.5817607224887524,-0.9419939820768946,-3.91700282374768,-3.80637599352076,-3.2248003374638188,-4.16134315207097,-2.763442295371533,-0.11324717384223959,-1.3722202897499756,-2.870345140918971,-3.8337127031676346,-3.729058156834867,-1.003113518646444,-2.3958806216596145,-1.5104558196314883,-1.9906012328127076,-2.8935216898571525,-2.6231157207581646,-1.592742788994542,-3.546349303988791,-4.322574672728706,-2.7483307464285645,-2.1356596645980517,-1.8497754381997993,-2.1049982255046302,-1.056937096796787,-3.25016718816687,-2.852709304231894,-2.297478798830923,-2.5468668936337053,-0.7573621545826654,-5.570670043617838,-2.3787473811250948,-1.3592063395001333,-3.4636873382930844,-0.6008020197127735,-2.679755126236955,-3.714914490827937,-4.312877051722921,-4.902536192277239,-5.0526097928443505,-1.8873423629662511,-2.185212931615581,-3.663220624198175,-3.238030969706756,-3.655115028251771,-2.5698248300045634,-2.9391761781245123,-1.0065816461211625,-2.1608934406162916,-2.9367442775873087,-2.8534798383662974,-2.592299800984904,-2.999038730330767,-9.29795016706089,-2.946742348822852,-1.7810710225646744,-3.3480179493126343,-3.1348049641523517,-2.92736081464534,-1.6096391687458436,-4.05922291108493,-3.0595303424167355,-2.4422514631773993,-1.9284152548571,-2.026143910989731,-3.338816350604361,-2.7188621708179426,-2.684155899771156,-1.8922639502728202,-2.3398004572099467,-2.688411109847152,-3.181289086494644,-2.6739846817230273,-1.8257332224511629,-2.1403717163408373,-1.7764967768721363,-1.253326277567055,-8.009805892983081,-3.5157776754192582,-3.326820117095167,-2.768050140949299,-1.7943832447735986,-1.6406573141752006,-3.4958367358027544,-1.632988516196633,-2.056039452337302,-2.580640827428624,-3.520045349796476,-2.499933288101488,-3.0360106950281533,-2.433318033911405,-2.537487756982614,-4.248460587926445,-2.7004526861282443,-1.5354559548070483,-2.749084336765975,-2.201966115030359,-3.712054147113463,-3.139588389036703,-2.640372683316855,-2.3094531820862017,-5.373609550495189,-4.264884595704643,-2.947660519412807,-3.09520299054833,-4.877135483237225,-4.728995101403143,-1.189139240743657,-3.1700260030130494,-1.9892129706136643,-4.049515324140998,-3.7248040540725356,-1.766224770619715,-3.005284702324275,-1.0544058446479312,-3.8724714193670025,-2.3103141558084985,-2.216182503760365,-3.393390716573265,-2.507480343462248,-0.41234736175636044,-2.503840274037202,-3.016909789596866,-2.483529645880026,-2.7702897109284095,-2.47632904135844,-2.5761269818902406,-0.9721637431921408,-2.4406239153164506,-1.6260781362125272,-2.7250084926181444,-3.360575487299343,-2.6582903464750984,-3.6883932787535514,-3.9593874660548636,-2.322946790947242,-3.633444125260837,-3.416378393094078,-2.7147852011615896,-4.088888360673593,-1.8127584871015756,-2.7926392033137972,-2.5222734698996874,-0.4293052690195509,-4.432063680723786,-2.373479140186305,-3.6526969088989745,-2.997647694678733,-3.220411533171614,-2.708985773394545,-1.9522226309695725,-3.8559098306043325,-2.3677437219704416],"measurement_json_sha256":"02c5be33eb2dfdd03dbe0f47ac57a19d6ae31d165247d6f7c10999bc895e709d"},{"sha256":"d148381bd99e2d2ab06537bfbe576ce06b0e0e9ac88b0a35980bd4d942294b10","stage":"screen","seed_start":900000,"n":32,"paired_total_differences_in_seed_order":[-132.35498572954788,-102.00748208851581,-147.7768572825898,-91.9941001233338,-218.2979047312889,-191.35279568079835,-176.32635079049186,-146.6224866886215,-108.36694299975335,-135.73375023630132,-174.27413011179232,-118.0226135896607,-166.38391037726205,-242.0166829790856,-134.43114724142634,-187.18743700392014,-197.016252598571,-195.42947074646156,-136.41882485576764,-151.44747216564497,-138.05015479299033,-182.28815904145978,-187.35244551390207,-115.13643077330102,-175.67773517837065,-275.66012353835885,-137.3197393996664,-155.05227852171708,-216.14781039260663,-229.67549639053993,-132.7583720738682,-94.7143958933666],"measurement_json_sha256":"640da7c0bce4d1fc3677338ca27d508a97721d7354285919f4b8872f8071ade2"},{"sha256":"d148381bd99e2d2ab06537bfbe576ce06b0e0e9ac88b0a35980bd4d942294b10","stage":"shortlist","seed_start":901000,"n":256,"paired_total_differences_in_seed_order":[-157.59290205056828,-130.2830882475315,-204.22910279461962,-210.67654376315846,-142.2183955866991,-161.65800859126244,-125.8468444097432,-220.44449981920218,-154.91869385753637,-132.4256649603114,-212.9728587286886,-212.5966415481522,-94.9493173618244,-139.82944005355773,-184.18978663662892,-162.86847667427247,-117.20423091437794,-189.1369666616664,-134.07715561753196,-97.32873487677409,-113.51694299504379,-223.4065456483636,-194.19199638121484,-174.1353617625814,-117.6185214364827,-160.49870017609612,-164.81122480242567,-192.38610299610707,-107.6108655320636,-176.78269384125088,-216.2896384577689,-165.51322954435403,-183.64038261916994,-203.79682705519735,-160.33280813928138,-157.8419146113224,-125.83806514186477,-111.63812122387867,-133.3114162231007,-97.32093834744211,-108.37500513309959,-129.32556099492274,-179.91193509930764,-150.114875963835,-124.58581946107398,-114.90173359776901,-160.07773886504498,-180.73898162856295,-175.79558374882714,-165.74800121760416,-135.32245558223383,-116.1218289409864,-158.99864323354143,-144.5223194604876,-181.06287080862052,-131.73957096076623,-152.6383967472314,-128.14626681317162,-123.8139728511996,-211.86049449837537,-99.76783684235261,-222.77645274763677,-139.13429434851696,-181.13234514149372,-151.14881944172498,-147.6779985679742,-162.48721874921688,-159.68392992809197,-216.1852311979547,-165.418576891557,-196.80432468410316,-141.50145488027493,-137.20616284145433,-202.91194056033436,-201.72684297394596,-186.98855967541255,-150.401650139178,-187.98547138240127,-147.48379751167494,-223.98536883844872,-128.03917952885217,-150.5177580795513,-101.76928200002163,-139.19195613060714,-112.20159768983564,-103.95931757895391,-146.34496106076125,-180.03767205446792,-103.67843057839951,-241.7910248670551,-159.1547239280157,-155.85529586497955,-144.5468620558264,-180.77905648692064,-134.5018070290945,-293.49753310685537,-161.31997283379002,-159.18541986668407,-190.3270911345719,-173.98982241581763,-176.9757992609001,-153.65735730798565,-188.45793662951422,-126.65314757463398,-182.8842535472873,-269.0251961884981,-133.71438252862004,-129.17115648119568,-113.31357010037135,-118.64821636909801,-200.78355391526395,-129.4377817923144,-173.66252007586064,-167.12163130178556,-154.4010018209077,-110.37571163556606,-143.27047668209497,-137.9713278049186,-142.74325571156055,-161.11200016519774,-183.42793502184696,-164.37742199120032,-140.66152272957817,-83.22256580901717,-310.0105020512874,-124.42455884926721,-172.32876830855423,-120.77494754521143,-145.95908756368635,-169.39186835305208,-125.59801157172598,-179.3878886585651,-163.4041598221388,-255.2430062433503,-127.23135560314876,-265.04338000426395,-150.0114154671512,-114.20877010934726,-176.08760283241054,-231.22659692393978,-139.7458192811461,-139.29986714927435,-182.34210718934906,-160.74811823502108,-156.0253097411046,-180.50531758635208,-188.05864104363064,-133.96603794743703,-133.3465474126495,-154.38441446221594,-111.19873739543976,-175.83849269954942,-153.90997560797098,-187.27734489256142,-112.98918319140768,-188.73249000926864,-203.7101006497167,-136.67951139901533,-161.65016754081694,-91.37815955082942,-106.35128896306031,-190.63366256260474,-162.30880410523793,-180.4029700569261,-122.48872122623914,-160.40338765580674,-177.52639678910322,-159.0341147901015,-175.41268280737478,-333.98965629220277,-110.30625291248464,-121.95874490871569,-111.2565083235765,-170.6194636915357,-147.35829353657948,-176.3188162908392,-140.29641331130847,-141.70531883226153,-120.53824367304168,-115.6796986961973,-157.71827494985257,-223.31816697426024,-158.52886217060706,-146.45656435437985,-136.0053168588164,-256.5198357021767,-155.44906944001548,-240.08755861551055,-143.62234645725937,-236.50745701173736,-129.3619795330029,-124.40706694731017,-148.01095886231553,-110.65408184135595,-155.39555970857924,-131.62787148819342,-137.63595259287774,-181.16848966682988,-139.4687648831885,-157.45650346795588,-147.9992400778758,-154.1981847736938,-110.97594669370926,-98.9882055379307,-139.60350448063258,-150.5832834685798,-243.77777127113433,-99.05398070104917,-166.61094166461982,-180.41495948130614,-196.2894524760195,-107.25946880736979,-117.39073046893503,-171.48914650972188,-122.58412944553635,-214.3437385998509,-187.22878001160905,-226.60503920873424,-175.78795139343532,-138.36811564558286,-167.9918892398365,-126.13179200541623,-117.17337833206102,-259.9030636611001,-142.49320353582374,-141.26535579094275,-128.33304778523575,-180.18798982120063,-181.8240211913742,-110.41736354588471,-135.29441867617112,-110.95936453696294,-245.99515253914308,-139.47077856560912,-256.3786549478741,-181.80657577207103,-124.83153698619094,-166.34231395322092,-108.47424149237253,-181.9326758152793,-136.09726803011665,-293.4802029557238,-115.4573713882271,-104.26110904870666,-120.52997624728738,-121.51438717335787,-154.8087416196563,-150.67153342097237,-110.24943353146227,-118.50730930688076,-128.16282116226103,-121.50746092974163,-133.12140083062496,-101.24983292586461,-151.6491233544068,-146.08863864249014],"measurement_json_sha256":"dc4dea34ada1abfbe4d787489cd41a24260f051b3805e41c548b897fc448a89c"}],"notes":["No substitution is recommended: the best mined file, godknows, loses 2.730905464885787 mean edge to RS2 over 256 paired seeds (SE 0.07757919730518127).","The top3 array has two entries because only two original files pass validation. The invalid EricForgy V2 starter has d32=null and oog=null because it was not simulated.","sisyphusSmiling main is the pinned upstream; its other three heads contain two unrelated Merkle-drop Solidity files with no afterSwap implementation. Both muttoni heads have only the byte-identical upstream afterSwap implementations.","godknows adds cubic toxicity and changes stale-side/surcharge behavior within the existing family; its measured loss gives no evidence of a new winning mechanism. AdaptiveFeeStrategy uses a different classifier/relaxation rule but loses predominantly through arbitrage.","Followed the item-specific RS2 baseline and 32/256 seed blocks. These results do not estimate paired gains versus STACK and make no leaderboard-improvement claim.","Retail and arbitrage deltas use strategy-specific initial fees: RS2 4 bps, godknows 3 bps, AdaptiveFeeStrategy 50 bps. Diagnostic paths with zero submission retail volume agree with reconstructed arbitrage edge to within 9.1e-12.","Original candidate source bytes were not modified. The full source above is the best of the mined files even though it underperforms RS2.","All work outside the two requested output files is temporary test/scratch work. The deliverables have no installed runtime dependency."]}
