{
 "credit": "Taylor (gtmcknight), github.com/gtmcknight/amm-sim@4812a6382311624e1506aca131ca35c378f930d9 research/solved: the solved policy, Gaussian filter, qm tables, exact-arithmetic arb/retail tell and U1 tables that LEAN and QLX5 are built on. This item only measures one constant of QLX5 (LEAN plus the tracked-offset split test); all credit for the policy is Taylor's.",
 "n": 10,
 "id": "track",
 "family": "the split test's window and candidates",
 "find": "if(mm!=m0)slots[6]=uint256(mm);",
 "lo": "",
 "hi": "if(!qx)mm=0;if(mm!=m0)slots[6]=uint256(mm);",
 "meaning": "How the split test's denominator offset m0 is carried: QLX5 keeps the last accepted offset; lo never tracks (always centred at 0), hi resets to 0 after a miss.",
 "seeds": {
  "first": 10204280,
  "last": 10204407,
  "n": 128,
  "unused": [],
  "burnt": [],
  "blocks_complete": 4,
  "block_size": 32
 },
 "arms": {
  "QLX5": {
   "mean_edge": 525.313002,
   "peak_gas": 205869,
   "out_of_gas": 0,
   "runtime_bytes": 22440,
   "source_sha256": "e183e5bc3fb794b7067703b10a7da9920267aa5f4caa968e16ca101b02338f40",
   "source_chars": 47230,
   "runtime_sha256": "903a0cf860910022916e7c16aa1ffcfb94b0db9e25074665947d786615a44ae8",
   "afterSwap_calls": 1378763,
   "afterSwap_ok": 1378763,
   "mean_gas": 136714.1,
   "failed_callbacks_any_role": 0
  },
  "LO": {
   "mean_edge": 525.295669,
   "peak_gas": 198292,
   "out_of_gas": 0,
   "runtime_bytes": 22429,
   "source_sha256": "14c1b8f039c87b97a3bbf7b9c2339ee710c34258a4440c63b206d6c380d903db",
   "source_chars": 47199,
   "runtime_sha256": "a7ebf493a79ca16608132da13ab3f2f7fc39b82c241249e471872934addd7a75",
   "afterSwap_calls": 1377686,
   "afterSwap_ok": 1377686,
   "mean_gas": 139313.4,
   "failed_callbacks_any_role": 0
  },
  "HI": {
   "mean_edge": 525.287175,
   "peak_gas": 207567,
   "out_of_gas": 0,
   "runtime_bytes": 22456,
   "source_sha256": "acf3f1a16ea41c939ac92f0c8716ef80683dfe57fd2b37b96ddd395bd3406a7a",
   "source_chars": 47242,
   "runtime_sha256": "f2b6c3af1044979f96b0d1262d8510e7f2049b1c6ef0ffedaa79f1799ea200d0",
   "afterSwap_calls": 1377817,
   "afterSwap_ok": 1377817,
   "mean_gas": 139363.9,
   "failed_callbacks_any_role": 0
  }
 },
 "diffs": {
  "LO-QLX5": {
   "n": 128,
   "mean_diff": -0.017334,
   "se": 0.013068,
   "sum_d": -2.218689,
   "sum_d2": 2.814378,
   "seeds_positive": 56,
   "min": -0.837041,
   "max": 0.543682
  },
  "HI-QLX5": {
   "n": 128,
   "mean_diff": -0.025827,
   "se": 0.01245,
   "sum_d": -3.305898,
   "sum_d2": 2.605155,
   "seeds_positive": 49,
   "min": -0.832733,
   "max": 0.516719
  },
  "HI-LO": {
   "n": 128,
   "mean_diff": -0.008494,
   "se": 0.0097,
   "sum_d": -1.087209,
   "sum_d2": 1.538709,
   "seeds_positive": 59,
   "min": -0.625087,
   "max": 0.295304
  }
 },
 "pass_peak": {
  "LO": true,
  "HI": true,
  "QLX5": true,
  "limit": 245000
 },
 "limits": {
  "source_chars_max": 50000,
  "runtime_bytes_max": 24576,
  "all_arms_within": true,
  "compiled": {
   "LO": true,
   "HI": true
  }
 },
 "reading": "Neither change to how the split test's offset m0 is carried beats QLX5 on these 128 fresh seeds: LO (never tracked) - QLX5 = -0.0173 se 0.0131 (-1.3 se), HI (reset to 0 after a miss) - QLX5 = -0.0258 se 0.0124 (-2.1 se), HI - LO = -0.0085 se 0.0097; both variants pass the peak-gas limit, and QLX5's tracked offset is the best of the three here, though no difference reaches 3 se.",
 "method": {
  "build": "QLX5 = zlib-decoded code_zb64.QLX5 of https://api.imd.fun/artifacts/1ef80bfb6d6791b877b1f4048a5e63cf2ae54153e6e8763ae3f8ab13132dfb15 (source sha256 checked); find asserted to occur exactly once; LO = find replaced by lo, HI = find replaced by hi, nothing else changed; LO and HI source hashes and runtime bytes equal those the c-map result lists for knob 10",
  "compile": "driver compile_arm: kit SolidityCompiler, pinned solc 0.8.24 (binary sha256 fb03a29a517452b9f12bcf459ef37d0a543765bb3bbc911e70a87d6a37c30d5f), optimizer 200, viaIR, paris; QLX5 runtime sha256 equals the one A/1ef80bfb reports",
  "engine": "amm-challenge@6b6921f8d463314aa7c96234e1be25a25245f704, amm_sim_rs 0.1.0.post1 as installed by setup_fast.sh of identity-md-launches/goal-3178-build-shared-evaluation-kit@45e7563d1a29ffca9d608fdf60c90bf2624d2d01; native library sha256 ff88b6353c2aad7342f0a26194f7347e78b9c3b38d683a7449006d423978cd14",
  "driver": "driver_zb64 of https://api.imd.fun/artifacts/764c9461a9f3bab6e277178f4bb48553d1b97c6cca33bed016f7c9bfd611cc42 (sha256 d3f8646b541a76921a47e9d03247c8c9dfab594076a7c5dca79c36b6c048a282 checked), unedited: each arm alone against the 30 bps VanillaStrategy, blocks of 32 seeds, QLX5 then LO then HI inside each block, workers 8; one command, one ledger, exit 0; configs checked equal to the kit's on all 128 seeds",
  "engine_seconds": 382.2,
  "command_wall_seconds": 386.9,
  "machine_cpus": 8,
  "blocks_format": "[arm, first seed, last seed, run_batch seconds, afterSwap peak gas]",
  "blocks": [
   [
    "QLX5",
    10204280,
    10204311,
    31.4,
    205584
   ],
   [
    "QLX5",
    10204312,
    10204343,
    29.0,
    203596
   ],
   [
    "QLX5",
    10204344,
    10204375,
    30.4,
    202122
   ],
   [
    "QLX5",
    10204376,
    10204407,
    36.1,
    205869
   ],
   [
    "LO",
    10204280,
    10204311,
    30.5,
    197722
   ],
   [
    "LO",
    10204312,
    10204343,
    30.0,
    198292
   ],
   [
    "LO",
    10204344,
    10204375,
    35.0,
    197408
   ],
   [
    "LO",
    10204376,
    10204407,
    34.4,
    198092
   ],
   [
    "HI",
    10204280,
    10204311,
    30.8,
    206594
   ],
   [
    "HI",
    10204312,
    10204343,
    29.2,
    207567
   ],
   [
    "HI",
    10204344,
    10204375,
    32.7,
    204847
   ],
   [
    "HI",
    10204376,
    10204407,
    32.5,
    207500
   ]
  ],
  "stats": "paired by seed; se = sd(paired differences, n-1)/sqrt(n); sum_d and sum_d2 are the sum and the sum of squares of the paired differences; peak_gas = largest successful Submission afterSwap gas over all blocks; failed_callbacks_any_role = oog + revert + other halt + tx error + bad return over both pools and all callbacks; figures rounded to 6 decimals from unrounded edges",
  "map_input": "knob 10 read from the c-map result (SHA-256 f921f2133d55d8ce81b5d809494003e898fc2a72d1fe47cdc34606ff269d676e), as data"
 },
 "rows_zb64": "eNpNmE2uNLcNRedeS6MgUaQo7SABDASZZQHxCrJ/IOdSrWoPDJ9Pj10l8eeSqv/99dd/P//+8z/x+fNfn3/884/erLmt9onYTzfb+2Dbu/s6q7F2tGvZP+HjWTP490Hf09vBsd3XtbTP7P7wyDGzsNtae53VtlbEtRyfGPmY796tsA+ZntWxh79v98+09bSWy9bBCL+r2/jZtYzPyHj4L6If5GxrHWxjzPeZ8xNrPZk93QrXaOF50KZ7v5b5Gas/HD1tHuwWbRfy/9HfE+E5n+yzRbbC3tnoODjT87XklHs/qzsGhXMNvUmYY8e0r6UCw44m7oiDaTatf3H5uGffilE8sfhxHtyZtScwrM3Xkhhtfxo+3hMcz+bXww92hftasnc81wMfH5S7h9Cfvcx8XEv/DItnJjwPLuvtrMa2/J0oPh72bF/mB9ckMfpZ7UleXUsetBdv3236wZzJng76zHktiVEOzr7aXge3b4JwVkdf7z7xxxhPLnKpHbSoFBC6z/16aX+8N/a5x1hgf9hkI/2FPTD8emm0Vjk7eVKswhhzRRaOTKrrWnZyllzgQbMd9JRrz+rcfV5LdjRxImEfUZjedh509zeTyWoivGTpKl0heTWjMFZf/loqwv3Rj/s6aH32/Btey/jMIL88HZEopIZHL1yWo737pI7MH4K5lb5CIzC9EDf034n0ZxJdcbNCj+B4Z3W4tbiWuDu6PJcEVujh1ERhWPb17nN/Zpu8B23Ig9mNeAidtNr37Z21Lh9vCytELKbvg928+7VUJpLoOSjzwj7N0bpCG/31p2TLG1qXoZIAfbc120F+YnYtRyllpvX8YrfMo59U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6/bH/wFZuh/m",
 "rows_format": "base64(zlib(csv)): header seed,QLX5,LO,HI; one line a seed; submission edges rounded to 6 decimals",
 "not_done": [
  "128 seeds only: standard errors are about 0.010 to 0.013, so a true difference under about 0.03 either way is not resolved; no confirmation run on more seeds was made.",
  "No gate (P, Q, T, F, G, E) was run, no replica run was made, the arms were not paired with qt1, and nothing was submitted to the leaderboard.",
  "The split test's hit rate and how often the offset actually moves were not measured, so why LO and HI trail QLX5 is not explained here.",
  "Peak gas is the largest over these 128 seeds only; it does not bound the peak on other seeds.",
  "No file of gtmcknight/amm-sim was read or re-verified in this item; the credit is carried from the artifacts and the kit.",
  "The variant sources and the ledger were kept in scratch and are not delivered; the variants are reproducible from find/lo/hi and the QLX5 source."
 ]
}
