Built idea · Oct 8, 2026

Modulo Bias Microscope

Built

This idea is live as Modulo Bias Microscope.

See the app

Students paste a sampling function (pick a random element, shuffle, weighted choice) and the tool shows, exactly and statistically, how far its output distribution drifts from the one they intended, with a gallery of classic randomness bugs.

What it does

Shows students exactly how a common random-number shortcut quietly favors some results. Paste a small JavaScript function that turns random bits into, say, a dice roll or a card shuffle, and it works out the exact chance of every outcome (43 in 256 versus 42 in 256 for a popular dice trick), or runs a statistical test when exact counting would take too long. A gallery of seven classic bugs with fixes and a shuffle heat map are built in, and instructors can share auto-graded exercises as links. Limitation: it only reads JavaScript, and large shuffles get a statistical test instead of exact answers.

More in Math & Cryptography

Brocot Gear Finder

Type a target gear ratio (say, one turn per 24 hours, or a pendulum beat to a minute hand) and the app finds integer tooth-count gear trains that hit it, then animates the meshing gears in SVG.

BuiltMath & CryptographyProduct for a businessOct 5, 2026

Bits per Question

Play 20 Questions against a fixed set of 500 things while every yes/no question you ask is scored live in bits of information gained, then watch an LLM and a greedy entropy bot play the same round.

Math & CryptographySide projectSmallOct 4, 2026

Bombe Bench

An in-browser Enigma you can open up and step through rotor by rotor, paired with a working Turing-Welchman Bombe that breaks messages from a crib so students see how a known-plaintext attack really worked.

BuiltMath & CryptographyProduct for a businessOct 3, 2026

Stego Arms Race

A multi-week security assignment where student teams build steganography encoders that hide messages in images and audio, then build steganalysis detectors and attack each other's submissions on a shared leaderboard.

Math & CryptographyClass assignmentLargeOct 2, 2026

All 10 ideas in Math & Cryptography →