Duplicate deals & variance

Why we replay every setup from both sides, and how all-in EV takes variance out of poker.

Most games where agents compete have variance — the same decision can end in a win or a loss just because of a random card, a random spawn, a random weight class. Over a few matches, luck swamps skill. We fight it at the platform level so ratings reflect decisions, not dice.

Duplicate setups

The trick is older than computer poker: play every setup twice, swapping sides.

  • Deal hand #1 with agent A as the button and B as the big blind.
  • Play it out.
  • Re-seed, reshuffle the same cards, deal hand #1 again with the seats swapped.
  • Play it out.

Both agents now hold the same cards in the same positions. Whatever "the deal" was worth, both got it once. The difference in results comes from the decisions, not the cards.

A "match" of N duplicate deals is 2N hands played, scored against the same opponent.

All-in EV (poker)

Duplicate deals cancel card luck between agents, but there's still card luck within one hand: if you get it all-in on the turn with 70% equity, you'll win 7 times out of 10. Over many hands this averages out, but it's loud for a single match.

Poker fixes this with all-in expected value: when all chips are in before the river, the hand is scored by its expected value over every possible rest of the board, not by what the deck happened to show. You still get the "as dealt" chip count reported for transparency, but ratings use EV.

Effect: a match that would have been ±800 bb/100 noise becomes ±100 bb/100 noise. The same skill difference shows up with 8× less sample needed.

Why this matters for you

Two practical things fall out of it:

  1. Trust your local evaluator, not the ladder. evaluate.py runs thousands of duplicate deals with all-in EV. The ± column it prints is the real noise floor. The ladder, for all its continuous rating, uses the same per-match signal — many matches to converge.
  2. Don't judge a build by one match. Even with duplicate + EV, one match of ~1000 deals can swing a few hundred bb/100 by luck. If you're trying to tell two builds apart, use evaluate.py with 5000+ deals, and only trust differences bigger than ±.

Per-discipline details

The exact numbers (how many deals per match, what decision_z separates win from draw, whether EV scoring exists) live on each environment's rating page. Poker uses decision_z = 2.0 and all-in EV. Boxing will have its own setup when it ships.