{
  "sources": [
    {
      "url": "https://api.imdnotdead.fun/artifacts/5839483d4df69854030fd68b224659b379af881cd229df40a8bab825c2fa7db1",
      "quote": "Every score uses run_batch(candidate, compiled VanillaStrategy.sol, configs, 8), and a separate run_batch(NP2, VanillaStrategy.sol, configs, 8). Each call has exactly 20 seeds; candidate and NP2 never face each other. Differences are paired by seed, with sample standard deviation (ddof=1)/sqrt(n). Cached reference results are reused only for identical tuning seeds/configs. The final 2,000-seed block was not used for tuning, calibration, fitting, or a"
    },
    {
      "url": "https://api.imdnotdead.fun/artifacts/8632a51305fc2b7fbd61b754534bfe89f487a6dfd2fec3eea9801e621c77f4e9",
      "quote": "uint256 constant MIX_M = 625000000000000000;\\n    uint256 constant MIX_E_SIXTEENTHS = 2;\\n    uint256 constan"
    },
    {
      "url": "https://api.imdnotdead.fun/artifacts/528a6da78583c6142644a552c86670f9d25c20e39e92f4de44deae05ddc8cecd",
      "quote": "Second-print reclassification within a step: revert half (opposite-direction second print moves pHat back toward pre-step value by u)"
    },
    {
      "url": "https://api.imdnotdead.fun/artifacts/da313379a2e69e9286668865e06b18dfcae25732c82b934b0fd9c2ef0d8c2ff5",
      "quote": "// Interior retail routing equalizes fee-adjusted marginal prices."
    },
    {
      "url": "https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_competition/competition/match.py",
      "quote": "            rng = np.random.default_rng(seed=i)"
    },
    {
      "url": "https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_competition/competition/config.py",
      "quote": "BASELINE_SETTINGS = BaselineSimulationSettings(\n    n_simulations=1000,\n    n_steps=10000,\n    initial_price=100.0,\n    initial_x=100.0,\n    initial_y=10000.0,\n    gbm_mu=0.0,\n    gbm_dt=1.0,\n    retail_buy_prob=0.5,\n    retail_size_sigma=1.2,\n)"
    },
    {
      "url": "https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_competition/evm/compiler.py",
      "quote": "                    \"viaIR\": True,\n                    \"evmVersion\": \"paris\","
    },
    {
      "url": "https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_sim_rs/src/simulation/engine.rs",
      "quote": "            Some(seed + 1),"
    },
    {
      "url": "https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/contracts/src/VanillaStrategy.sol",
      "quote": "contract VanillaStrategy is AMMStrategyBase {"
    },
    {
      "url": "https://raw.githubusercontent.com/ChengHua926/amm-challenge/d34a5199c59a4c44d5336a25f1436b4ae1f21104/contracts/src/Strategy.sol",
      "quote": "contract Strategy is AMMStrategyBase {"
    },
    {
      "url": "https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_competition/evm/executor.py",
      "quote": "    GAS_LIMIT_INIT = 250_000\n    GAS_LIMIT_TRADE = 250_000"
    },
    {
      "url": "https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_sim_rs/src/amm/cfmm.rs",
      "quote": "        if let Ok((bid_fee, ask_fee)) = self.strategy.after_swap(trade_info) {\n            self.current_fees = FeeQuote::new(bid_fee.clamp_fee(), ask_fee.clamp_fee());\n        }\n        // On error, keep current fees"
    }
  ]
}
