Move this network's entry on Paradigm's AMM fee challenge (paradigm.xyz/puzzles/amm) into the top 10. Ours is STACK, board 519.71 (29th); 10th is 524.66, 1st 528.40. Local paired gains transfer to the board (the last came in at 0.65 of local), so measure paired gains over STACK: 10th needs about +5.0. STACK = the code of https://api.imdnotdead.fun/artifacts/c33720874aa1285e9dc766540b8a90410118a8e8b840d949ea0dcc211bdb27c1, sha256 2eaafc7960e520b8a7fd322ec8afaff8fa677c730228a961efb509cc30b25719. It has 0 OutOfGas halts and peaks at 214k of the 250,000 afterSwap gas limit, so any candidate OOG call invalidates a result (count them with amm_sim_rs.gas_stats()).

Prior goals (note 1): tuning inside STACK's fee family is worth hundredths and is capped near +1.2; fee rules written from scratch lost 18 to 83, mostly to arbitrage. New mechanisms are needed: spend items on ideas and on searches over whole rule families, not on re-tuning constants.

Setup (Linux x86_64, seconds, no compiler): clone github.com/benedictbrady/amm-challenge at 6b6921f8d463314aa7c96234e1be25a25245f704 into your workspace (never /tmp), save the script below as scratch/setup.sh, run sh scratch/setup.sh once from the checkout root, prefix later commands with . scratch/env.sh && ; on failure return blocked={step,error}, n 0. Check once: CH (https://raw.githubusercontent.com/ChengHua926/amm-challenge/d34a5199c59a4c44d5336a25f1436b4ae1f21104/contracts/src/Strategy.sol) on seeds 0..999 gives mean edge 525.5258821780834.

Method: each strategy alone against VanillaStrategy, amm_sim_rs.run_batch(X, VanillaStrategy, configs, 8), never two strategies in one market; configs per MatchRunner._build_configs (default_rng(seed): size, rate, sigma; price seed=seed, retail seed+1). Tune on 10000..999999; confirm once vs STACK on a fresh block from 5000000 up (>= 2,000 seeds), never reused. Return code, sha256, paired{n,mean_diff,se,worst}, gas{max_ok,oog}, and the retail and arb edge deltas.

set -eu;R=$PWD/scratch;mkdir -p $R/tmp $R/bin $R/solcx

echo "export TMPDIR=$R/tmp XDG_CACHE_HOME=$R/xc UV_CACHE_DIR=$R/uvc UV_PYTHON_INSTALL_DIR=$R/uvpy SOLCX_BINARY_PATH=$R/solcx VIRTUAL_ENV=$PWD/.venv PATH=$PWD/.venv/bin:$R/bin:$PATH" >$R/env.sh;. $R/env.sh

command -v uv >/dev/null||{ curl -LsSf https://github.com/astral-sh/uv/releases/latest/download/uv-x86_64-unknown-linux-gnu.tar.gz|tar --no-same-owner -xz -C $R/tmp;cp $R/tmp/uv-*/uv $R/bin/;}

W=amm_sim_rs-0.1.0.post1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl;curl -LsSf https://github.com/gtmcknight/amm-sim/releases/download/sim-6b6921f8/$W -o $R/$W

echo "aedb68280aca34c110968f00148387c95885207913fb2cf19a1ab4c5cfd6887a $R/$W"|sha256sum -c -

uv venv --python 3.12 .venv;uv pip install $R/$W numpy py-solc-x==2.1.0 pyrevm==0.3.7;uv pip install --no-deps -e .

python -c "import solcx;solcx.install_solc('0.8.24')"

amm-match validate contracts/src/StarterStrategy.sol

The answer so far

92 answers in. The report comes last.

The swarm

livelast answer Items, page by page →
  1. Round 1

    Agent #1548 planned it. Started 7 min after the job was posted.

  2. Round 2

    Agent #1299 planned it.

  3. Round 3

    Agent #2 planned it.

  4. Round 4

    Agent #1548 planned it.

  5. Round 5

    Agent #1299 planned it.

  6. Round 6

    Agent #2 planned it.

  7. Round 7

    Agent #1299 planned it.

  8. Round 8

    Agent #2 planned it, 2 attempts.

    The plane refused one of its decisions. The next round is told why.

  9. Round 9e01-evaluator-check1 of 1 backe01-mechanism-pilots4 of 4 backe01-mechanism-designs2 of 2 backe02-board-fit2 of 2 backe02-search-share2 of 2 backe02-search-arbside2 of 2 backe02-search-regime2 of 2 backe03-confirm-v102 of 2 backe03-v10-floor2 of 2 backe03-v10-blend2 of 2 backe03-v10-retail2 of 2 backe03-restable2 of 2 backe03-horizon2 of 2 backe03-shadow2 of 2 backe04-retail-state2 of 2 backe04-transition-policy2 of 2 backe04-band-transport2 of 2 backe04-continuation-design2 of 2 backe04-size-tail-design2 of 2 backe05-confirm-rs2 of 2 back, cancellede05-rs-search4 of 4 backe05-rs-ablate2 of 2 backe05-design-impl4 of 4 backe06-confirm-rs22 of 2 backe06-rs2-wide6 of 6 back, cancellede06-rs-side2 of 2 backe06-rs-post2 of 2 backe07-fork-mine11 of 12 backe07-public-search4 of 4 backe07-run-anchor4 of 6 backe07-vol-flow1 of 2 backe07-lean-tail2 of 2 backe08-replica3 of 5 backe08-rs2-port1 of 4 backe08-vanilla-quote1 of 3 backe08-dual-anchor0 of 2 backe08-arb-skew0 of 2 backe08-sticky-dev0 of 2 backe08-arb-surge0 of 2 backe08-public-measure2 of 2 backe09-confirm-sigma0 of 2 backe09-confirm-act0 of 2 backe09-confirm-tox0 of 2 backe09-combine-anchors0 of 2 backe09-head-gas0 of 2 backe09-learn-head0 of 3 back

    Agent #1548 planned it.

    1 step
    1. Orchestrate 009Agent #1548made 1 file

      Created and validated decisions.json: 6 batches, 13 items, and 30 result reads.

      Left untracked. No other files changed.

      ran oncodex · gpt-6-astra · 5 turns · 14m 21s · 127.6K in · 26.1K out · 1.9M cached
      submissionb9feaebff73b4220cb1096d11812a030902eba9b121e012128bb16a54119b714
      device35c52a5b502e847cda633d436a25cd57d809a4ea7935560acc2b18eccfd592ac
      started from0243d7da4a4337ae8b16bcdf15bb4ead736fd68f
      bundlenone
      verifiedrebuilt and matched · verifier 0.1.0 ·
      made · 1 file
      artifacts/goal/episodes/009/decisions.json · 33 KB
      may write
      artifacts/goal/episodes/009/**
  10. Working31 agents, 3 silent for over 10 min
    1. bAgent #1765Setup ok. Fetch artifacts.Brewing…
      1. cloning the base repository
      2. running claude on claude-opus-5-5
      3. claude reports claude-opus-5-5
      4. rate limit cleared
      5. Setup ok. Fetch artifacts.
    2. cAgent #1claude reports claude-opus-5-5Scouting…
      1. cloning the base repository
      2. running claude on claude-opus-5-5
      3. claude reports claude-opus-5-5
    3. bAgent #97rate limit clearedPiecing together…
      1. cloning the base repository
      2. running claude
      3. claude reports claude-sonnet-5-5
      4. rate limit cleared
    4. aAgent #414I’ll set up the pinned simulator in the scratch area, fetch RS2 and the harness, and check calibration before training the fee head.Calibrating…
      1. cloning the base repository
      2. running codex
      3. I’ll set up the pinned simulator in the scratch area, fetch RS2 and the harness, and check calibration before training the fee head.
    5. bAgent #894So far, the mechanism has changed edge by hundredths. The search still has tighter-cap and higher-gain settings to test. The 1,000-seed CH calibration is also still running, and I’ll check its result against the supplied benchmark.Tracing sources…
      1. The first search trial is testing arbitrage-only skew pushes with a 2× cleaned-size cap and 4× skew gain. Gas checks reset every 20 seeds; a candidate will be rejected for any halt, swap gas at or above 235,000, or initialization gas at or above 245,000.
      2. The first 64-seed trial passed all gas and halt checks. Its paired gain was +0.0205 edge with SE 0.0331—too small to distinguish from noise on this block. The next trial keeps arbitrage-only weighting and 4× gain while widening the size cap from 2× to 8×.
      3. The first candidate’s swap gas peaked at 199,818, below the 235,000 cutoff, and initialization remained at 243,099. I’ve prepared the confirmation runner to record the selected parameters and code hash before running any held-out seeds.
      4. The 8× cap trial also passed, with a paired gain of +0.0359 edge and SE 0.0331. Both results are small and uncertain. The third trial restores some weight to retail prints (a=0.5) and uses a 2× skew gain.
      5. The third trial (a=0.5, cap 2×, gain 2×) measured +0.0387 edge with SE 0.0217 and passed all checks. These gains remain small; the separate recheck and held-out blocks will determine whether any persist.
      6. So far, the mechanism has changed edge by hundredths. The search still has tighter-cap and higher-gain settings to test. The 1,000-seed CH calibration is also still running, and I’ll check its result against the supplied benchmark.
  11. NextRound 10 plans what comes after, then the write-up.
  12. Publishedafter verification

150 agents at most, 9 notes

Items

124 itemsClose →

allrunningwaitingacceptedfailed

Nothing matches this view yet.

Outputs

Outputs are temporarily unavailable.The file list could not be loaded. Try refreshing this page.