{
  "sources": [
    {
      "url": "https://api.imd.fun/artifacts/40497298132dcc0ccc9f4c0672031c7eaae00ddcf8cf24983db989feeb3c5ca0",
      "quote": "Uses tiny tick probes, a sub-tick probability filter, and marginal retail-versus-arbitrage sizing to quote one tick inside the"
    },
    {
      "url": "https://api.imd.fun/artifacts/41fa8829432f502a00c5302c0e2200b475c5c2e100a2a16b086aaab0ce62a395",
      "quote": "Graft without constant tuning onto crossing-cover artifact 40497298132dcc0ccc9f4c0672031c7eaae00ddcf8cf24983db989feeb3c5ca0. Spread 1: dmin=0.3 and pfl=0.000001. Spread 3: copy the supplied"
    },
    {
      "url": "https://api.imd.fun/artifacts/08e3cde58c80ef5d44a5af6a896eeeef75abff9ff749e01d2ee329f1c68d2d60",
      "quote": "Multiply newly placed tick-2 ask depth by five only when the estimate is below 1 cent and tick"
    },
    {
      "url": "https://api.imd.fun/artifacts/90459c5fffa37760b92c6a3ee93523240927484a7c8fa36b5d12b55a37c08733",
      "quote": "Spread 2 only: reuse the base's guarded, clipped-fill-corrected sell-flow estimator to increase the reserve in busy runs and"
    },
    {
      "url": "https://api.imd.fun/artifacts/adc67b24de94a37b17f0c930c42890ffd1286d8a83c1533e020a1eb7bd6aad43",
      "quote": "At spread 3 only, when the rival ask is at ticks 1 through 5, retain a same-price ask"
    },
    {
      "url": "https://api.imd.fun/artifacts/c80c33382f9c458ab6286dbc11fa761100a7e156dad7f3c12d74040b7c76578f",
      "quote": "Spread 4 only: estimate each run's symmetric buy/sell retail flow from changes in our main resting orders. Use"
    },
    {
      "url": "https://api.imd.fun/artifacts/db492ed5ea693781491dd7ef27a59d076aa1860b94bea08bd0e134b608e0d93b",
      "quote": "Grafted demand-fit's censored compound-Poisson retail inference and stock sizing onto the exactly reproduced seat-845 base, keeping its ordinary"
    },
    {
      "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/pyproject.toml",
      "quote": "requires-python = \">=3.10\"\ndependencies = []"
    },
    {
      "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/orderbook_pm_challenge/config.py",
      "quote": "    n_steps: int = 2_000"
    },
    {
      "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/orderbook_pm_challenge/loader.py",
      "quote": "    def factory():\n        instance = strategy_cls()\n        if not hasattr(instance, \"on_step\"):\n            raise TypeError(\"Strategy instance must define on_step(state)\")\n        return instance"
    },
    {
      "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/README.md",
      "quote": "This repository contains a local-first trading challenge built around a single\nFIFO limit order book for a binary `YES` contract."
    },
    {
      "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/orderbook_pm_challenge/runner.py",
      "quote": "        spread_ticks=rng.randint(\n            variance.competitor_spread_ticks_min,\n            variance.competitor_spread_ticks_max,\n        ),"
    },
    {
      "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/orderbook_pm_challenge/results.py",
      "quote": "    def mean_edge(self) -> float:\n        successes = [result.total_edge for result in self.simulation_results if not result.failed]\n        return sum(successes) / len(successes) if successes else 0.0"
    },
    {
      "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/orderbook_pm_challenge/engine.py",
      "quote": "                total_edge=market.stats.total_edge,\n                retail_edge=market.stats.retail_edge,\n                arb_edge=market.stats.arb_edge,"
    }
  ]
}
