{
  "key": "f-two-step-split",
  "mech": "time split: half now, half next callback only if N still quotes the same side and price",
  "approach": "Blind N superclass overlay: split each new order into cent-quantized halves and release the deferred tranche at the next callback only if N still quotes that side/price. A conservative collateral guard clips placements. Three spread gates were piloted; repaired all-spreads code was frozen on 10 fresh tuning pairs. Remaining tuning results are replication without reselection. Screen only, no promotion.",
  "tried": {
    "variants": [
      "all",
      "narrow",
      "wide"
    ],
    "notes": "Original all-spreads code ran 62 tuning seeds, with three collateral failures. Narrow and wide pilots each ran two tuning seeds and were stopped for runtime. Failed original code was repaired by capping every new placement against a conservative collateral bound. The repaired all-spreads variant was frozen before holdout, using ten fresh tuning seeds. Regression checks on the three old failure seeds all succeeded. Remaining tuning seeds were completed with unchanged frozen code, reusing cached incumbent and repaired regression runs. No holdout was used to change code or selection.",
    "interrupted_attempts": "Two interpreter switches interrupted incomplete tuning attempts; only completed run records enter statistics. One original spread-gate pilot was abandoned in progress. An original N tuning attempt was restarted before it produced a completed result. No completed (seed, strategy, code-version) record was rerun.",
    "runtime_adjustment": "A PyPy 3.10 trace-limit setting of 30000 was rejected before any simulation; reduced to 16000. Runs use the unmodified simulator, serially, with default 2000-step configs.",
    "synthetic_tests": [
      "half now",
      "half next at persistent quote",
      "deferred expiry",
      "price change drops old tranche",
      "cancellation drops old tranche",
      "off passthrough",
      "low-cash first and deferred tranche collateral caps"
    ],
    "repaired_regression_seeds": [
      320041,
      320043,
      320057
    ],
    "scoreboard": {
      "incumbent_code_sha256": "bf0d179f3e47d28819f6fa7e0d25548c2ced43374c216d36460b00a26a26ffae",
      "frozen_candidate_code_sha256": "3f68fbcd3a8015e23620242a253bcdd4a5fe136bc1f7f604558800abc81d57ca",
      "tuning_paired": {
        "n": 200,
        "sum_d": -6245.4245346417,
        "sum_d2": 1314089.59388735,
        "mean_diff": -31.227122673208502,
        "se": 5.302561616182574,
        "incumbent_mean": 98.47072119118849,
        "candidate_mean": 67.24359851798,
        "retail_diff": -18.7049178052245,
        "arb_diff": -12.522204868051
      },
      "holdout_paired": {
        "n": 500,
        "sum_d": -15009.4420982635,
        "sum_d2": 4363205.098018817,
        "mean_diff": -30.018884196527,
        "se": 3.9600400768283195,
        "incumbent_mean": 95.5459652894836,
        "candidate_mean": 65.52708109295659,
        "retail_diff": -24.161496112528198,
        "arb_diff": -5.8573880840208
      }
    },
    "original_off_control_callbacks": 20000,
    "screen_decision": "do_not_advance_this_implementation",
    "runtime_details": {
      "check": "3.12.3 (main, Aug 31 2026, 10:18:26) [GCC 13.3.0]",
      "screen_initial": "Python 3.11.13 (413c9b7f57f5, Jul 03 2025, 18:03:56)\n[PyPy 7.3.20 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]",
      "screen_subsequent": "3.12.3 (main, Aug 31 2026, 10:18:26) [GCC 13.3.0]",
      "simulator_commit": "b244530ee2a6247b5f930830eeca9dd950da0e7e",
      "single_process": true,
      "sandbox": false,
      "holdout": "Python 3.10.14 (39dc8d3c85a7, Aug 27 2024, 14:32:27)\n[PyPy 7.3.17 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]",
      "holdout_jit_parameters": {
        "trace_limit": 16000,
        "loop_longevity": 100000
      }
    },
    "timing_details": {
      "mean": 2.4367668601830346,
      "holdout_mean": 1.9497537820499855,
      "includes_jit_warmup": true,
      "check_runs_include_two_strategy_calls_per_step": true
    },
    "limitation": "The collateral guard treats all resting sells as uncovered, even when YES inventory could back them. It can suppress otherwise valid orders; this screen does not isolate timing from that conservative sizing cost.",
    "quantity_rounding": "First half rounded down to whole 0.01-share units; remainder deferred. A single-quantum order remains immediate."
  },
  "next": "Do not advance this implementation; retain N. The conservative all-uncovered collateral guard can suppress valid YES-backed capacity, so this screen mixes timing and sizing cost. A later item could preserve exact collateral semantics to isolate time splitting. No promotion.",
  "spreads_acted": [
    1,
    2,
    3,
    4
  ],
  "off_equals_n": {
    "equal": true,
    "seeds": [
      310000,
      310009
    ],
    "callbacks_checked": 20000,
    "tested_code_sha256": "3f68fbcd3a8015e23620242a253bcdd4a5fe136bc1f7f604558800abc81d57ca",
    "cached_N_score_match": true,
    "simulations": 10,
    "method": "Each repaired disabled-overlay simulation ran once. On every callback, an independent N shadow instance received the same StepState and its actions were compared exactly with the disabled overlay. Disabled actions were applied; final edge also matched the cached original N baseline within 1e-6. No incumbent SimulationEngine run was repeated."
  },
  "code": "from dataclasses import replace as _split_replace\nfrom math import floor as _split_floor\nfrom orderbook_pm_challenge.types import PlaceOrder as _SplitPlace, CancelOrder as _SplitCancel, CancelAll as _SplitAll, Side as _SplitSide\n\nclass Strategy(_N):\n    # An empty tuple is a strict passthrough, used for the off control.\n    spreads_acted = (1, 2, 3, 4)\n\n    def on_step(self, state):\n        actions = list(super().on_step(state))\n        if self.s not in self.spreads_acted:\n            return actions\n        due = getattr(self, '_split_pending', {})\n        pending = {}\n        live = {o.order_id: o for o in state.own_orders}\n        output = []\n        # Resolve cancellations first in the same order as N; additions are\n        # represented separately so the quote-survival test sees final intent.\n        additions = []\n        def units(q):\n            return max(0, int(_split_floor(float(q) * 100 + 1e-7)))\n        for a in actions:\n            if isinstance(a, _SplitAll):\n                live.clear()\n                additions.clear()\n                output.append(a)\n            elif isinstance(a, _SplitCancel):\n                live.pop(a.order_id, None)\n                additions = [(i, p) for i, p in additions if p.client_order_id != a.order_id]\n                output.append(a)\n            elif isinstance(a, _SplitPlace):\n                key = (a.side, a.price_ticks)\n                total = units(a.quantity)\n                now = total // 2\n                if now == 0:\n                    output.append(a)\n                    additions.append((len(output)-1, a))\n                    continue\n                later = total - now\n                pending[key] = pending.get(key, 0) + later\n                p = _split_replace(a, quantity=now / 100)\n                output.append(p)\n                additions.append((len(output)-1, a))\n            else:\n                output.append(a)\n        # At a newly requested quote, fold yesterday's deferred quantity into\n        # today's first tranche, never exceeding N's current requested size.\n        for index, original in additions:\n            key = (original.side, original.price_ticks)\n            room = units(original.quantity) - units(output[index].quantity)\n            release = min(room, due.get(key, 0))\n            if release:\n                output[index] = _split_replace(output[index], quantity=(units(output[index].quantity)+release)/100)\n                due[key] -= release\n        quotes = {(o.side, o.price_ticks) for o in live.values()}\n        quotes.update((a.side, a.price_ticks) for _, a in additions)\n        # Upper-bound collateral for all surviving orders. Counting every sell\n        # as uncovered is conservative even when YES inventory backs it.\n        def collateral(side, tick, quantity):\n            return quantity * (tick / 100 if side == _SplitSide.BUY else 1 - tick / 100)\n        reserved = sum(collateral(o.side, o.price_ticks, o.remaining_quantity) for o in live.values())\n        reserved += sum(collateral(output[i].side, output[i].price_ticks, output[i].quantity) for i, _ in additions)\n        free = max(0.0, state.cash - reserved)\n        serial = getattr(self, '_split_serial', 0)\n        for (side, tick), quantity_units in due.items():\n            if quantity_units <= 0 or (side, tick) not in quotes:\n                continue\n            cost_per_unit = (tick if side == _SplitSide.BUY else 100-tick) / 10000\n            release = min(quantity_units, max(0, int(_split_floor((free+1e-10)/cost_per_unit))))\n            if release:\n                serial += 1\n                output.append(_SplitPlace(side, tick, release/100, '_two_step_'+str(serial)))\n                free -= release * cost_per_unit\n        # A deferred tranche expires after exactly the next callback, including\n        # when its quote disappears or collateral prevents its placement.\n        self._split_pending = pending\n        self._split_serial = serial\n        # N may size from persistent private bookkeeping. Splitting changes\n        # that bookkeeping's relation to the live book; cap every placement,\n        # including its first tranche, against a safe collateral upper bound.\n        shadow = {o.order_id: (o.side, o.price_ticks, o.remaining_quantity)\n                  for o in state.own_orders}\n        safe = []\n        anonymous = 0\n        for a in output:\n            if isinstance(a, _SplitAll):\n                shadow.clear()\n                safe.append(a)\n            elif isinstance(a, _SplitCancel):\n                shadow.pop(a.order_id, None)\n                safe.append(a)\n            elif isinstance(a, _SplitPlace):\n                used = sum(collateral(side, tick, quantity)\n                           for side, tick, quantity in shadow.values())\n                available = max(0.0, state.cash - used - 1e-8)\n                unit_cost = collateral(a.side, a.price_ticks, 0.01)\n                q = min(units(a.quantity), int(_split_floor(available / unit_cost)))\n                if q <= 0:\n                    continue\n                a = _split_replace(a, quantity=q / 100)\n                safe.append(a)\n                anonymous += 1\n                identity = a.client_order_id if a.client_order_id is not None else ('_split_anon', anonymous)\n                shadow[identity] = (a.side, a.price_ticks, a.quantity)\n            else:\n                safe.append(a)\n        return safe\n",
  "code_sha256": "3f68fbcd3a8015e23620242a253bcdd4a5fe136bc1f7f604558800abc81d57ca",
  "assembled_sha256": "1885535f89ce281b31c208506fa0a764d919a16e88553d294cb48ee44700ceef",
  "tuning": {
    "seeds": [
      320000,
      320001,
      320002,
      320003,
      320004,
      320005,
      320006,
      320007,
      320008,
      320009,
      320010,
      320011,
      320012,
      320013,
      320014,
      320015,
      320016,
      320017,
      320018,
      320019,
      320020,
      320021,
      320022,
      320023,
      320024,
      320025,
      320026,
      320027,
      320028,
      320029,
      320030,
      320031,
      320032,
      320033,
      320034,
      320035,
      320036,
      320037,
      320038,
      320039,
      320040,
      320041,
      320042,
      320043,
      320044,
      320045,
      320046,
      320047,
      320048,
      320049,
      320050,
      320051,
      320052,
      320053,
      320054,
      320055,
      320056,
      320057,
      320058,
      320059,
      320060,
      320061,
      320062,
      320063,
      320064,
      320065,
      320066,
      320067,
      320068,
      320069,
      320070,
      320071,
      320072,
      320073,
      320074,
      320075,
      320076,
      320077,
      320078,
      320079,
      320080,
      320081,
      320082,
      320083,
      320084,
      320085,
      320086,
      320087,
      320088,
      320089,
      320090,
      320091,
      320092,
      320093,
      320094,
      320095,
      320096,
      320097,
      320098,
      320099,
      320100,
      320101,
      320102,
      320103,
      320104,
      320105,
      320106,
      320107,
      320108,
      320109,
      320110,
      320111,
      320112,
      320113,
      320114,
      320115,
      320116,
      320117,
      320118,
      320119,
      320120,
      320121,
      320122,
      320123,
      320124,
      320125,
      320126,
      320127,
      320128,
      320129,
      320130,
      320131,
      320132,
      320133,
      320134,
      320135,
      320136,
      320137,
      320138,
      320139,
      320140,
      320141,
      320142,
      320143,
      320144,
      320145,
      320146,
      320147,
      320148,
      320149,
      320150,
      320151,
      320152,
      320153,
      320154,
      320155,
      320156,
      320157,
      320158,
      320159,
      320160,
      320161,
      320162,
      320163,
      320164,
      320165,
      320166,
      320167,
      320168,
      320169,
      320170,
      320171,
      320172,
      320173,
      320174,
      320175,
      320176,
      320177,
      320178,
      320179,
      320180,
      320181,
      320182,
      320183,
      320184,
      320185,
      320186,
      320187,
      320188,
      320189,
      320190,
      320191,
      320192,
      320193,
      320194,
      320195,
      320196,
      320197,
      320198,
      320199
    ],
    "permitted_seed_range": [
      320000,
      320199
    ],
    "requested_200_seed_tuning_complete": true,
    "selection_seeds": [
      320062,
      320071
    ],
    "post_freeze_replication": {
      "started_at_utc": "2026-11-06T22:46:40.794269+00:00",
      "code_sha256": "3f68fbcd3a8015e23620242a253bcdd4a5fe136bc1f7f604558800abc81d57ca",
      "frozen_before_holdout": true,
      "selection_unchanged": true,
      "cached_incumbent_seeds": [
        320000,
        320061
      ],
      "cached_repaired_regression_seeds": [
        320041,
        320043,
        320057
      ],
      "finished_at_utc": "2026-11-06T22:59:07.895956+00:00"
    },
    "selected": "all",
    "variants": [
      {
        "name": "all",
        "spreads_acted": [
          1,
          2,
          3,
          4
        ],
        "original_code_sha256": "4f5df78142e5e5f572bca6af6d107e58b8c996515d3c5c8813879341bce49abb",
        "original_tuning_seeds": [
          320000,
          320061
        ],
        "original_completed_runs": 62,
        "original_successful_pair_statistics": {
          "n": 59,
          "sum_d": -259.2012879066,
          "sum_d2": 7812.235457586645,
          "mean_diff": -4.3932421679084745,
          "se": 1.3964869329220693,
          "incumbent_mean": 79.97720580345762,
          "candidate_mean": 75.58396363554915,
          "retail_diff": 0.25767724143559406,
          "arb_diff": -4.65091940940339
        },
        "original_failures": 3,
        "original_by_spread": {
          "1": {
            "n": 15,
            "sum_d": -10.760171628799995,
            "sum_d2": 140.52982282528347,
            "mean_diff": -0.717344775253333,
            "se": 0.795256981306566,
            "incumbent_mean": 25.77792293507333,
            "candidate_mean": 25.06057815982,
            "retail_diff": -1.255154800879999,
            "arb_diff": 0.5378100257599997
          },
          "2": {
            "n": 17,
            "sum_d": -48.55998321140004,
            "sum_d2": 390.0887071606018,
            "mean_diff": -2.8564696006705903,
            "se": 0.9613459301710716,
            "incumbent_mean": 48.47180317252941,
            "candidate_mean": 45.61533357185882,
            "retail_diff": -1.3335068497294094,
            "arb_diff": -1.522962751052941
          },
          "3": {
            "n": 13,
            "sum_d": -35.249342047400006,
            "sum_d2": 170.68860646221867,
            "mean_diff": -2.7114878498000006,
            "se": 0.6938855840586533,
            "incumbent_mean": 118.65613731187692,
            "candidate_mean": 115.94464946207692,
            "retail_diff": 0.18135679968461352,
            "arb_diff": -2.8928446497153852
          },
          "4": {
            "n": 14,
            "sum_d": -164.63179101899996,
            "sum_d2": 7110.928321138541,
            "mean_diff": -11.759413644214282,
            "se": 5.332337070641314,
            "incumbent_mean": 140.38827567075,
            "candidate_mean": 128.62886202653573,
            "retail_diff": 3.8815898076714297,
            "arb_diff": -15.641003451928572
          }
        },
        "used_for_selection": false,
        "collateral_repair": {
          "code_sha256": "3f68fbcd3a8015e23620242a253bcdd4a5fe136bc1f7f604558800abc81d57ca",
          "seeds": [
            320000,
            320001,
            320002,
            320003,
            320004,
            320005,
            320006,
            320007,
            320008,
            320009,
            320010,
            320011,
            320012,
            320013,
            320014,
            320015,
            320016,
            320017,
            320018,
            320019,
            320020,
            320021,
            320022,
            320023,
            320024,
            320025,
            320026,
            320027,
            320028,
            320029,
            320030,
            320031,
            320032,
            320033,
            320034,
            320035,
            320036,
            320037,
            320038,
            320039,
            320040,
            320041,
            320042,
            320043,
            320044,
            320045,
            320046,
            320047,
            320048,
            320049,
            320050,
            320051,
            320052,
            320053,
            320054,
            320055,
            320056,
            320057,
            320058,
            320059,
            320060,
            320061,
            320062,
            320063,
            320064,
            320065,
            320066,
            320067,
            320068,
            320069,
            320070,
            320071,
            320072,
            320073,
            320074,
            320075,
            320076,
            320077,
            320078,
            320079,
            320080,
            320081,
            320082,
            320083,
            320084,
            320085,
            320086,
            320087,
            320088,
            320089,
            320090,
            320091,
            320092,
            320093,
            320094,
            320095,
            320096,
            320097,
            320098,
            320099,
            320100,
            320101,
            320102,
            320103,
            320104,
            320105,
            320106,
            320107,
            320108,
            320109,
            320110,
            320111,
            320112,
            320113,
            320114,
            320115,
            320116,
            320117,
            320118,
            320119,
            320120,
            320121,
            320122,
            320123,
            320124,
            320125,
            320126,
            320127,
            320128,
            320129,
            320130,
            320131,
            320132,
            320133,
            320134,
            320135,
            320136,
            320137,
            320138,
            320139,
            320140,
            320141,
            320142,
            320143,
            320144,
            320145,
            320146,
            320147,
            320148,
            320149,
            320150,
            320151,
            320152,
            320153,
            320154,
            320155,
            320156,
            320157,
            320158,
            320159,
            320160,
            320161,
            320162,
            320163,
            320164,
            320165,
            320166,
            320167,
            320168,
            320169,
            320170,
            320171,
            320172,
            320173,
            320174,
            320175,
            320176,
            320177,
            320178,
            320179,
            320180,
            320181,
            320182,
            320183,
            320184,
            320185,
            320186,
            320187,
            320188,
            320189,
            320190,
            320191,
            320192,
            320193,
            320194,
            320195,
            320196,
            320197,
            320198,
            320199
          ],
          "complete_on_actual_tuning_subset": true,
          "statistics": {
            "n": 200,
            "sum_d": -6245.4245346417,
            "sum_d2": 1314089.59388735,
            "mean_diff": -31.227122673208502,
            "se": 5.302561616182574,
            "incumbent_mean": 98.47072119118849,
            "candidate_mean": 67.24359851798,
            "retail_diff": -18.7049178052245,
            "arb_diff": -12.522204868051
          },
          "by_spread": {
            "1": {
              "n": 50,
              "sum_d": -532.7088865112,
              "sum_d2": 67460.31834868086,
              "mean_diff": -10.654177730224001,
              "se": 5.021778821083824,
              "incumbent_mean": 25.711272398586,
              "candidate_mean": 15.057094668362,
              "retail_diff": -11.635524907204001,
              "arb_diff": 0.9813471769439995
            },
            "2": {
              "n": 50,
              "sum_d": -785.7859144503999,
              "sum_d2": 75880.67241027059,
              "mean_diff": -15.715718289007999,
              "se": 5.09227034661148,
              "incumbent_mean": 61.219908510538,
              "candidate_mean": 45.504190221529996,
              "retail_diff": -12.000960763537998,
              "arb_diff": -3.714757525514
            },
            "3": {
              "n": 48,
              "sum_d": -1385.9161843603001,
              "sum_d2": 195620.8082363331,
              "mean_diff": -28.873253840839585,
              "se": 8.305046809103805,
              "incumbent_mean": 130.8342429047854,
              "candidate_mean": 101.96098906394583,
              "retail_diff": -19.734499939529165,
              "arb_diff": -9.1387539014625
            },
            "4": {
              "n": 52,
              "sum_d": -3541.0135493198,
              "sum_d2": 975127.7948920656,
              "mean_diff": -68.09641440999616,
              "se": 16.63644471975122,
              "incumbent_mean": 174.37579871830383,
              "candidate_mean": 106.2793843083077,
              "retail_diff": -30.99814000789231,
              "arb_diff": -37.098274402144234
            }
          },
          "selection_seeds": [
            320062,
            320071
          ],
          "selection_statistics": {
            "n": 10,
            "sum_d": -389.40104013030003,
            "sum_d2": 113273.65253248988,
            "mean_diff": -38.94010401303,
            "se": 33.0168871820053,
            "incumbent_mean": 59.2206270409,
            "candidate_mean": 20.280523027869997,
            "retail_diff": -14.38062082834,
            "arb_diff": -24.55948318478
          },
          "selection_used_only_initial_10_pairs": true
        }
      },
      {
        "name": "narrow",
        "spreads_acted": [
          1,
          2
        ],
        "original_code_sha256": "4f5df78142e5e5f572bca6af6d107e58b8c996515d3c5c8813879341bce49abb",
        "original_tuning_seeds": [
          320000,
          320001
        ],
        "original_completed_runs": 2,
        "original_successful_pair_statistics": {
          "n": 2,
          "sum_d": -12.794937607400016,
          "sum_d2": 163.71042837725923,
          "mean_diff": -6.397468803700008,
          "se": 6.397468803700008,
          "incumbent_mean": 209.57626498925,
          "candidate_mean": 203.17879618555,
          "retail_diff": -4.288272660749982,
          "arb_diff": -2.1091961428
        },
        "original_failures": 0,
        "original_by_spread": {
          "1": {
            "n": 0,
            "sum_d": 0.0,
            "sum_d2": 0.0,
            "mean_diff": null,
            "se": null,
            "incumbent_mean": null,
            "candidate_mean": null,
            "retail_diff": null,
            "arb_diff": null
          },
          "2": {
            "n": 1,
            "sum_d": -12.794937607400016,
            "sum_d2": 163.71042837725923,
            "mean_diff": -12.794937607400016,
            "se": null,
            "incumbent_mean": 325.3444674756,
            "candidate_mean": 312.5495298682,
            "retail_diff": -8.576545321499964,
            "arb_diff": -4.2183922856
          },
          "3": {
            "n": 0,
            "sum_d": 0.0,
            "sum_d2": 0.0,
            "mean_diff": null,
            "se": null,
            "incumbent_mean": null,
            "candidate_mean": null,
            "retail_diff": null,
            "arb_diff": null
          },
          "4": {
            "n": 1,
            "sum_d": 0.0,
            "sum_d2": 0.0,
            "mean_diff": 0.0,
            "se": null,
            "incumbent_mean": 93.8080625029,
            "candidate_mean": 93.8080625029,
            "retail_diff": 0.0,
            "arb_diff": 0.0
          }
        },
        "used_for_selection": false
      },
      {
        "name": "wide",
        "spreads_acted": [
          3,
          4
        ],
        "original_code_sha256": "4f5df78142e5e5f572bca6af6d107e58b8c996515d3c5c8813879341bce49abb",
        "original_tuning_seeds": [
          320000,
          320001
        ],
        "original_completed_runs": 2,
        "original_successful_pair_statistics": {
          "n": 2,
          "sum_d": 5.697075327799993,
          "sum_d2": 32.4566672906274,
          "mean_diff": 2.8485376638999966,
          "se": 2.8485376638999966,
          "incumbent_mean": 209.57626498925,
          "candidate_mean": 212.42480265315,
          "retail_diff": 6.6891558811,
          "arb_diff": -3.8406182174500003
        },
        "original_failures": 0,
        "original_by_spread": {
          "1": {
            "n": 0,
            "sum_d": 0.0,
            "sum_d2": 0.0,
            "mean_diff": null,
            "se": null,
            "incumbent_mean": null,
            "candidate_mean": null,
            "retail_diff": null,
            "arb_diff": null
          },
          "2": {
            "n": 1,
            "sum_d": 0.0,
            "sum_d2": 0.0,
            "mean_diff": 0.0,
            "se": null,
            "incumbent_mean": 325.3444674756,
            "candidate_mean": 325.3444674756,
            "retail_diff": 0.0,
            "arb_diff": 0.0
          },
          "3": {
            "n": 0,
            "sum_d": 0.0,
            "sum_d2": 0.0,
            "mean_diff": null,
            "se": null,
            "incumbent_mean": null,
            "candidate_mean": null,
            "retail_diff": null,
            "arb_diff": null
          },
          "4": {
            "n": 1,
            "sum_d": 5.697075327799993,
            "sum_d2": 32.4566672906274,
            "mean_diff": 5.697075327799993,
            "se": null,
            "incumbent_mean": 93.8080625029,
            "candidate_mean": 99.5051378307,
            "retail_diff": 13.3783117622,
            "arb_diff": -7.681236434900001
          }
        },
        "used_for_selection": false
      }
    ],
    "freeze": {
      "selected": "all",
      "spreads_acted": [
        1,
        2,
        3,
        4
      ],
      "code_sha256": "3f68fbcd3a8015e23620242a253bcdd4a5fe136bc1f7f604558800abc81d57ca",
      "tuning_n": 10,
      "tuning_seeds": [
        320062,
        320071
      ],
      "tuning_statistics": {
        "n": 10,
        "sum_d": -389.40104013030003,
        "sum_d2": 113273.65253248988,
        "mean_diff": -38.94010401303,
        "se": 33.0168871820053,
        "incumbent_mean": 59.2206270409,
        "candidate_mean": 20.280523027869997,
        "retail_diff": -14.38062082834,
        "arb_diff": -24.55948318478
      },
      "frozen_at_utc": "2026-11-06T22:13:28.945511+00:00",
      "reason": "Same all-spreads mechanism with collateral sizing repair. Frozen on 10 fresh tuning pairs; incomplete original tuning and two spread-gate pilots excluded. Runtime prioritized complete holdout."
    }
  },
  "paired": {
    "seeds": [
      430000,
      430499
    ],
    "n": 500,
    "complete": true,
    "missing_seeds": [],
    "overall": {
      "n": 500,
      "sum_d": -15009.4420982635,
      "sum_d2": 4363205.098018817,
      "mean_diff": -30.018884196527,
      "se": 3.9600400768283195,
      "incumbent_mean": 95.5459652894836,
      "candidate_mean": 65.52708109295659,
      "retail_diff": -24.161496112528198,
      "arb_diff": -5.8573880840208
    },
    "by_spread": {
      "1": {
        "n": 131,
        "sum_d": -3381.1186274378,
        "sum_d2": 727988.6253399636,
        "mean_diff": -25.81006585830382,
        "se": 6.133768812152205,
        "incumbent_mean": 38.273778309121376,
        "candidate_mean": 12.463712450817557,
        "retail_diff": -28.683992032148854,
        "arb_diff": 2.8739261738099247
      },
      "2": {
        "n": 120,
        "sum_d": -2576.8849213207,
        "sum_d2": 769109.7594660247,
        "mean_diff": -21.474041011005834,
        "se": 7.069946785370106,
        "incumbent_mean": 77.8768075169725,
        "candidate_mean": 56.40276650596666,
        "retail_diff": -18.84539186284083,
        "arb_diff": -2.6286491481550005
      },
      "3": {
        "n": 133,
        "sum_d": -4875.6701456035,
        "sum_d2": 1335350.2009349312,
        "mean_diff": -36.65917402709398,
        "se": 8.116729839690986,
        "incumbent_mean": 146.55140363646615,
        "candidate_mean": 109.89222960937218,
        "retail_diff": -29.143554312630826,
        "arb_diff": -7.515619714529325
      },
      "4": {
        "n": 116,
        "sum_d": -4175.7684039015,
        "sum_d2": 1530756.512277897,
        "mean_diff": -35.998003481909485,
        "se": 10.172563515695284,
        "incumbent_mean": 120.02210431517413,
        "candidate_mean": 84.02410083326467,
        "retail_diff": -18.841425456308617,
        "arb_diff": -17.15657802559052
      }
    }
  },
  "failures": [
    {
      "phase": "original_tuning",
      "seed": 320041,
      "strategy": "all",
      "error": "orderbook_pm_challenge.market.OrderBookError: Insufficient free cash for order collateral",
      "repaired": true
    },
    {
      "phase": "original_tuning",
      "seed": 320043,
      "strategy": "all",
      "error": "orderbook_pm_challenge.market.OrderBookError: Insufficient free cash for order collateral",
      "repaired": true
    },
    {
      "phase": "original_tuning",
      "seed": 320057,
      "strategy": "all",
      "error": "orderbook_pm_challenge.market.OrderBookError: Insufficient free cash for order collateral",
      "repaired": true
    }
  ],
  "check_values": [
    17.1160017503,
    20.0171113118,
    2.3903113616,
    241.4847522404
  ],
  "python_version": "Python 3.10.14 (39dc8d3c85a7, Aug 27 2024, 14:32:27)\n[PyPy 7.3.17 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]",
  "seconds_per_simulation": 1.9497537820499855
}
