Model: uniform-digits-v1Browser-only experiment

Run a number experiment.

Local educational simulation. Outcomes are generated in your browser using the stated model. They are not live results or predictions of an external game.

Interactive controls require JavaScript and the browser random-value API. The model explanation and classification table below remain available.

How outcomes are generated

The sampler uses your browser’s random-value API. It accepts unsigned 32-bit values below 4,294,967,290 and maps their remainder after division by ten to a digit. Rejecting the final six possible values avoids modulo bias under a uniform word source.

This implements a model of independent draws. A browser generator is not proof of mathematical independence or certified external fairness. No operator is contacted and no prediction is made.

Run, pause, and inspect

Batch samples contain 1–10,000 draws and run in bounded chunks so you can cancel. Timed experiments use five-second teaching rounds, with 1–100 rounds per run. The timer changes the pace, not the model. Timed progression pauses while the page is hidden and does not invent a background catch-up history.

Replay restores the last completed recorded dataset without drawing again. Export downloads that completed dataset as CSV with the model, mode, sample size, digits, and classifications. Cancelling does not record the partial run. If a previous completed dataset exists, replay/export still refer to that last completed run. Reset clears both the visible run and the recorded dataset; reload clears local run history.

Reading the classifications

The table is the selected example ruleset. A digit has one size, but 0 and 5 have two color memberships. Other versions may use different rules.

Example ruleset used throughout this lab
NumberSizeColor membership
0SmallRedViolet
1SmallGreen
2SmallRed
3SmallGreen
4SmallRed
5BigGreenViolet
6BigRed
7BigGreen
8BigRed
9BigGreen

Observed is different from expected

In 20 draws, the expected count for a particular digit is 2. It need not appear exactly twice. Counts use the entire run, even though the recent-history list shows only the latest 20 results. The historical-analysis guide explains sampling variation.

Local educational simulation only. No live results, external predictions, accounts, or financial transactions.