What is this?

The Question Machine is a question generator that produces thought-provoking questions using nothing but algorithms, grammars, and combinatorics. There is no AI, no language model, and no network call involved. Every question is assembled from hand-curated word banks, template systems, and context-free grammars running entirely in PHP.

The same seed number always produces the same questions. Share a seed with someone else, and they'll see the exact same set. This is what "deterministic" means here — the randomness is controlled and reproducible.

114,894,520 unique questions possible across 14 generation techniques

The interface

The main page is organized as one tab per generator — pick a technique and browse its categories without wading through everything else. Your selected tab is remembered between visits, and pressing G (or the refresh button) generates a fresh batch without losing your place.

How it works

Generation happens in six phases, each building on the last:

Phase 1 Primary generators run independently (Combinatorial, Grammar, Socratic, Paradox, Analogy, IceBreaker, Onomatopoeia, ThisOrThat, Counterfactual, Ethical Dilemma, First Principles, Perspective Shift) | Phase 2 Pipeline chains generators together (Grammar+Reframe, Analogy+Socratic, Paradox+Meta) | Phase 3 Meta wraps Phase 1+2 output in meta-level inquiry | Phase 4 Taxonomy classifies every question (Bloom's level, open/closed, emotional register) | Phase 5 History & dedup check (5 layers of uniqueness filtering) | Phase 6 Post-processing (a/an agreement, repeated-word fix)

The generators

Combinatorial
Cartesian product of subjects, actions, and contexts.
Picks one item from each of three independent pools (e.g., "gravity" + "became contagious" + "inside a neutron star") and drops them into a pattern like What if [subject] [action] [context]?. Five domains (science, philosophy, society, technology, nature) × 10 patterns × ~20 items per pool.
"What if dark matter became contagious inside the human body?"
207,600 unique questions
Grammar (CFG)
Context-free grammar expansion from a start symbol.
Defines production rules like S → QWORD AUX SUBJECT VERB OBJECT ? and recursively expands non-terminals into terminals. Four grammar types: speculative, causal, comparative, and boundary. The recursive structure creates an enormous combinatorial space.
"Where does a library end and a map begin?"
2,924,101 unique questions
Socratic
Five-stage chains that progressively deepen inquiry.
For each topic (justice, knowledge, identity, freedom, truth, etc.), the generator builds a five-step chain: Define → Explore → Challenge → Hypothesize → Synthesize. Each step picks from generic templates plus topic-specific overrides. 12 topics × 7 alternates × ~8 templates per stage.
"What is justice?" → "Why do different cultures define justice so differently?" → ...
4,128,768 unique chains
Paradox
Self-reference, identity, infinity, omnipotence, prediction, value, language, and time paradoxes.
Eight sub-techniques drawn from classical paradox structures: self-referential questions, Ship of Theseus-style identity puzzles, infinity thought experiments, omnipotence dilemmas, prediction/observer paradoxes, self-defeating values (can tolerance tolerate intolerance?), the vagueness of language (when does a heap stop being a heap?), and Zeno-style motion and time puzzles (when does the moving happen?).
"If you replace every piece of a ship, is it still the same ship?"
2,069 unique questions
Analogy
Cross-domain comparisons between unrelated fields.
Pairs concepts from 13 domains (science, art, nature, society, technology, the body, mathematics, cuisine, warfare, games, music, language, time) using 12 comparison frames. Only cross-domain pairs are allowed — the surprise comes from the collision.
"What hidden structure do a neuron firing and a sonnet share?"
207,360 unique questions
IceBreaker
Classic conversation starters: preferences, hypotheticals, personal history, self-reflection.
A mix of standalone questions (handpicked classics) and template-based generation across nine categories, from light preferences to deeper introspection prompts.
"If animals could talk, which species would be the rudest?"
1,311 unique questions
Onomatopoeia
Explores the relationship between sound-words and meaning.
Questions about why "buzz" sounds right, whether sounds go extinct, cross-language sound comparisons (a duck says "quack" in English but "ga-ga" in Turkish), synesthesia, invented sound-words, and the sounds machines choose to make.
"If you forget the word for a sound, do you hear it differently?"
8,062 unique questions
This or That
Quick-fire binary choices that reveal preferences and values.
132 curated classic pairs across 7 categories (food, lifestyle, entertainment, deep cuts, personality, nostalgia, abstract) plus random-pairing pools for extra variety. Deterministically shuffled and presented in varied frames.
"Invisibility or Flight?"
15,050 unique questions
Counterfactual
Explores alternate realities through "what if" scenarios.
Changes one variable — a historical event, a natural law, a human trait, the timing of an invention, the machinery of money, the human body, or the near future — and asks what would be different. Seven categories with 10 templates each and rich word pools across history, physics, psychology, technology, economics, biology, and the decades ahead.
"What if the Industrial Revolution had never happened? How would art be different today?"
9,582 unique questions
Ethical Dilemma
Forced-choice moral questions with real stakes.
Eight sub-techniques: sacrifice (protect one value by giving up another), lesser evil (choose between two bad outcomes), duty vs outcome (principle versus pragmatism), individual vs collective (personal rights versus common good), fairness and reward (what deserves to be rewarded, and by how much), present vs future (benefits now against costs for those not yet born), truth vs kindness (is a comforting silence honest?), and principles (open questions of rights, responsibility, and moral law). Deeper than simple binary choices — every option has a cost.
"If preserving freedom required permanently destroying comfort, would it be worth it?"
8,110 unique questions
First Principles
Decomposes concepts to their foundations and questions axioms.
Seven sub-techniques: decomposition (strip a concept to its smallest assumption), reconstruction (rebuild a system from scratch), axioms (question the foundational assumptions of a field), foundations (test whether a concept survives without its dependencies), incentives (trace what a system actually rewards versus what it claims to value), essence (is free will discovered or invented?), and phenomena (is consciousness emergent or fundamental?).
"What would change about economics if we removed the assumption that people act rationally?"
5,452 unique questions
Perspective Shift
Reframes familiar subjects through unexpected observers.
Five lenses: across time (a medieval stonemason meets the smartphone), across scale (an ant surveys a city, a glacier watches a lifetime), other minds (an alien anthropologist files a report on small talk), role reversal (the commuter train reviews its passengers), and across mediums (what is the architecture equivalent of a long silence between friends?). Defamiliarizes the everyday by forcing a viewpoint change.
"Would a Victorian naturalist consider video calls progress or decline?"
5,751 unique questions
Pipeline
Chains two generators together — one produces raw material, another refines it.
Three recipes: Grammar+Reframe (reframes a CFG question), Analogy+Socratic (builds a 3-step inquiry chain around a comparison), and Paradox+Meta (analyzes a paradox at the meta level). Produces hybrid questions no single generator could create alone.
"Taking 'Why would governments rebuild childhood?' literally, what experiment would test it?"
12,326,760 unique questions
Meta
Wraps other generators' output in meta-level inquiry.
Takes a question from any other generator and wraps it in one of seven meta-frames: assumptions (what does this question take for granted?), avoidance (why would someone refuse to answer?), historical (what if this were asked 500 years ago?), power (who benefits from this never being asked?), emotional (what emotion does this provoke?), epistemological (how would you even verify the answer?), temporal (what has to stay true for this to remain askable?). Filters out trivial sources for the deeper categories.
"Who benefits from 'Can unlimited freedom exist within a limited body?' never being asked?"
95,044,544 unique questions

The five-layer uniqueness system

Every question passes through five deduplication layers to prevent repeats:

  1. Normalized text dedup — case-insensitive, whitespace-collapsed comparison catches exact repeats.
  2. Structural fingerprinting — each question gets a fingerprint based on its template and fill pattern. Two questions using the same template skeleton are blocked within a single batch.
  3. Freshness-biased selection — instead of uniform random, the system weights toward least-used templates and word bank items. This naturally spreads generation across the full combinatorial space.
  4. Within-batch diversity — no two questions in the same batch can share a structural fingerprint, even if they have different text.
  5. Persistent file-based history — tracks up to 50,000 text hashes and 500 fingerprints across sessions in data/history.json. Oldest entries are pruned automatically.

Determinism

All randomness flows through PHP's mt_rand(), seeded via mt_srand($seed) at the start of each generation. Same seed, same output, every time. The Question of the Day uses the date (YYYYMMDD) as the seed, so everyone sees the same questions on the same day.

Taxonomy

After generation, every question is automatically classified along four axes:

The Constraint Solver on the main page lets you filter by any combination of these to find exactly the kind of question you need.

FAQ

Will I ever run out of questions?

Not in practice. The history auto-prunes at 50,000 entries, and the freshness bias naturally rotates through the full question space. With 114,894,520 unique questions possible, you'd need to generate continuously for years to exhaust the pool.

Is there any AI involved?

No. Every question is assembled from pre-written templates, curated word banks, and deterministic algorithms. The "intelligence" comes from the structure of the grammars and the quality of the word banks, not from a model.

Can I share a specific set of questions?

Yes. Every generation has a seed number (visible in the URL). Share the URL with the same seed and count, and the recipient will see the exact same questions.

How are questions quality-checked?

An automated test suite generates 3,000+ questions across multiple seeds and checks them for: structural integrity (punctuation, capitalization, encoding), article agreement (a/an), repeated words, placeholder leaks, Socratic chain correctness, uniqueness within batches, and readability metrics. Every fix to the generators is validated against these tests.