{
 "sources": [
  {
   "url": "https://raw.githubusercontent.com/jiayaoqijia/amm-challenge-yq/HEAD/README.md",
   "quote": "Official leaderboard score: **523.21** on [ammchallenge.com](https://www.ammchallenge.com/)."
  },
  {
   "url": "https://raw.githubusercontent.com/jiayaoqijia/amm-challenge-yq/HEAD/README.md",
   "quote": "1. **Adaptive Shock Gate** — Sigma-dependent pHat update gating. Tighter in low-vol for faster tracking, wider in high-vol for noise rejection.\n2. **Cubic Toxicity** — Superlinear fee response (`tox^3`) at high toxicity levels.\n3. **Trade-Aligned Toxicity Boost** — Extra fee when the trade direction aligns with spot-vs-pHat divergence (likely arbitrage)."
  },
  {
   "url": "https://raw.githubusercontent.com/jiayaoqijia/amm-challenge-yq/HEAD/RESULTS.md",
   "quote": "| Without improved_phat | 522.07 | -0.42 | KEEP |"
  },
  {
   "url": "https://raw.githubusercontent.com/jiayaoqijia/amm-challenge-yq/HEAD/contracts/src/Strategy.sol",
   "quote": "uint256 adaptiveGate = wmul(sigmaHat, GATE_SIGMA_MULT);\n            if (adaptiveGate < MIN_GATE) adaptiveGate = MIN_GATE;\n            if (ret <= adaptiveGate) {\n                pHat = wmul(pHat, WAD - alpha) + wmul(pImplied, alpha);\n            }"
  },
  {
   "url": "https://raw.githubusercontent.com/jiayaoqijia/amm-challenge-yq/HEAD/research/papers.md",
   "quote": "- **Implementable formula**: fee* ≈ a(t) + b(t)*(y - y0)"
  },
  {
   "url": "https://raw.githubusercontent.com/houseofjiao/amm-challenge/HEAD/contracts/src/Strategy.sol",
   "quote": "function getName() external pure override returns (string memory) { return \"category.xyz\"; }"
  },
  {
   "url": "https://raw.githubusercontent.com/houseofjiao/amm-challenge/HEAD/contracts/src/Strategy.sol",
   "quote": "uint256 constant TAIL_SLOPE_ATTRACT = 850000000000000000;"
  },
  {
   "url": "https://raw.githubusercontent.com/lumen-dev-a11y/amm-challenge-lab/HEAD/amm-challenge/my_strategy.sol",
   "quote": "uint256 constant SIGMA_HIGH_THRESHOLD = 1100000000000000;"
  },
  {
   "url": "https://raw.githubusercontent.com/lumen-dev-a11y/amm-challenge-lab/HEAD/amm-challenge/my_strategy.sol",
   "quote": "uint256 baseFee = sigmaHat > SIGMA_HIGH_THRESHOLD ? PROTECTIVE_BASE_FEE : COMPETITIVE_BASE_FEE;"
  },
  {
   "url": "https://raw.githubusercontent.com/0xniki/amm-challenge/HEAD/my_strategy.sol",
   "quote": "/// @title Adaptive Toxicity-Based Fee Strategy\n/// @notice Estimates fair price, tracks toxicity (spot vs fair deviation),\n///         sigma, trade flow, and directional pressure. Uses nonlinear\n///         (quadratic + cubic) toxicity scaling for superlinear arb protection."
  },
  {
   "url": "https://raw.githubusercontent.com/lumen-dev-a11y/amm-challenge-lab/HEAD/amm-challenge/contracts/src/Strategy.sol",
   "quote": "/// @notice Fixed 0.55% fees (55 bps) — best baseline so far (~379 edge / 200 sims)"
  },
  {
   "url": "https://raw.githubusercontent.com/ylintern/ammchallenge/HEAD/Strategy.sol",
   "quote": "// Slightly stronger high-tail compression to avoid over-penalizing arbs.\n    uint256 constant TAIL_SLOPE_PROTECT = 875000000000000000;"
  },
  {
   "url": "https://raw.githubusercontent.com/dipankar/amm-challenge/HEAD/README.md",
   "quote": "| **SigmaAdaptive** | **526.54** | State estimation + adaptive fees |\n| MaxEdgeFinal | 410.58 | High base + extreme arb protection |\n| WinningV5 | 295.57 | Low base + spike/decay |"
  },
  {
   "url": "https://raw.githubusercontent.com/dipankar/amm-challenge/HEAD/ANALYSIS.md",
   "quote": "The winning implementation's ablation study showed only the pHat mechanism survived (−0.42 when removed, everything else within ±0.3 noise)."
  },
  {
   "url": "https://raw.githubusercontent.com/dipankar/amm-challenge/HEAD/contracts/src/WinningV5Strategy.sol",
   "quote": "bool isArb = tradeRatio > ARB_THRESHOLD || tradeRatio > ewma * 5;"
  },
  {
   "url": "https://raw.githubusercontent.com/happybigmtn/ammchallenge-lab/HEAD/AGENTS.md",
   "quote": "- **avgEdge = 527.0346**\n- submission id: `6536f14b-de95-4ec0-b364-3c9aba2b1ec6`\n- author/name: `@josusanmartin` / `v351`"
  },
  {
   "url": "https://raw.githubusercontent.com/happybigmtn/ammchallenge-lab/HEAD/AGENTS.md",
   "quote": "- Top submissions around `v351` are near-symmetric around ~**36 bps** average with tiny average spread (~**0.04–0.26 bps** in top entries) and lower arb volume (~**23.5k–24.0k Y**)."
  },
  {
   "url": "https://raw.githubusercontent.com/happybigmtn/ammchallenge-lab/HEAD/AGENTS.md",
   "quote": "Confirmed score (official fixed seedset, 1000 seeds):\n\n- **avgEdge = 507.27**"
  },
  {
   "url": "https://raw.githubusercontent.com/happybigmtn/ammchallenge-lab/HEAD/amm_submissions/Strategy.sol",
   "quote": "uint256 targetSpot = trade.isBuy ? wdiv(pHat, gamma) : wmul(pHat, gamma);\n            if (targetSpot == 0) targetSpot = spot;\n            uint256 errBps = wadToBps(wdiv(absDiff(spot, targetSpot), targetSpot));\n            bool isArb = (errBps <= ARB_SPOT_TOL_BPS);"
  },
  {
   "url": "https://raw.githubusercontent.com/happybigmtn/ammchallenge-lab/HEAD/AGENTS.md",
   "quote": "- **Inventory-skew orientation flip** (non-inverted): severe degradation (~**340 edge**), so toxic-side inverted skew is critical."
  }
 ]
}