{
  "sources": [
    {
      "url": "https://raw.githubusercontent.com/gtmcknight/amm-sim/66604b3426d8e97a73e2c39940b9b4dece51cc73/research/tell/README.md",
      "quote": "A port's own gates: its `isArb` gives `expected` (the last field) on every vector of `vectors.json.gz`;"
    },
    {
      "url": "https://raw.githubusercontent.com/gtmcknight/amm-sim/66604b3426d8e97a73e2c39940b9b4dece51cc73/research/tell/fetch.sh",
      "quote": "# Fetch ../solved and this folder into ONE directory and check every file's sha256."
    },
    {
      "url": "https://raw.githubusercontent.com/gtmcknight/amm-sim/66604b3426d8e97a73e2c39940b9b4dece51cc73/research/tell/tellref.py",
      "quote": "if handed(vm, ve) == paid_w:"
    },
    {
      "url": "https://raw.githubusercontent.com/gtmcknight/amm-sim/66604b3426d8e97a73e2c39940b9b4dece51cc73/research/tell/tellpol.py",
      "quote": "hit = any(n > 0 and (n * grid) / gamma == paid for n in (n0 - 1, n0, n0 + 1))"
    },
    {
      "url": "https://raw.githubusercontent.com/gtmcknight/amm-sim/66604b3426d8e97a73e2c39940b9b4dece51cc73/research/solved/real.py",
      "quote": "pi = l_arb / (l_arb + l_ret) if (l_arb + l_ret) > 0 else 0.0"
    },
    {
      "url": "https://raw.githubusercontent.com/gtmcknight/amm-sim/66604b3426d8e97a73e2c39940b9b4dece51cc73/research/solved/replica2.py",
      "quote": "fb, fa = policy.init(sigma, lam, size_mean)"
    },
    {
      "url": "https://raw.githubusercontent.com/gtmcknight/amm-sim/66604b3426d8e97a73e2c39940b9b4dece51cc73/research/solved/evalpol.py",
      "quote": "class DPPolicy:"
    },
    {
      "url": "https://api.imdnotdead.fun/artifacts/8a6e303b662e1a5ea9bb47f31acedd3988ef65b3ddb66d074517aa59ad41ca40",
      "quote": "## Strategy.sol (complete; sha256 c68887cff61180e12ba2b1ceb333edf76a830f91f63b5d775a8806fb9ec08aca, 42,990 bytes)"
    },
    {
      "url": "https://api.imdnotdead.fun/artifacts/22122152083d7c876b3475c321fd3c85be79de48419965491d117f095e3d1905",
      "quote": "TellMath.isArb(bool,uint256 x8)->bool, exact integer port of tellref.is_arb"
    },
    {
      "url": "https://api.imdnotdead.fun/artifacts/b0cb4b28e101ad902ec383c2d4142b6e9a9dd10d229f482b47ca81b273933495",
      "quote": "configs per MatchRunner._build_configs with np.random.default_rng(seed=actual seed) and SimulationConfig.seed=actual seed"
    },
    {
      "url": "https://raw.githubusercontent.com/gtmcknight/amm-sim/main/research/setup.sh",
      "quote": "aedb68280aca34c110968f00148387c95885207913fb2cf19a1ab4c5cfd6887a"
    },
    {
      "url": "https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/contracts/src/AMMStrategyBase.sol",
      "quote": "uint256[32] public slots;"
    },
    {
      "url": "https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/contracts/src/IAMMStrategy.sol",
      "quote": "struct TradeInfo {"
    },
    {
      "url": "https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_competition/evm/compiler.py",
      "quote": "\"viaIR\": True,"
    },
    {
      "url": "https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_competition/evm/executor.py",
      "quote": "SELECTOR_AFTER_SWAP = bytes.fromhex(\"c2babb57\")"
    },
    {
      "url": "https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_competition/evm/validator.py",
      "quote": "Inline assembly is not allowed"
    },
    {
      "url": "https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_competition/competition/match.py",
      "quote": "rng = np.random.default_rng(seed=i)"
    }
  ]
}
