{"code":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {AMMStrategyBase} from \"./AMMStrategyBase.sol\";\nimport {TradeInfo} from \"./IAMMStrategy.sol\";\n\ncontract Strategy is AMMStrategyBase {\n    uint256 constant ELAPSED_CAP = 8;\n    uint256 constant SIGNAL_THRESHOLD = WAD / 650;\n    uint256 constant DIR_DECAY = 750000000000000000;\n    uint256 constant ACT_DECAY = 530000000000000000;\n    uint256 constant SIZE_DECAY = 530000000000000000;\n    uint256 constant TOX_DECAY = 910000000000000000;\n    uint256 constant SIGMA_DECAY = 690000000000000000;\n    uint256 constant LAMBDA_DECAY = 990000000000000000;\n    uint256 constant SIZE_BLEND_DECAY = 828000000000000000;\n    uint256 constant TOX_BLEND_DECAY = 51000000000000000;\n    uint256 constant ACT_BLEND_DECAY = 985000000000000000;\n    uint256 constant PHAT_ALPHA = 270000000000000000;\n    uint256 constant PHAT_ALPHA_RETAIL = 60000000000000000;\n    uint256 constant PHAT_ALPHA_SAME = 120000000000000000;\n    uint256 constant REVERT_U = 0;\n    uint256 constant DIR_IMPACT_MULT = 4;\n    uint256 constant GATE_SIGMA_MULT = 7200000000000000000;\n    uint256 constant MIN_GATE = 30000000000000000;\n    uint256 constant TRADE_TOX_BOOST = 3500 * BPS;\n    uint256 constant STALE_ATTRACT_FRAC = 1050000000000000000;\n    uint256 constant RET_CAP = WAD / 35;\n    uint256 constant TOX_CAP = WAD / 5;\n    uint256 constant TRADE_RATIO_CAP = WAD / 5;\n    uint256 constant LAMBDA_CAP = 1820000000000000000;\n    uint256 constant STEP_COUNT_CAP = 64;\n    uint256 constant BASE_FEE = 4 * BPS;\n    uint256 constant SIGMA_COEF = 200000000000000000;\n    uint256 constant LAMBDA_COEF = 12 * BPS;\n    uint256 constant FLOW_SIZE_COEF = 4842 * BPS;\n    uint256 constant TOX_COEF = 300 * BPS;\n    uint256 constant TOX_QUAD_COEF = 15000 * BPS;\n    uint256 constant ACT_COEF = 91843 * BPS;\n    uint256 constant DIR_COEF = 20 * BPS;\n    uint256 constant DIR_TOX_COEF = 100 * BPS;\n    uint256 constant STALE_DIR_COEF = 6850 * BPS;\n    uint256 constant SIGMA_TOX_COEF = 500 * BPS;\n    uint256 constant TAIL_KNEE = 600 * BPS;\n    uint256 constant TAIL_SLOPE_PROTECT = 930000000000000000;\n    uint256 constant TAIL_SLOPE_ATTRACT = 850000000000000000;\n\n    function afterInitialize(uint256 initialX, uint256 initialY) external override returns (uint256, uint256) {\n        slots[0] = BASE_FEE; slots[1] = BASE_FEE; slots[3] = WAD; \n        slots[5] = initialX > 0 ? wdiv(initialY, initialX) : 100 * WAD;\n        slots[6] = 950000000000000; slots[7] = 800000000000000000; slots[8] = 2000000000000000;\n        slots[13] = 902500000000; slots[14] = slots[5]; \n        return (BASE_FEE, BASE_FEE);\n    }\n\n    function afterSwap(TradeInfo calldata trade) external override returns (uint256, uint256) {\n        uint256 prevBidFee = slots[0]; uint256 prevAskFee = slots[1]; uint256 lastTs = uint64(slots[2]);\n        uint256 dirState = slots[3]; uint256 actEma = slots[4]; uint256 pHat = slots[5];\n        uint256 sigmaHat = slots[6]; uint256 lambdaHat = slots[7]; uint256 sizeHat = slots[8];\n        uint256 toxEma = slots[9]; uint256 stepTradeCount = slots[10];\n\n        uint256 sigmaForFast = sigmaHat;\n        uint256 fastHat = slots[14];\n        uint256 uncertainty = slots[13];\n        uint256 silent = trade.timestamp > lastTs ? trade.timestamp - lastTs : 0;\n        bool isNewStep = trade.timestamp > lastTs;\n        if (isNewStep) {\n            uint256 elapsedRaw = trade.timestamp - lastTs;\n            uint256 elapsed = elapsedRaw > ELAPSED_CAP ? ELAPSED_CAP : elapsedRaw;\n            dirState = _decayCentered(dirState, DIR_DECAY, elapsed);\n            actEma = wmul(actEma, _powWad(ACT_DECAY, elapsed));\n            sizeHat = wmul(sizeHat, _powWad(SIZE_DECAY, elapsed));\n            toxEma = wmul(toxEma, _powWad(TOX_DECAY, elapsed));\n            if (stepTradeCount > 0 && elapsedRaw > 0) {\n                uint256 lambdaInst = (stepTradeCount * WAD) / elapsedRaw;\n                if (lambdaInst > LAMBDA_CAP) lambdaInst = LAMBDA_CAP;\n                lambdaHat = wmul(lambdaHat, LAMBDA_DECAY) + wmul(lambdaInst, WAD - LAMBDA_DECAY);\n            }\n            uncertainty += wmul(sigmaForFast, sigmaForFast) * elapsedRaw;\n            if (uncertainty > 100000000000000) uncertainty = 100000000000000;\n            stepTradeCount = 0;\n        }\n\n        bool firstInStep = stepTradeCount == 0;\n        uint256 spot = trade.reserveX > 0 ? wdiv(trade.reserveY, trade.reserveX) : pHat;\n        if (pHat == 0) pHat = spot;\n\n        uint256 feeUsed = trade.isBuy ? prevBidFee : prevAskFee;\n        uint256 gamma = feeUsed < WAD ? WAD - feeUsed : 0;\n        uint256 pImplied;\n        if (gamma == 0) { pImplied = spot; }\n        else { pImplied = trade.isBuy ? wmul(spot, gamma) : wdiv(spot, gamma); }\n\n        // S: infer a no-trade interval center from the last post-trade spot.\n        uint256 silenceScale = WAD;\n        if (firstInStep && silent > 1) {\n            uint256 g = silent - 1;\n            if (g > 1) g = 1;\n            uint256 w = WAD - _powWad(800000000000000000, g);\n            uint256 s = slots[2] >> 64;\n            if (s == 0) s = pHat;\n            uint256 c = (wmul(s, WAD - prevBidFee) + wdiv(s, WAD - prevAskFee)) / 2;\n            if (c >= pHat) pHat += wmul(w, c - pHat);\n            else pHat -= wmul(w, pHat - c);\n            silenceScale = WAD - wmul(300000000000000000, w);\n        }\n\n        {\n            uint256 ret = pHat > 0 ? wdiv(absDiff(pImplied, pHat), pHat) : 0;\n            uint256 alpha = firstInStep ? PHAT_ALPHA : PHAT_ALPHA_RETAIL;\n            uint256 prePhat = pHat;\n            bool secondPrint = !firstInStep && stepTradeCount == 1;\n            bool sameDir = false; bool oppDir = false;\n            if (secondPrint) {\n                bool up2 = pImplied >= pHat;\n                uint256 d1 = slots[12];\n                if (d1 != 0) { sameDir = (d1 == 1) == up2; oppDir = !sameDir; }\n                if (sameDir) alpha = PHAT_ALPHA_SAME;\n            }\n            if (firstInStep) { slots[12] = pImplied >= pHat ? 1 : 2; }\n            uint256 adaptiveGate = wmul(sigmaHat, GATE_SIGMA_MULT);\n            if (adaptiveGate < MIN_GATE) adaptiveGate = MIN_GATE;\n            alpha = wmul(alpha, silenceScale);\n            adaptiveGate = wmul(adaptiveGate, silenceScale);\n            if (ret <= adaptiveGate) { pHat = wmul(pHat, WAD - alpha) + wmul(pImplied, alpha); }\n            if (oppDir && REVERT_U > 0) {\n                uint256 pre = slots[11];\n                if (pre > pHat) pHat = pHat + wmul(pre - pHat, REVERT_U);\n                else pHat = pHat - wmul(pHat - pre, REVERT_U);\n            }\n            if (firstInStep) {\n                if (ret > RET_CAP) ret = RET_CAP;\n                sigmaHat = wmul(sigmaHat, SIGMA_DECAY) + wmul(ret, WAD - SIGMA_DECAY);\n            }\n        }\n\n        // Interior retail routing equalizes fee-adjusted marginal prices.\n        // Subsequent trades in a step cannot be the initial arbitrage trade.\n        if (!firstInStep && feeUsed > 30 * BPS && gamma > 0) {\n            uint256 normalSpot = trade.isBuy\n                ? wdiv(wmul(spot, gamma), WAD - 30 * BPS)\n                : wdiv(wmul(spot, WAD - 30 * BPS), gamma);\n            pHat = wmul(pHat, 90 * WAD / 100) + wmul(normalSpot, 10 * WAD / 100);\n        }\n\n        {\n            uint256 ret = fastHat > 0 ? wdiv(absDiff(pImplied, fastHat), fastHat) : 0;\n            uint256 alpha;\n            if (firstInStep) {\n                uint256 processSigma = sigmaForFast;\n                uint256 obsVar = uncertainty + wmul(processSigma, processSigma);\n                uint256 probArb;\n                uint256 z2 = wdiv(wmul(ret, ret), obsVar);\n                uint256 density = _powWad(wdiv(WAD, WAD + z2 / 16), 8);\n                uint256 sigmaObs = _isqrt(obsVar * WAD);\n                uint256 odds = wmul(density, wdiv(6700000000000000, sigmaObs));\n                bool arbFlag = ret <= wmul(sigmaForFast, 1220000000000000000);\n                uint256 prior = arbFlag ? 650000000000000000 : 400000000000000000;\n                uint256 tr = trade.reserveY > 0 ? wdiv(trade.amountY, trade.reserveY) : 0;\n                if (tr > 3000000000000000) prior = wmul(prior, 6 * WAD / 10);\n                if (silent > 1) prior = wmul(prior, 8 * WAD / 10);\n                odds = wmul(odds, wdiv(prior, WAD - prior));\n                probArb = wdiv(odds, WAD + odds);\n                alpha = wmul(probArb, 600000000000000000) + wmul(WAD - probArb, 80000000000000000);\n                slots[15] = pImplied >= fastHat ? 1 : 2;\n                uncertainty = wmul(uncertainty, WAD - alpha);\n            } else {\n                if ((slots[15] == 1) == (pImplied >= fastHat)) alpha = PHAT_ALPHA_RETAIL;\n            }\n            uint256 gate = wmul(sigmaHat, GATE_SIGMA_MULT);\n            if (gate < MIN_GATE) gate = MIN_GATE;\n            if (ret <= gate) fastHat = wmul(fastHat, WAD - alpha) + wmul(pImplied, alpha);\n            slots[13] = uncertainty;\n        }\n\n        if (!firstInStep && feeUsed > 30 * BPS && gamma > 0) {\n            uint256 normalObs = trade.isBuy\n                ? wdiv(wmul(spot, gamma), WAD - 30 * BPS)\n                : wdiv(wmul(spot, WAD - 30 * BPS), gamma);\n            if ((slots[15] == 1) == (normalObs >= fastHat)) {\n                fastHat = wmul(fastHat, 9 * WAD / 10) + wmul(normalObs, WAD / 10);\n            }\n        }\n        slots[14] = fastHat;\n        uint256 tradeRatio = trade.reserveY > 0 ? wdiv(trade.amountY, trade.reserveY) : 0;\n        if (tradeRatio > TRADE_RATIO_CAP) tradeRatio = TRADE_RATIO_CAP;\n\n        if (tradeRatio > SIGNAL_THRESHOLD) {\n            uint256 push = tradeRatio * DIR_IMPACT_MULT;\n            if (push > WAD / 4) push = WAD / 4;\n            if (trade.isBuy) {\n                dirState = dirState + push;\n                if (dirState > 2 * WAD) dirState = 2 * WAD;\n            } else {\n                dirState = dirState > push ? dirState - push : 0;\n            }\n            actEma = wmul(actEma, ACT_BLEND_DECAY) + wmul(tradeRatio, WAD - ACT_BLEND_DECAY);\n            sizeHat = wmul(sizeHat, SIZE_BLEND_DECAY) + wmul(tradeRatio, WAD - SIZE_BLEND_DECAY);\n            if (sizeHat > WAD) sizeHat = WAD;\n        }\n\n        uint256 tox = pHat > 0 ? wdiv(absDiff(spot, pHat), pHat) : 0;\n        if (tox > TOX_CAP) tox = TOX_CAP;\n        toxEma = wmul(toxEma, TOX_BLEND_DECAY) + wmul(tox, WAD - TOX_BLEND_DECAY);\n        uint256 toxSignal = toxEma;\n\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 staleHat = wmul(pHat, 700000000000000000) + wmul(fastHat, 300000000000000000);\n            uint256 staleTox = wdiv(absDiff(spot, staleHat), staleHat);\n            if (staleTox > TOX_CAP) staleTox = TOX_CAP;\n            uint256 staleShift = wmul(STALE_DIR_COEF, staleTox);\n            uint256 attractShift = wmul(staleShift, STALE_ATTRACT_FRAC);\n            if (spot >= staleHat) {\n                bidFee = bidFee + staleShift;\n                askFee = askFee > attractShift ? askFee - attractShift : 0;\n            } else {\n                askFee = askFee + staleShift;\n                bidFee = bidFee > attractShift ? bidFee - attractShift : 0;\n            }\n        }\n\n        {\n            bool tradeAligned = (trade.isBuy && spot >= pHat) || (!trade.isBuy && spot < pHat);\n            if (tradeAligned) {\n                uint256 tradeBoost = wmul(TRADE_TOX_BOOST, tradeRatio);\n                if (!firstInStep && tradeBoost > 16 * BPS) tradeBoost = 16 * BPS;\n                if (trade.isBuy) { bidFee = bidFee + tradeBoost; }\n                else { askFee = askFee + tradeBoost; }\n            }\n        }\n\n        if (sellPressure) {\n            bidFee = clampFee(_compressTailWithSlope(bidFee, TAIL_SLOPE_PROTECT));\n            askFee = clampFee(_compressTailWithSlope(askFee, TAIL_SLOPE_ATTRACT));\n        } else {\n            askFee = clampFee(_compressTailWithSlope(askFee, TAIL_SLOPE_PROTECT));\n            bidFee = clampFee(_compressTailWithSlope(bidFee, TAIL_SLOPE_ATTRACT));\n        }\n\n        if (firstInStep) {\n            if (askFee > bidFee && bidFee > 30 * BPS) bidFee = 30 * BPS;\n            else if (bidFee > askFee && askFee > 30 * BPS) askFee = 30 * BPS;\n        }\n\n        if (bidFee > askFee && askFee > 36 * BPS) askFee = 36 * BPS;\n        else if (askFee > bidFee && bidFee > 36 * BPS) bidFee = 36 * BPS;\n\n        slots[0] = bidFee; slots[1] = askFee; slots[2] = (spot << 64) | trade.timestamp;\n        slots[3] = dirState; slots[4] = actEma; slots[5] = pHat;\n        slots[6] = sigmaHat; slots[7] = lambdaHat; slots[8] = sizeHat;\n        slots[9] = toxEma; slots[10] = stepTradeCount;\n\n        return (bidFee, askFee);\n    }\n\n    function _compressTailWithSlope(uint256 fee, uint256 slope) internal pure returns (uint256) {\n        if (fee <= TAIL_KNEE) return fee;\n        return TAIL_KNEE + wmul(fee - TAIL_KNEE, slope);\n    }\n\n    function _powWad(uint256 factor, uint256 exp) internal pure returns (uint256 result) {\n        result = WAD;\n        while (exp > 0) {\n            if (exp & 1 == 1) result = wmul(result, factor);\n            factor = wmul(factor, factor);\n            exp >>= 1;\n        }\n    }\n\n    function _decayCentered(uint256 centered, uint256 decayFactor, uint256 elapsed) internal pure returns (uint256) {\n        uint256 mul = _powWad(decayFactor, elapsed);\n        if (centered >= WAD) { return WAD + wmul(centered - WAD, mul); }\n        uint256 below = wmul(WAD - centered, mul);\n        return below < WAD ? WAD - below : 0;\n    }\n\n    // Floor square root: bit-length seed and seven Newton steps (all uint256).\n    function _isqrt(uint256 x) internal pure returns (uint256 r) {\n        if (x == 0) return 0;\n        unchecked {\n            uint256 y = x;\n            r = 1;\n            if (y >> 128 != 0) { y >>= 128; r <<= 64; }\n            if (y >> 64 != 0) { y >>= 64; r <<= 32; }\n            if (y >> 32 != 0) { y >>= 32; r <<= 16; }\n            if (y >> 16 != 0) { y >>= 16; r <<= 8; }\n            if (y >> 8 != 0) { y >>= 8; r <<= 4; }\n            if (y >> 4 != 0) { y >>= 4; r <<= 2; }\n            if (y >> 2 != 0) { r <<= 1; }\n            r = (r + x / r) >> 1;\n            r = (r + x / r) >> 1;\n            r = (r + x / r) >> 1;\n            r = (r + x / r) >> 1;\n            r = (r + x / r) >> 1;\n            r = (r + x / r) >> 1;\n            r = (r + x / r) >> 1;\n            uint256 t = x / r;\n            return r < t ? r : t;\n        }\n    }\n\n    function getName() external pure override returns (string memory) { return \"no_cubic\"; }\n}\n","sha256":"2eaafc7960e520b8a7fd322ec8afaff8fa677c730228a961efb509cc30b25719","base_sha256":"610c1905e7dd5559b84e40a3b2d6f8e0b53a7b0ac7574ae33b6c1770a28367cb","v2_sha256":"28417e116f57f1029fdd1803832e852574902c1ae7253c05657f317db76da4ab","blocked":null,"freeze":{"name":"STACK","sha256":"2eaafc7960e520b8a7fd322ec8afaff8fa677c730228a961efb509cc30b25719","time":"2026-11-08T06:32:31.158587+00:00","best_screen":"K12","best_minus_stack":{"n":256,"mean_diff":0.0011321370625476668,"se":0.003913479870991136},"selection_rule":"Largest valid mean; retain STACK unless improvement exceeds one SE of paired candidate-minus-STACK difference."},"screened_variants":[{"name":"STACK","params":{"K":16,"R1":30,"R2":36,"k":1,"f":1,"s":1},"sha256":"2eaafc7960e520b8a7fd322ec8afaff8fa677c730228a961efb509cc30b25719","n":256,"mean_diff":0.031942311565621884,"se":0.011109087850860736,"valid":true},{"name":"K8","params":{"K":8,"R1":30,"R2":36,"k":1,"f":1,"s":1},"sha256":"3f513a0f6f27e6c6486cc893ab2a68f631734ac3804afe201cc4bcf39565bf8c","n":256,"mean_diff":0.014924004438156002,"se":0.013429096169894203,"valid":true},{"name":"K12","params":{"K":12,"R1":30,"R2":36,"k":1,"f":1,"s":1},"sha256":"1a09260bd405ae713565f0a607eb90acabdd705fa14a0a6acdf6221bedc84b5b","n":256,"mean_diff":0.03307444862816955,"se":0.011707227422484182,"valid":true},{"name":"K24","params":{"K":24,"R1":30,"R2":36,"k":1,"f":1,"s":1},"sha256":"0d73b213446dad05e0d6edeff5c4227db230b5acc3b65c52861af41c87179c93","n":256,"mean_diff":0.023088533976892256,"se":0.010952806645738453,"valid":true},{"name":"K32","params":{"K":32,"R1":30,"R2":36,"k":1,"f":1,"s":1},"sha256":"d5dd881adb29e1500374d712deebbf57f47b68511034ab74678fc8a271159aa9","n":256,"mean_diff":0.025467743373775553,"se":0.010119547930895008,"valid":true}],"runs":[{"name":"screen_STACK","seeds":[60000,60256],"sha256":"2eaafc7960e520b8a7fd322ec8afaff8fa677c730228a961efb509cc30b25719","reference_sha256":"28417e116f57f1029fdd1803832e852574902c1ae7253c05657f317db76da4ab","paired":{"n":256,"mean_diff":0.031942311565621884,"se":0.011109087850860736,"worst":[{"seed":60211,"diff":-0.861955376142646,"edge_a":516.4492587605696,"edge_b":517.3112141367122},{"seed":60187,"diff":-0.5160684732476284,"edge_a":525.6776607970864,"edge_b":526.1937292703341},{"seed":60157,"diff":-0.34962498745846915,"edge_a":720.6694890128413,"edge_b":721.0191140002997},{"seed":60228,"diff":-0.31048820608953065,"edge_a":563.6293973125207,"edge_b":563.9398855186103},{"seed":60215,"diff":-0.3045727847645594,"edge_a":625.7846782119046,"edge_b":626.0892509966692}]},"valid":true,"invalid_reasons":[],"gas":{"max_ok":209193,"init_max":220962,"oog":0,"other_errors":0,"oog_seeds":[],"by_callback":{"afterInitialize":{"calls":256,"ok":256,"max_ok_gas":220962,"sum_ok_gas":56566272,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"afterSwap":{"calls":2650153,"ok":2650153,"max_ok_gas":209193,"sum_ok_gas":260820641186,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"getName":{"calls":256,"ok":256,"max_ok_gas":21576,"sum_ok_gas":5523456,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}},"normalizer":{"by_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},"afterSwap":{"calls":2757736,"ok":2757736,"max_ok_gas":22592,"sum_ok_gas":62222670488,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"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}},"max_ok":22592,"oog":0,"other_errors":0,"oog_seeds":[]}},"v2_gas":{"max_ok":242788,"init_max":236377,"oog":2,"other_errors":0,"oog_seeds":[[60092,1],[60129,1]],"by_callback":{"afterInitialize":{"calls":256,"ok":256,"max_ok_gas":236377,"sum_ok_gas":60512512,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"afterSwap":{"calls":2648448,"ok":2648446,"max_ok_gas":242788,"sum_ok_gas":295035632652,"oog":2,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"getName":{"calls":256,"ok":256,"max_ok_gas":21545,"sum_ok_gas":5515520,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}},"normalizer":{"by_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},"afterSwap":{"calls":2758270,"ok":2758270,"max_ok_gas":22592,"sum_ok_gas":62234728280,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"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}},"max_ok":22592,"oog":0,"other_errors":0,"oog_seeds":[]}},"retail_edge_delta":{"n":256,"mean":0.02763447526668461,"se":0.01153197623270977},"arb_edge_delta":{"n":256,"mean":0.004307836298887008,"se":0.0034489053364406396},"terciles_by_v2_retail_volume":[{"n":86,"se":0.018375071502404267,"mean_diff":0.031376625890165176,"tercile":"low","v2_retail_volume_y_range":[56951.50348598551,70630.69659420602]},{"n":85,"se":0.019815849492580865,"mean_diff":0.023880873448209005,"tercile":"middle","v2_retail_volume_y_range":[70699.78689611985,82857.45993348995]},{"n":85,"se":0.019705876684270922,"mean_diff":0.04057609048408508,"tercile":"high","v2_retail_volume_y_range":[82940.51181261723,95914.6653069352]}],"seconds":76.591,"checks":[{"complete":true,"counters_per_seed_match_global":true,"max_abs_reconciliation_error":5.8548721426632255e-12,"n_requested":256,"n_returned":256,"error":null},{"complete":true,"counters_per_seed_match_global":true,"max_abs_reconciliation_error":6.934897101018578e-12,"n_requested":256,"n_returned":256,"error":null}]},{"name":"screen_K8","seeds":[60000,60256],"sha256":"3f513a0f6f27e6c6486cc893ab2a68f631734ac3804afe201cc4bcf39565bf8c","reference_sha256":"28417e116f57f1029fdd1803832e852574902c1ae7253c05657f317db76da4ab","paired":{"n":256,"mean_diff":0.014924004438156002,"se":0.013429096169894203,"worst":[{"seed":60161,"diff":-1.0483049907570603,"edge_a":721.4546592762903,"edge_b":722.5029642670473},{"seed":60211,"diff":-0.8307271726536101,"edge_a":516.4804869640586,"edge_b":517.3112141367122},{"seed":60125,"diff":-0.5157436589694271,"edge_a":600.9776003739004,"edge_b":601.4933440328698},{"seed":60170,"diff":-0.4878254560746882,"edge_a":663.8492578509126,"edge_b":664.3370833069873},{"seed":60114,"diff":-0.4752951252199864,"edge_a":528.0360163247205,"edge_b":528.5113114499405}]},"valid":true,"invalid_reasons":[],"gas":{"max_ok":209193,"init_max":220962,"oog":0,"other_errors":0,"oog_seeds":[],"by_callback":{"afterInitialize":{"calls":256,"ok":256,"max_ok_gas":220962,"sum_ok_gas":56566272,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"afterSwap":{"calls":2651446,"ok":2651446,"max_ok_gas":209193,"sum_ok_gas":260945744956,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"getName":{"calls":256,"ok":256,"max_ok_gas":21576,"sum_ok_gas":5523456,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}},"normalizer":{"by_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},"afterSwap":{"calls":2756934,"ok":2756934,"max_ok_gas":22592,"sum_ok_gas":62204579736,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"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}},"max_ok":22592,"oog":0,"other_errors":0,"oog_seeds":[]}},"v2_gas":{"max_ok":242788,"init_max":236377,"oog":2,"other_errors":0,"oog_seeds":[[60092,1],[60129,1]],"by_callback":{"afterInitialize":{"calls":256,"ok":256,"max_ok_gas":236377,"sum_ok_gas":60512512,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"afterSwap":{"calls":2648448,"ok":2648446,"max_ok_gas":242788,"sum_ok_gas":295035632652,"oog":2,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"getName":{"calls":256,"ok":256,"max_ok_gas":21545,"sum_ok_gas":5515520,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}},"normalizer":{"by_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},"afterSwap":{"calls":2758270,"ok":2758270,"max_ok_gas":22592,"sum_ok_gas":62234728280,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"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}},"max_ok":22592,"oog":0,"other_errors":0,"oog_seeds":[]}},"retail_edge_delta":{"n":256,"mean":0.018059847097497084,"se":0.01352256723453551},"arb_edge_delta":{"n":256,"mean":-0.00313584265932057,"se":0.006690166492748295},"terciles_by_v2_retail_volume":[{"n":86,"se":0.020764806261003667,"mean_diff":0.052189555584422266,"tercile":"low","v2_retail_volume_y_range":[56951.50348598551,70630.69659420602]},{"n":85,"se":0.021611397289582113,"mean_diff":-0.0009983227060568905,"tercile":"middle","v2_retail_volume_y_range":[70699.78689611985,82857.45993348995]},{"n":85,"se":0.026738355888168443,"mean_diff":-0.006857637812676972,"tercile":"high","v2_retail_volume_y_range":[82940.51181261723,95914.6653069352]}],"seconds":74.146,"checks":[{"complete":true,"counters_per_seed_match_global":true,"max_abs_reconciliation_error":6.87805368215777e-12,"n_requested":256,"n_returned":256,"error":null},{"complete":true,"counters_per_seed_match_global":true,"max_abs_reconciliation_error":6.934897101018578e-12,"n_requested":256,"n_returned":256,"error":null}]},{"name":"screen_K12","seeds":[60000,60256],"sha256":"1a09260bd405ae713565f0a607eb90acabdd705fa14a0a6acdf6221bedc84b5b","reference_sha256":"28417e116f57f1029fdd1803832e852574902c1ae7253c05657f317db76da4ab","paired":{"n":256,"mean_diff":0.03307444862816955,"se":0.011707227422484182,"worst":[{"seed":60211,"diff":-0.8661161497062722,"edge_a":516.445097987006,"edge_b":517.3112141367122},{"seed":60187,"diff":-0.4692912035067138,"edge_a":525.7244380668274,"edge_b":526.1937292703341},{"seed":60114,"diff":-0.44582431331912176,"edge_a":528.0654871366214,"edge_b":528.5113114499405},{"seed":60009,"diff":-0.3295659739185339,"edge_a":583.8717064322344,"edge_b":584.201272406153},{"seed":60215,"diff":-0.3278118224351374,"edge_a":625.761439174234,"edge_b":626.0892509966692}]},"valid":true,"invalid_reasons":[],"gas":{"max_ok":209190,"init_max":220962,"oog":0,"other_errors":0,"oog_seeds":[],"by_callback":{"afterInitialize":{"calls":256,"ok":256,"max_ok_gas":220962,"sum_ok_gas":56566272,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"afterSwap":{"calls":2650482,"ok":2650482,"max_ok_gas":209190,"sum_ok_gas":260844148249,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"getName":{"calls":256,"ok":256,"max_ok_gas":21576,"sum_ok_gas":5523456,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}},"normalizer":{"by_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},"afterSwap":{"calls":2757527,"ok":2757527,"max_ok_gas":22592,"sum_ok_gas":62217966880,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"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}},"max_ok":22592,"oog":0,"other_errors":0,"oog_seeds":[]}},"v2_gas":{"max_ok":242788,"init_max":236377,"oog":2,"other_errors":0,"oog_seeds":[[60092,1],[60129,1]],"by_callback":{"afterInitialize":{"calls":256,"ok":256,"max_ok_gas":236377,"sum_ok_gas":60512512,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"afterSwap":{"calls":2648448,"ok":2648446,"max_ok_gas":242788,"sum_ok_gas":295035632652,"oog":2,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"getName":{"calls":256,"ok":256,"max_ok_gas":21545,"sum_ok_gas":5515520,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}},"normalizer":{"by_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},"afterSwap":{"calls":2758270,"ok":2758270,"max_ok_gas":22592,"sum_ok_gas":62234728280,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"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}},"max_ok":22592,"oog":0,"other_errors":0,"oog_seeds":[]}},"retail_edge_delta":{"n":256,"mean":0.0282556658413331,"se":0.012248340959022032},"arb_edge_delta":{"n":256,"mean":0.004818782786883441,"se":0.003691204063330756},"terciles_by_v2_retail_volume":[{"n":86,"se":0.019106777012685393,"mean_diff":0.04343018840195248,"tercile":"low","v2_retail_volume_y_range":[56951.50348598551,70630.69659420602]},{"n":85,"se":0.021463113014043272,"mean_diff":0.017551604680544213,"tercile":"middle","v2_retail_volume_y_range":[70699.78689611985,82857.45993348995]},{"n":85,"se":0.020352466451794102,"mean_diff":0.03811972056937921,"tercile":"high","v2_retail_volume_y_range":[82940.51181261723,95914.6653069352]}],"seconds":73.268,"checks":[{"complete":true,"counters_per_seed_match_global":true,"max_abs_reconciliation_error":6.622258297284134e-12,"n_requested":256,"n_returned":256,"error":null},{"complete":true,"counters_per_seed_match_global":true,"max_abs_reconciliation_error":6.934897101018578e-12,"n_requested":256,"n_returned":256,"error":null}]},{"name":"screen_K24","seeds":[60000,60256],"sha256":"0d73b213446dad05e0d6edeff5c4227db230b5acc3b65c52861af41c87179c93","reference_sha256":"28417e116f57f1029fdd1803832e852574902c1ae7253c05657f317db76da4ab","paired":{"n":256,"mean_diff":0.023088533976892256,"se":0.010952806645738453,"worst":[{"seed":60211,"diff":-0.8589141686693438,"edge_a":516.4522999680429,"edge_b":517.3112141367122},{"seed":60187,"diff":-0.5860484303243538,"edge_a":525.6076808400097,"edge_b":526.1937292703341},{"seed":60003,"diff":-0.4801863676480025,"edge_a":719.705625039843,"edge_b":720.185811407491},{"seed":60157,"diff":-0.37713086721828404,"edge_a":720.6419831330815,"edge_b":721.0191140002997},{"seed":60228,"diff":-0.3578157590804949,"edge_a":563.5820697595298,"edge_b":563.9398855186103}]},"valid":true,"invalid_reasons":[],"gas":{"max_ok":209193,"init_max":220962,"oog":0,"other_errors":0,"oog_seeds":[],"by_callback":{"afterInitialize":{"calls":256,"ok":256,"max_ok_gas":220962,"sum_ok_gas":56566272,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"afterSwap":{"calls":2649961,"ok":2649961,"max_ok_gas":209193,"sum_ok_gas":260801083493,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"getName":{"calls":256,"ok":256,"max_ok_gas":21576,"sum_ok_gas":5523456,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}},"normalizer":{"by_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},"afterSwap":{"calls":2757814,"ok":2757814,"max_ok_gas":22592,"sum_ok_gas":62224434812,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"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}},"max_ok":22592,"oog":0,"other_errors":0,"oog_seeds":[]}},"v2_gas":{"max_ok":242788,"init_max":236377,"oog":2,"other_errors":0,"oog_seeds":[[60092,1],[60129,1]],"by_callback":{"afterInitialize":{"calls":256,"ok":256,"max_ok_gas":236377,"sum_ok_gas":60512512,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"afterSwap":{"calls":2648448,"ok":2648446,"max_ok_gas":242788,"sum_ok_gas":295035632652,"oog":2,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"getName":{"calls":256,"ok":256,"max_ok_gas":21545,"sum_ok_gas":5515520,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}},"normalizer":{"by_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},"afterSwap":{"calls":2758270,"ok":2758270,"max_ok_gas":22592,"sum_ok_gas":62234728280,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"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}},"max_ok":22592,"oog":0,"other_errors":0,"oog_seeds":[]}},"retail_edge_delta":{"n":256,"mean":0.01797744543991664,"se":0.011440790504278202},"arb_edge_delta":{"n":256,"mean":0.005111088536984387,"se":0.003247910845285563},"terciles_by_v2_retail_volume":[{"n":86,"se":0.018451879475523934,"mean_diff":0.017578223207592177,"tercile":"low","v2_retail_volume_y_range":[56951.50348598551,70630.69659420602]},{"n":85,"se":0.018900185257653693,"mean_diff":0.02457115484448543,"tercile":"middle","v2_retail_volume_y_range":[70699.78689611985,82857.45993348995]},{"n":85,"se":0.019759222113893707,"mean_diff":0.02718105106412034,"tercile":"high","v2_retail_volume_y_range":[82940.51181261723,95914.6653069352]}],"seconds":77.281,"checks":[{"complete":true,"counters_per_seed_match_global":true,"max_abs_reconciliation_error":6.0822458181064576e-12,"n_requested":256,"n_returned":256,"error":null},{"complete":true,"counters_per_seed_match_global":true,"max_abs_reconciliation_error":6.934897101018578e-12,"n_requested":256,"n_returned":256,"error":null}]},{"name":"screen_K32","seeds":[60000,60256],"sha256":"d5dd881adb29e1500374d712deebbf57f47b68511034ab74678fc8a271159aa9","reference_sha256":"28417e116f57f1029fdd1803832e852574902c1ae7253c05657f317db76da4ab","paired":{"n":256,"mean_diff":0.025467743373775553,"se":0.010119547930895008,"worst":[{"seed":60211,"diff":-0.7255218082699457,"edge_a":516.5856923284423,"edge_b":517.3112141367122},{"seed":60003,"diff":-0.503428254122241,"edge_a":719.6823831533687,"edge_b":720.185811407491},{"seed":60157,"diff":-0.3780569828310263,"edge_a":720.6410570174687,"edge_b":721.0191140002997},{"seed":60009,"diff":-0.3187604532652131,"edge_a":583.8825119528877,"edge_b":584.201272406153},{"seed":60170,"diff":-0.28718108710017987,"edge_a":664.0499022198871,"edge_b":664.3370833069873}]},"valid":true,"invalid_reasons":[],"gas":{"max_ok":209193,"init_max":220962,"oog":0,"other_errors":0,"oog_seeds":[],"by_callback":{"afterInitialize":{"calls":256,"ok":256,"max_ok_gas":220962,"sum_ok_gas":56566272,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"afterSwap":{"calls":2649875,"ok":2649875,"max_ok_gas":209193,"sum_ok_gas":260792583018,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"getName":{"calls":256,"ok":256,"max_ok_gas":21576,"sum_ok_gas":5523456,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}},"normalizer":{"by_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},"afterSwap":{"calls":2757842,"ok":2757842,"max_ok_gas":22592,"sum_ok_gas":62225048200,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"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}},"max_ok":22592,"oog":0,"other_errors":0,"oog_seeds":[]}},"v2_gas":{"max_ok":242788,"init_max":236377,"oog":2,"other_errors":0,"oog_seeds":[[60092,1],[60129,1]],"by_callback":{"afterInitialize":{"calls":256,"ok":256,"max_ok_gas":236377,"sum_ok_gas":60512512,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"afterSwap":{"calls":2648448,"ok":2648446,"max_ok_gas":242788,"sum_ok_gas":295035632652,"oog":2,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"getName":{"calls":256,"ok":256,"max_ok_gas":21545,"sum_ok_gas":5515520,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}},"normalizer":{"by_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},"afterSwap":{"calls":2758270,"ok":2758270,"max_ok_gas":22592,"sum_ok_gas":62234728280,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"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}},"max_ok":22592,"oog":0,"other_errors":0,"oog_seeds":[]}},"retail_edge_delta":{"n":256,"mean":0.020211922183448916,"se":0.0106362715567864},"arb_edge_delta":{"n":256,"mean":0.005255821190351159,"se":0.0030897319369255606},"terciles_by_v2_retail_volume":[{"n":86,"se":0.01731647718485272,"mean_diff":0.021806335040535984,"tercile":"low","v2_retail_volume_y_range":[56951.50348598551,70630.69659420602]},{"n":85,"se":0.016406342308113067,"mean_diff":0.028949009806091695,"tercile":"middle","v2_retail_volume_y_range":[70699.78689611985,82857.45993348995]},{"n":85,"se":0.01896845407962872,"mean_diff":0.02569096066685474,"tercile":"high","v2_retail_volume_y_range":[82940.51181261723,95914.6653069352]}],"seconds":74.975,"checks":[{"complete":true,"counters_per_seed_match_global":true,"max_abs_reconciliation_error":5.9117155615240335e-12,"n_requested":256,"n_returned":256,"error":null},{"complete":true,"counters_per_seed_match_global":true,"max_abs_reconciliation_error":6.934897101018578e-12,"n_requested":256,"n_returned":256,"error":null}]},{"name":"holdout_PICK","seeds":[4450000,4451000],"sha256":"2eaafc7960e520b8a7fd322ec8afaff8fa677c730228a961efb509cc30b25719","reference_sha256":"28417e116f57f1029fdd1803832e852574902c1ae7253c05657f317db76da4ab","paired":{"n":1000,"mean_diff":0.05224530759048093,"se":0.007537015607074199,"worst":[{"seed":4450099,"diff":-0.607692009289849,"edge_a":635.1075559455394,"edge_b":635.7152479548292},{"seed":4450726,"diff":-0.5544003357721294,"edge_a":634.1776818868889,"edge_b":634.732082222661},{"seed":4450587,"diff":-0.534220915411538,"edge_a":739.7889257939123,"edge_b":740.3231467093239},{"seed":4450619,"diff":-0.5158809630711403,"edge_a":659.4306511317207,"edge_b":659.9465320947918},{"seed":4450945,"diff":-0.49287839692851776,"edge_a":635.9330620399647,"edge_b":636.4259404368933}]},"valid":true,"invalid_reasons":[],"gas":{"max_ok":213524,"init_max":220962,"oog":0,"other_errors":0,"oog_seeds":[],"by_callback":{"afterInitialize":{"calls":1000,"ok":1000,"max_ok_gas":220962,"sum_ok_gas":220962000,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"afterSwap":{"calls":10395190,"ok":10395190,"max_ok_gas":213524,"sum_ok_gas":1022698833907,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"getName":{"calls":1000,"ok":1000,"max_ok_gas":21576,"sum_ok_gas":21576000,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}},"normalizer":{"by_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},"afterSwap":{"calls":10823609,"ok":10823609,"max_ok_gas":22592,"sum_ok_gas":244212872788,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"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}},"max_ok":22592,"oog":0,"other_errors":0,"oog_seeds":[]}},"v2_gas":{"max_ok":244190,"init_max":236377,"oog":29,"other_errors":0,"oog_seeds":[[4450068,1],[4450095,1],[4450201,2],[4450220,1],[4450277,4],[4450284,5],[4450481,2],[4450583,2],[4450639,1],[4450643,2],[4450871,4],[4450940,2],[4450979,2]],"by_callback":{"afterInitialize":{"calls":1000,"ok":1000,"max_ok_gas":236377,"sum_ok_gas":236377000,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"afterSwap":{"calls":10387832,"ok":10387803,"max_ok_gas":244190,"sum_ok_gas":1156637631364,"oog":29,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"getName":{"calls":1000,"ok":1000,"max_ok_gas":21545,"sum_ok_gas":21545000,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}},"normalizer":{"by_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},"afterSwap":{"calls":10825582,"ok":10825582,"max_ok_gas":22592,"sum_ok_gas":244257371156,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"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}},"max_ok":22592,"oog":0,"other_errors":0,"oog_seeds":[]}},"retail_edge_delta":{"n":1000,"mean":0.049026769460230185,"se":0.007357599102423288},"arb_edge_delta":{"n":1000,"mean":0.0032185381302906927,"se":0.0029101261722332163},"terciles_by_v2_retail_volume":[{"n":334,"se":0.011379382211844704,"mean_diff":0.032927843638085035,"tercile":"low","v2_retail_volume_y_range":[56101.79643298739,71734.1190238107]},{"n":333,"se":0.011704251355978879,"mean_diff":0.04661000036936623,"tercile":"middle","v2_retail_volume_y_range":[71742.65076957992,82430.60212397693]},{"n":333,"se":0.015586712805434102,"mean_diff":0.07725608916625099,"tercile":"high","v2_retail_volume_y_range":[82447.50997798573,98476.61862352579]}],"seconds":290.20000000000005,"checks":[{"complete":true,"counters_per_seed_match_global":true,"max_abs_reconciliation_error":9.094947017729282e-12,"n_requested":1000,"n_returned":1000,"error":null},{"complete":true,"counters_per_seed_match_global":true,"max_abs_reconciliation_error":7.560174708487466e-12,"n_requested":1000,"n_returned":1000,"error":null}]}],"paired":{"n":1000,"mean_diff":0.05224530759048093,"se":0.007537015607074199,"worst":[{"seed":4450099,"diff":-0.607692009289849,"edge_a":635.1075559455394,"edge_b":635.7152479548292},{"seed":4450726,"diff":-0.5544003357721294,"edge_a":634.1776818868889,"edge_b":634.732082222661},{"seed":4450587,"diff":-0.534220915411538,"edge_a":739.7889257939123,"edge_b":740.3231467093239},{"seed":4450619,"diff":-0.5158809630711403,"edge_a":659.4306511317207,"edge_b":659.9465320947918},{"seed":4450945,"diff":-0.49287839692851776,"edge_a":635.9330620399647,"edge_b":636.4259404368933}]},"gas":{"max_ok":213524,"init_max":220962,"oog":0,"other_errors":0,"oog_seeds":[],"by_callback":{"afterInitialize":{"calls":1000,"ok":1000,"max_ok_gas":220962,"sum_ok_gas":220962000,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"afterSwap":{"calls":10395190,"ok":10395190,"max_ok_gas":213524,"sum_ok_gas":1022698833907,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"getName":{"calls":1000,"ok":1000,"max_ok_gas":21576,"sum_ok_gas":21576000,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}},"normalizer":{"by_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},"afterSwap":{"calls":10823609,"ok":10823609,"max_ok_gas":22592,"sum_ok_gas":244212872788,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"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}},"max_ok":22592,"oog":0,"other_errors":0,"oog_seeds":[]}},"v2_gas":{"max_ok":244190,"init_max":236377,"oog":29,"other_errors":0,"oog_seeds":[[4450068,1],[4450095,1],[4450201,2],[4450220,1],[4450277,4],[4450284,5],[4450481,2],[4450583,2],[4450639,1],[4450643,2],[4450871,4],[4450940,2],[4450979,2]],"by_callback":{"afterInitialize":{"calls":1000,"ok":1000,"max_ok_gas":236377,"sum_ok_gas":236377000,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"afterSwap":{"calls":10387832,"ok":10387803,"max_ok_gas":244190,"sum_ok_gas":1156637631364,"oog":29,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"getName":{"calls":1000,"ok":1000,"max_ok_gas":21545,"sum_ok_gas":21545000,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0}},"normalizer":{"by_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},"afterSwap":{"calls":10825582,"ok":10825582,"max_ok_gas":22592,"sum_ok_gas":244257371156,"oog":0,"revert":0,"other_halt":0,"tx_error":0,"bad_return":0},"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}},"max_ok":22592,"oog":0,"other_errors":0,"oog_seeds":[]}},"valid":true,"simulator_commit":"6b6921f8d463314aa7c96234e1be25a25245f704","harness_tests":{"matchrunner_equal_10000_10031":true,"far_block_len":4,"far_block_seconds":0.0001,"allocation_scales_with_n":true,"far_seed_equals_single":true,"validity_cases":{"cand_oog_equal_v2_valid":true,"cand_oog_less_valid":true,"cand_oog_more_invalid":true,"v2_oog_alone_not_invalid":true,"revert_invalid":true,"ref_revert_invalid":true,"vanilla_oog_invalid":true,"vanilla_other_invalid":true,"incomplete_invalid":true,"counter_mismatch_invalid":true,"reconciliation_threshold_invalid":true,"control_oog_match_valid":true,"control_oog_mismatch_invalid":true},"all_pass":true},"validation":{"setup_passed":true,"instrumentation_applied":true,"release_rebuild_passed":true,"solidity_validated":["STACK","K8","K12","K24","K32"],"stack_hash_matched":true},"method":{"reference":"Exact V2 for every run; each strategy in a separate market against VanillaStrategy with eight workers.","seeds":"Half-open intervals. Screen [60000,60256); frozen holdout [4450000,4451000). No reselection after holdout.","gas_validity":"Candidate OOG count <= same-seed V2 OOG count; any other callback error or Vanilla failure invalidates. max_ok is afterSwap maximum among successful calls.","terciles":"Sort by V2 submission retail_volume_y, then seed; three equal-count groups, remainder assigned to first groups.","uncertainty":"Sample standard deviation of per-seed differences / sqrt(n).","source_artifact":"https://api.imd.fun/artifacts/206a4888de6fa1bda53cd2c9bad1632ccdbb63d32e7f09b6a332746b7a3ac3c3"}}