Determinism
The property that identical inputs produce identical outputs, and the foundation of caching and verification.
Determinism is the property that the same inputs always produce the same output. It is what makes caching sound, comparison meaningful, and bisection possible — a reproducible build lets you assert that a local artifact and a deployed one are the same thing rather than hoping.
Achieving it means eliminating the ordinary sources of variance: timestamps, random values, iteration order over unordered collections, absolute paths, parallel scheduling, locale, and anything read from the environment. Systems that need determinism usually forbid the clock and the random generator outright and require such values to be supplied as inputs.
Determinism also has a tolerance dimension worth knowing. Numeric computation on a graphics processor can vary by a single unit in the last place between runs, for reasons that are genuinely environmental rather than a code defect. That means a byte-exact comparison of rendered output can fail intermittently on unchanged code — and the way to establish which it is, is to compare the inputs rather than the outputs, and to confirm that an older binary flakes identically.
Where full determinism is not achievable, the fallback is to isolate the non-deterministic part behind a recorded boundary; see Record and Replay Testing and Seeded Randomness.
See also6
Fingerprint
A hash over everything that determined a result, used to detect when the result has gone stale.
Agents & Language Models12 connections
Hash Function
A function mapping arbitrary input to a fixed-size digest, used for identity, integrity, and addressing.
Systems & Tooling20 connections
Flaky Test
A test that passes and fails on identical input, and the most corrosive thing a suite can contain.
Testing & Verification17 connections
Nondeterminism
The property that identical inputs may produce different outputs, and what it costs to test around.
Agents & Language Models23 connections
Bundler
The tool that resolves an application's modules into the files a browser downloads.
Web Platform12 connections
Cache Invalidation
Deciding when a cached value has stopped being correct — famously one of the hard problems.
Web Platform21 connections
Related2
Nearby in the graph rather than deliberately chosen. Looser, sometimes surprising.
Linked from56
- Big-O NotationComputation & Algorithms
A coarse language for how an algorithm's cost grows as its input grows.
- BundlerWeb Platform
The tool that resolves an application's modules into the files a browser downloads.
- Cache InvalidationWeb Platform
Deciding when a cached value has stopped being correct — famously one of the hard problems.
- Cellular AutomatonGraphics & Rendering
A grid of cells whose states evolve by a local rule applied simultaneously everywhere.
- Concurrency and ParallelismComputation & Algorithms
Concurrency is structuring independent tasks together; parallelism is actually running them at the same instant.
- Constraint PropagationGraphics & Rendering
Repeatedly narrowing the possible values of each variable using the constraints, until nothing more can be deduced.
- ContainerizationSystems & Tooling
Packaging an application with its dependencies into an isolated, reproducible runtime unit.
- Database MigrationData & Content
A versioned, ordered change to a database schema, applied once and recorded.
- EmulationPlay & Games
Software reimplementation of console hardware, and the fault line between preserving a game and possessing it legally.
- Eventual ConsistencyNetworks & Distribution
A guarantee that replicas converge given no further updates, without guaranteeing when.
- Factory GamePlay & Games
A genre whose core verb is building the machine that plays the game, turning the player into a systems engineer.
- FingerprintAgents & Language Models
A hash over everything that determined a result, used to detect when the result has gone stale.
- Finite State MachineComputation & Algorithms
A model with a fixed set of states, one active at a time, and defined transitions between them on each input.
- Flaky TestTesting & Verification
A test that passes and fails on identical input, and the most corrosive thing a suite can contain.
- Frame DataPlay & Games
The startup, active and recovery cost of an action measured in simulation ticks, and what it predicts about a matchup.
- Game AIPlay & Games
Computer opponents built to be interesting to play against rather than optimal.
- Game FeelPlay & Games
The perceptual layer between input and simulation, and the tuning that makes a control scheme read as responsive.
- Ground TruthMethod
The measurement that arbitrates, as opposed to the artifact that merely reports.
- Hash FunctionSystems & Tooling
A function mapping arbitrary input to a fixed-size digest, used for identity, integrity, and addressing.
- Hash TableComputation & Algorithms
A key-value structure that uses a digest of the key to index an array of buckets.
- HeisenbugTesting & Verification
A fault that changes or disappears when someone tries to observe it.
- IdempotenceSystems & Tooling
The property that performing an operation twice has the same effect as performing it once.
- Immersive SimPlay & Games
A design tradition that simulates consistent rules rather than scripting outcomes, so solutions the designer never planned still work.
- ImmutabilityComputation & Algorithms
A value that cannot change after construction, so sharing it never risks a caller seeing another caller's edit.
- Inertial Frame of ReferenceMatter & Energy
A coordinate system in which an undisturbed body moves at constant velocity, and none is privileged.
- Invincibility FramesPlay & Games
The animation window during which a character is immune to hits despite appearing vulnerable on screen.
- L-SystemGraphics & Rendering
A rewriting grammar that generates branching structures by repeated substitution.
- Lazy EvaluationComputation & Algorithms
Deferring a computation until its result is actually needed, and then caching it so it never runs twice.
- LockfileVersion Control & Delivery
A generated file recording the exact dependency versions an install resolved to.
- NondeterminismAgents & Language Models
The property that identical inputs may produce different outputs, and what it costs to test around.
- Parry and RipostePlay & Games
A timed defensive window that, met exactly, punishes the attacker instead of the defender.
- Pascal's PrincipleMatter & Energy
Pressure applied to a confined fluid is transmitted undiminished throughout it.
- Procedural GenerationGraphics & Rendering
Creating content algorithmically rather than authoring it by hand.
- Pure FunctionComputation & Algorithms
A function whose output depends only on its input and which causes no observable effect outside itself.
- Race ConditionTesting & Verification
A defect whose occurrence depends on the relative timing of concurrent operations.
- RasterizationGraphics & Rendering
Converting geometry into pixels — the dominant real-time rendering approach.
- Ray TracingGraphics & Rendering
Renders images by tracing individual light paths through a scene instead of projecting geometry onto a screen.
- Record and Replay TestingAgents & Language Models
Capturing a real interaction once and replaying it deterministically in later test runs.
- Regular ExpressionComputation & Algorithms
A pattern language for matching text, compiled internally into a finite state machine that runs over the input.
- Reproducible CaseMethod
The smallest set of steps that reliably produces a fault, and the unit of real debugging.
- RoguelikePlay & Games
A genre defined by procedurally generated runs and permanent death, and the design pressures those create.
- Rollback NetcodePlay & Games
A networking model that hides latency by predicting inputs and silently resimulating when the prediction was wrong, instead of freezing to wait.
- Save ScummingPlay & Games
Reloading a save to retry a chance-dependent outcome until it lands, converting a game's stated stakes into a series of do-overs.
- Seed DataData & Content
Initial content created programmatically to make an empty system usable or demonstrable.
- Seeded RandomnessGraphics & Rendering
Pseudorandom generation from an explicit seed, so any output is reproducible.
- ShaderGraphics & Rendering
A small program run on the graphics processor for every vertex or every pixel.
- Sim RacingPlay & Games
The racing genre spectrum running from arcade handling to full physical simulation, and the hardware built to serve the far end of it.
- Skill CheckPlay & Games
A dice-plus-modifier resolution borrowed from tabletop play to decide whether an attempted action succeeds.
- SoulslikePlay & Games
A design lineage in which high difficulty is a deliberate authorial position, sustained by making every death legible.
- SpeedrunPlay & Games
Completing a game as fast as possible under a ruleset the community defines, not the game.
- Test FixtureTesting & Verification
The prepared data or state a test runs against.
- Time ZoneSystems & Tooling
Civil time is a political layer over solar time, and its rules change often enough to be data.
- Vapor-Compression RefrigerationMatter & Energy
A closed loop that moves heat by boiling and condensing a working fluid at two pressures.
- Visual Regression TestingTesting & Verification
Comparing rendered output against a stored baseline to catch unintended visual change.
- VoxelGraphics & Rendering
A volumetric pixel — a value on a regular three-dimensional grid.
- Write-Ahead LoggingComputation & Algorithms
Recording the intent of a change durably before applying it, so a crash can be recovered.