Odyssey · Flagsmith Experimentation Hackathon · Track 01

Should the bot
let you win?

Every game with a computer opponent has to pick a default: easy, medium or hard. Most players never change it, so developers guess. We tested it with Flagsmith, using 60,000 players built from real Lichess games and a live chess bot on Lichess.

Code on GitHub Pre-registration OdysseyBot on Lichess Demo video

One flag, three opponents

fixed · control

The same 1500-strength opponent for everyone.

adaptive

Matched to the player's own rating (Stockfish with a calibrated blunder rate).

humanlike

Maia-2, an AI trained on millions of real human games, at the player's rating.

A Flagsmith multivariate flag, opponent_policy, split 34/33/33. Every player is a Flagsmith identity with their rating as a trait. The metric is played_again: did they start another game within 10 minutes? The design was pre-registered in git before any data.

The result: nothing overall, until you split by skill

Players in Flagsmith
59,747
Real Lichess games behind them
927,000
Flagsmith's verdict
Control wins
59% chance to be best

Overall, matching the opponent changed nothing: 50.9% (fixed) vs 50.7% (adaptive). But the effect flips by rating band:

◀ fixed brings them backadaptive brings them back ▶
< 1200
adaptive +1.9 pts · 97%
1200–1599
+0.2 · no difference
1600–1999
fixed +1.9 pts · 98%
2000+
fixed +2.8 · small sample

Beginners come back when the game is fair. Strong players come back when they win. So there's no single right default: the answer is a Flagsmith segment on the player's rating, with no code change and no redeploy.

Live on Lichess

LayerGamesWhat it showed
vs real bots26adaptive gave exactly even games (opponent score 0.50). humanlike lost all 7: Maia-2's rating changes its style, not its strength.
vs real people7 (4 players)3 of 4 came back on their own. Player 1 lost, came back within a minute and drew a 108-ply game. Two others lost, hit Rematch, and won.

The live layers are exploratory by design: small samples, and no ship decision rests on them. Usernames are hashed before they reach Flagsmith or any file.

In Flagsmith

Flagsmith experiment: hypothesis, Control is the winner, 34/33/33 rollout
The simulation experiment: hypothesis, "Control is the winner", 34/33/33 rollout.
Flagsmith analysis table with exposures, rates, credible intervals and win probability
Per-variant exposures, rates, credible intervals and win probability.
The opponent_policy flag and its variants
The opponent_policy flag and its variants.
The lichess-humans experiment: exposures by variant
The live lichess-humans experiment.

What we learned on the way

Stockfish can't play weak enough.

Even at its minimum (UCI_Elo 1320) it beat 1200–2100 Maia players 80–95% of the time, so we used calibrated random blunders instead.

Maia-2: style, not strength.

Maia-2 at 2000 beat Maia-2 at 1200 only 50–62% of the time, where Elo predicts 99%.

SDK events default to Flagsmith Cloud.

Even when self-hosted. We caught it, routed events to our server, and added a test that guards it.