{
  "sources": [
    {
      "url": "https://raw.githubusercontent.com/identity-md-launches/goal-3170-beat-network-s-amm-entry/c1c9a349f00bf18746f17c6a253469df6634860b/tools/setup.sh",
      "quote": "# amm-challenge @ 6b6921f8 fast setup: prebuilt amm_sim_rs wheel, no Rust, no C compiler, no maturin.\n# From the checkout root:  sh scratch/setup.sh   then prefix commands with   . scratch/env.sh &&\n# Override the wheel with AMM_WHEEL=<url or path>.\nset -eu\nR=$PWD/scratch; mkdir -p $R/tmp $R/bin $R/"
    },
    {
      "url": "https://raw.githubusercontent.com/identity-md-launches/goal-3170-beat-network-s-amm-entry/c1c9a349f00bf18746f17c6a253469df6634860b/reference/qtr2/Strategy.sol",
      "quote": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\nimport {AMMStrategyBase} from \"./AMMStrategyBase.sol\";\nimport {TradeInfo} from \"./IAMMStrategy.sol\";\n// Policy: Taylor's (gtmcknight) solved game, amm-sim 4812a638, research/solved: Gaussian filter (real.py) + qm tables\n// (qm_k1e-5.json, +3.7"
    },
    {
      "url": "https://api.imdnotdead.fun/artifacts/ebab165bd9bc568057d042f7a9364713eb9cbef3f895e046fc1fde8264134fd2",
      "quote": "## Contract: exact unified diff against R"
    },
    {
      "url": "https://api.imdnotdead.fun/artifacts/d360bea6c8c982717b7b43a8069a87013169c89ee3e4da25622db4d880b936d4",
      "quote": "class Combo(TwoComp):"
    },
    {
      "url": "https://raw.githubusercontent.com/identity-md-launches/goal-3170-beat-network-s-amm-entry/c1c9a349f00bf18746f17c6a253469df6634860b/reference/twocomp/twocomp.py",
      "quote": "# Two-component lattice substitute, adapted from qt1 and Taylor (gtmcknight).\n\"\"\"qt1 reference: Taylor's (gtmcknight) Gaussian filter (as port-3's standalone.Coarse / trim-2) + real.py's qm fee\nrule over the DECODED qm-spline tables (QMS1 blob, sha256 3ac7cb88...). Standard library only.\nusage: from"
    },
    {
      "url": "https://raw.githubusercontent.com/gtmcknight/amm-sim/4812a6382311624e1506aca131ca35c378f930d9/research/solved/gates.py",
      "quote": "\"\"\"Per-seed check values for a port: edge of each reference policy on replica seeds 10000..10002.\nusage: python3 -I gates.py\"\"\"\nimport os, sys\nHERE = os.path.dirname(os.path.abspath(__file__))\nsys.path.insert(0, HERE)\nimport replica2 as R\nfrom evalpol import DPPolicy, load\nimport real, latt\n\nT = loa"
    },
    {
      "url": "https://raw.githubusercontent.com/gtmcknight/amm-sim/4812a6382311624e1506aca131ca35c378f930d9/research/solved/replica2.py",
      "quote": "\"\"\"Pure-Python replica of benedictbrady/amm-challenge @6b6921f8 (engine.rs, cfmm.rs,\narbitrageur.rs, router.rs, retail.rs), written from the source for ceiling experiments.\nRNG streams differ from the Rust engine, so absolute scores move by the seed set;\ncompare policies paired on the same seeds.\n\nA"
    },
    {
      "url": "https://raw.githubusercontent.com/identity-md-launches/goal-3170-beat-network-s-amm-entry/c1c9a349f00bf18746f17c6a253469df6634860b/tools/check.py",
      "quote": "#!/usr/bin/env python3\n\"\"\"Gate F effective-fee replay, adapted from SP replay.py.\nCredit: Taylor (gtmcknight), Gaussian filter, qm tables and replica.\nSeed ranges are half-open. Run from a prepared amm-challenge checkout.\n\"\"\"\nimport argparse\nimport hashlib\nimport importlib\nimport json\nfrom pathlib i"
    },
    {
      "url": "https://raw.githubusercontent.com/identity-md-launches/goal-3170-beat-network-s-amm-entry/c1c9a349f00bf18746f17c6a253469df6634860b/tools/engine.py",
      "quote": "#!/usr/bin/env python3\n\"\"\"Paired engine arms, adapted from SP engine.py.\nCredit: Taylor (gtmcknight), reference policy and replica research.\nRun each contract alone versus the 30 bps VanillaStrategy; half-open seed range.\n\"\"\"\nimport argparse\nimport json\nimport math\nfrom pathlib import Path\nimport ti"
    },
    {
      "url": "https://raw.githubusercontent.com/identity-md-launches/goal-3170-beat-network-s-amm-entry/c1c9a349f00bf18746f17c6a253469df6634860b/reference/qt1/Strategy.sol",
      "quote": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\nimport {AMMStrategyBase} from \"./AMMStrategyBase.sol\";\nimport {TradeInfo} from \"./IAMMStrategy.sol\";\n// Solved AMM policy by Taylor (gtmcknight), amm-sim 4812a638 research/solved: Gaussian filter + qm tables (qm_k1e-5.json),\n// fee rule of rea"
    },
    {
      "url": "https://raw.githubusercontent.com/identity-md-launches/goal-3170-beat-network-s-amm-entry/c1c9a349f00bf18746f17c6a253469df6634860b/reference/qt1/qmref.py",
      "quote": "\"\"\"qt1 reference: Taylor's (gtmcknight) Gaussian filter (as port-3's standalone.Coarse / trim-2) + real.py's qm fee\nrule over the DECODED qm-spline tables (QMS1 blob, sha256 3ac7cb88...). Standard library only.\nusage: from qmref import QMRef; QMRef('blob.bin') is a replica2 policy (wants_j).\nInit fe"
    }
  ]
}
