How Random Are You? The Show HN Test That Predicts Your Next Number
How Random Are You? is a browser experiment that tries to predict the next number a person will say, and it succeeds often enough to beat blind guessing for most users. Posted to Hacker News as a Show HN, the tool at lab.specr.net/rigged-draw/ asks people to produce digits from 1 to 9 and scores how well a set of online predictors anticipates each choice. It is a web-native descendant of the Aaronson oracle, the classic demonstration that humans are poor at generating randomness.
What the experiment asks you to do
The task is to say numbers from 1 to 9 out loud, as randomly as you can, while the site predicts each one before you produce it. The site describes the mechanic as a sealed guess: "Before each one, the house seals its guess in an envelope. Say the number and the envelope opens." A typed input option exists alongside the voice mode.
Key rules as stated on the page:
- You pick from 1 to 9.
- Your first 10 numbers are a warm-up; the house guesses during them, but nothing counts.
- The more numbers you say, the more the house learns about you, and the more reliable your result.
- At the end, a ticket shows how you compare with 206 people from a psychology study.
The site warns that speech recognition errors are tolerated: "if the house mishears one now and then, don't stop."
Where the idea comes from: the Aaronson oracle
The core concept is a well-known demonstration in which a simple probabilistic model predicts a human's next binary or digit choice at rates far above chance. Hacker News commenter costco placed the project in that lineage and quoted Scott Aaronson's account of a Berkeley classroom experiment:
In a class I taught at Berkeley, I did an experiment where I wrote a simple little program that would let people type either "f" or "d" and would predict which key they were going to push next. It's actually very easy to write a program that will make the right prediction about 70% of the time. Most people don't really know how to type randomly. They'll have too many alternations and so on. There will be all sorts of patterns, so you just have to build some sort of probabilistic model. Even a very crude one will do well. I couldn't even beat my own program, knowing exactly how it worked. I challenged people to try this and the program was getting between 70% and 80% prediction rates. Then, we found one student that the program predicted exactly 50% of the time. We asked him what his secret was and he responded that he "just used his free will."
Commenter cubefox pointed to a separate implementation of the same idea at aaronsonoracle.com.
How the house predicts your next number
The site runs ten small predictors simultaneously and trusts whichever has been right most recently, rather than committing to a single model. According to the project page, some predictors count which number tends to follow which, some track your steps up and down, one looks for the last time you repeated the same few numbers in a row, and one notices which numbers you have not said for a while.
The neglected-numbers predictor does most of the work. As the page puts it: "people keep reaching for the numbers they've neglected." In a truly random sequence, each number is independent of the ones before it, so that reaching behavior is exactly the leak the model exploits.
The system is not trained from scratch on each visitor. It "gets a head start from 418 people who each picked 200 numbers from 1 to 9 in a psychology study, then adjusts to you as you go." The comparison set shown on the final ticket is a separate group of 206 people from a psychology study.
What a score means
Blind guessing on digits 1 through 9 would be right about 11% of the time, so a hit rate near or below 11% means the house could not read you. The site reports both the raw number of correct calls and that baseline, which makes the results interpretable without knowing the model internals.
Representative results posted in the thread:
steve_adams_86fed the siteMath.random()output and got "The house called 18 of your 190 scored numbers: 9%. Blind guessing would average about 21.1 of them (11%). Only 1 of the 206 people in a psychology study was more random than you."ehwa37reported "The house called 9 of your 117 scored numbers: 8%... None of the 206 people in a psychology study were more random than you."tchallareported "The house called 1 of your 32 scored numbers: 3%."Francutereported "The house called 19 of your 190 scored numbers and only 2 people were more random than me."riffraffreported 3 of 27 (11%) on a first attempt and 14 of 118 (12%) on a second, and speculated that typing is easier to do randomly than speaking.
Strategies people used to beat the house
The most effective reported strategies involved reacting to the house's guesses rather than trying to generate randomness from scratch. Because the tool shows predictions as you go, several users turned the task into an adversarial game.
christophilus: "I started just lagging the guesses of the machine, and it never seemed to catch on."alwadescribed the moment the task flipped: "As soon as I noticed it repeating its guess, I had a good long run of adversarially avoiding that number… it's kind of fun being on the machine side of the slot-machine-type racket!"malfistused the warm-up as bait: "Use your warmup to repeatedly guess the same number, and then don't use it for a while."maidamanpicked instinctively and then shifted: "deciding on a number instinctively and then picking something next to it. Maybe we instinctively pick similar numbers, but if we fight our instincts we end up with something truly random."akshitgaur2005tried alternating and advancing from both ends, noting it worked when the previous guess wasnbut failed on sequences like "1, 8, 3, 7, 4, 7, 1, 7, 3, 8."Trusteandoproposed an arithmetic trick: think of two numbers and output(n1 + n2) mod 9 + 1.gaiagraphiareported doing well by "pretending I'm playing piano to a megamix of tracks which popped into my head."
Two users bypassed the problem entirely by reciting a known constant. wren6991 said: "I was able to beat this quite easily by just saying the first 100 digits of pi out loud. The house guessed 1/10, no better than random. Maybe you should add a predictor for 'well-known mathematical constants'." kps and shric made the same move, with kps noting "the site agrees that the digits of π are random."
Caveats, bugs, and open questions
The biggest methodological question raised in the thread is whether the original psychology study showed participants the predictions, because seeing feedback changes the task. Commenter kykat wrote:
Does someone know whether people saw the "predictions" in the actual test? Because saying random numbers blindly is not what I was doing. After my next number was predicted correctly, I changed my "strategy" to increase randomness (be less predictable). So I don't know if this result is comparable to the one from the study.
Several users reported behavior that looks like bugs rather than model failure:
floorsthelimit: "House called 0 of 50. Huh?"vorticalbox: "I got to 2/30 then it just guessed 7 from 30-50. Did I break it?"nightpoolflagged a copy error in the results text: "You spread your picks more evenly than a random draw would. Your most-used number made up 23% of your picks, where a random draw's busiest number gets about 23%."
Other open items from the thread:
- Privacy:
pavel_lishinasked, "Is anyone sufficiently paranoid that their first thought was, 'Are you going to train a model on my voice?'" The typed input mode is the alternative. - Speech stack:
coolThingsFirstasked which speech recognition model the site uses; no answer appears in the thread. - Sealing mechanism:
frutigerasked "How are you sealing the predictions?" — also unanswered. - Provenance of the copy:
yesitcanwrote, "When I see the world 'sealed', I immediately know Claude generated the site copy."
A technical footnote on the Math.random() experiment: the snippet posted by steve_adams_86 uses Math.round(Math.random() * 10), which can produce 0 and 10 in addition to 1–9, and the code skips clicks when no matching pad element exists.
Related projects and prior art
The thread surfaced several adjacent tools and jokes about human randomness. tibbar linked humanrandomness.com, a side project built to guess which number other people are least likely to pick. andai linked xkcd 1210, and both m463 and exabrial referenced the Dilbert comic about Accounting's random number generator — exabrial adding, "I tried it. Several 9s later, it figured me out."
The consistent takeaway across the discussion is that humans leak structure when asked to be random, and that the leak is exploitable with simple, adaptive models rather than anything sophisticated.
Sources
Related
- Dispatch
- Dispatch
- Dispatch
- Dispatch
- Dispatch