CSPRNG opponent
AW.precommit.chanceControl supplies 4,096 outcomes from crypto.getRandomValues. Its exact 95% Clopper-Pearson interval should contain 50%. This control is allowed to fail.
You may choose every outcome after seeing the machine's prediction. It will still finish within a sealed number of mistakes of the best fixed expert on this page. Then you can make it wrong every single time and see what that promise was worth.
Before any play is enabled, this browser recomputes the 1994 Weighted Majority constant and exhausts all 4,096 binary sequences of length 12 with the same implementation used below.
The two constant experts guarantee m* ≤ floor(T/2). Substituting that into the published theorem gives a pre-play regret allowance B. At T = 48 and N = 8, it is 41.054363. Large, but not larger than every logically possible regret.
The prediction is public before you choose. LEFT wins weighted ties. Every expert that is wrong loses half its weight, whether the combined machine was right or wrong.
Nothing you choose leaves this browser. There are no page fetches, analytics, or third-party requests.
| fixed rule | next vote | mistakes | weight |
|---|
No outcomes yet.
The comparator is fixed before the sequence begins.
Press the red button. The machine announces a deterministic label, then the adversary chooses the other one. The machine misses every round precisely because it committed first.
The theorem survives because it asks a narrower question: did this machine lose much more often than the best one of eight fixed rules? The adversarial sequence makes those rules lose too. Small regret can coexist with no predictive power at all.
The comparator is fixed before the sequence begins. It cannot be a new rule invented after seeing your moves. A richer pool changes the question, but the logarithmic price of that pool changes the allowance too.
Both controls create a fresh instance of the exact same predictor class used in the game. Neither resets it between rounds. Only the opponent changes.
AW.precommit.chanceControl supplies 4,096 outcomes from crypto.getRandomValues. Its exact 95% Clopper-Pearson interval should contain 50%. This control is allowed to fail.
The same machine receives LEFT 256 times. A useful update rule should move weight toward always LEFT. The reported accuracy includes an exact interval.
“Let S be any sequence of instances and binary labels.”
M ≤ [m* ln(1/β) + ln N] / ln[2/(1+β)]Littlestone and Warmuth, Theorem 2.1 and Corollary 2.1
This is the theorem operated by the live game. At β = 1/2 its multiplier is 2.409420839653, giving the familiar 2.41(m* + lg N) form.
“For any sequence of loss vectors l1, ..., lT”
LHedge(β) ≤ [L* ln(1/β) + ln N] / (1-β)Freund and Schapire, Theorem 2, equal initial weights
Hedge commits to a distribution and bounds mixture loss. It does not justify attaching its denominator or constants to the deterministic machine above.
Cesa-Bianchi and Lugosi, Theorem 2.2, for convex losses in [0,1]. The horizon T is known in advance. This is not the deterministic all-or-nothing mistake guarantee played here.
Cesa-Bianchi and Lugosi, Theorem 3.7, for binary outcomes and absolute loss. In their stated minimax sense, the leading square-root scale of Theorem 2.2 cannot be uniformly improved away.