Check your dice
These are ordinary dice. A thousand rolls reads the hundred as one set and catches a skew they all share — a mould out of square, a bad cavity. It will not find one bad die among them, and it will not tell you the set is fair.
A hundred dice a shake means a thousand rolls is ten shakes and fifteen minutes. Photograph each one, hand all ten to a model that reads pictures, and have it pool the counts and test the six faces against each other. What comes back describes the hundred together, and only a gross skew at that.
Ten shakes
- ShakeThe ordinary procedure. Nothing about the test changes it.
- Photograph the gridLid out, camera straight down, no flash, the whole field in frame including the empty row.
- Ten times overA thousand rolls, one photograph a shake.
- Hand over all tenGive the ten photographs and the prompt below to a model that reads pictures. It reads every grid, pools the counts and runs the test. All ten at once — not the shake that looks worst.
- Check its workingEvery grid has to come to a hundred, and a row picked at random has to match your photograph. The arithmetic is on the page it printed: add the six pooled counts and see that they come to a thousand.
The prompt
These photographs each show a tray of six-sided dice in a 10 x 11 grid of seats, taken from directly above. Read the up-face of every die in every photograph. - Only the top face counts. - Work row by row, left to right. Output one line per row: ten values, with a dash for an empty seat. - A centre pip with filler or a smear trailing out of it is a 1, not a 2. This is the most common misread. - Two and three both lie on a diagonal. Count the pips, do not match the shape. - Write ? for a die you cannot read rather than guessing. - After each photograph, give the tally of 1s to 6s and the total. It must be 100. - Then pool all of them: the total count of each face, and the grand total. - Test the pooled counts against a fair die. Give the chi-square statistic on 5 degrees of freedom, the p-value, and whether the counts are consistent with fair dice at the 5 per cent level. Show the arithmetic.
A model miscounts without knowing it has, and it gets arithmetic wrong just as quietly. Run the whole thing a second time in a fresh conversation and compare the pooled counts and the p-value; where they differ, look yourself.
Reading the result
- A pass is not fairness. Pooled over the hundred, a thousand rolls sees a shared skew of about three and a half points. The bias measured in ordinary moulded dice is a fifth of a point, and the published experiments needed a quarter of a million rolls to pin it down. A pass means nothing gross is wrong with the set, and that is the whole of it.
- And the skew it misses is cheap. Keith Mukai worked out what the bias costs: ordinary dice measure about 1.3 per cent off a face, and he took 2 per cent to be hard on himself. A hundred dice here hold 258.5 bits fair, 256.7 at the bias Labby measured and 255.6 at his 2 per cent — under three bits lost at the worst of it. His answer on whether to buy casino dice was no.
- Pool, then test. One pass in twenty fails on its own, so a single bad pass out of ten is ordinary. Decide how many passes you will run before you start.
- It tests the set, not a die. Every die goes into one pooled count, so a single bad die is ten rolls in a thousand and hides easily. It takes around six dice stuck on a face before this test reliably notices, and a quarter of the set badly skewed still slips through.
- So look at them once by hand. On glass, a die that rocks on a face is not sitting flat. Filler standing above the face instead of inside the pip is a reject — the tray has ten spare seats for exactly that.