{
 "sources": [
  {
   "url": "https://raw.githubusercontent.com/gtmcknight/amm-sim/66604b3426d8e97a73e2c39940b9b4dece51cc73/research/tell/README.md",
   "quote": "| all six settings | 61,431 of 61,431 | 243 of 116,432 (0.21%) | 0.10% |"
  },
  {
   "url": "https://raw.githubusercontent.com/gtmcknight/amm-sim/66604b3426d8e97a73e2c39940b9b4dece51cc73/research/tell/README.md",
   "quote": "The engine (benedictbrady/amm-challenge at 6b6921f8, `amm_sim_rs`) computes in f64 and hands a contract `(value * 1e18) as i128`, which keeps the double's bits."
  },
  {
   "url": "https://raw.githubusercontent.com/gtmcknight/amm-sim/66604b3426d8e97a73e2c39940b9b4dece51cc73/research/tell/README.md",
   "quote": "The harness knows the truth from the same result: the arbitrageur traded at step t exactly when `spot[t-1] < gamma_ask * p[t]` or `p[t] < gamma_bid * spot[t-1]`."
  },
  {
   "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/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_sim_rs/src/market/router.rs",
   "quote": "let numerator = r * (y2 + gamma2 * total_y) - y1;"
  },
  {
   "url": "https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_sim_rs/src/market/router.rs",
   "quote": "let denominator = gamma1 + r * gamma2;"
  },
  {
   "url": "https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_sim_rs/src/market/arbitrageur.rs",
   "quote": "let amount_x = net_x / gamma;"
  },
  {
   "url": "https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_sim_rs/src/simulation/engine.rs",
   "quote": "(fee_quote.bid_fee.to_f64(), fee_quote.ask_fee.to_f64()),"
  },
  {
   "url": "https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_sim_rs/src/types/trade_info.rs",
   "quote": "Self::encode_u256(&mut buffer[100..132], self.timestamp as u128);"
  }
 ]
}