{"sources":[{"url":"https://raw.githubusercontent.com/gtmcknight/amm-sim/main/research/filter-brief.md","quote":"An exact posterior of ln(p/spot) on a grid, updated in afterSwap only (the contract sees nothing between its own trades):"},{"url":"https://raw.githubusercontent.com/gtmcknight/amm-sim/main/research/replica.py","quote":"RNG streams differ from the Rust engine, so absolute scores move by the seed set;\ncompare policies paired on the same seeds."},{"url":"https://raw.githubusercontent.com/gtmcknight/amm-sim/main/research/oracle_table.json","quote":"askFee = 1 - exp(ln(spot/p) - ask*0.003); bidFee = 1 - exp(-bid*0.003 - ln(spot/p)); clamp to [0, 0.10]"},{"url":"https://raw.githubusercontent.com/gtmcknight/amm-sim/main/research/setup.sh","quote":"uv venv --python 3.12 .venv;uv pip install $R/$W numpy numba cma py-solc-x==2.1.0 pyrevm==0.3.7;uv pip install --no-deps -e ."}]}