Exact rational arithmetic
Values are kept as whole numbers or as fractions of arbitrary-precision integers, so sums and products carry no rounding error until a stated display step.
Largest-remainder rounding
Each share is floored to a whole unit and the units left over go to the largest fractional remainders, so the parts always add back to the total.
Minimum-cost flow and assignment
Supply is routed through a network to meet demand at the least total cost; the assignment problem is the case that pairs each row with exactly one column.
Dynamic programming
A large problem is solved by tabulating the best answer to each smaller subproblem once and reading the final answer back out of the table.
Graph search and cycle detection
Nodes and edges are walked to order dependencies, find connected parts and refuse any cycle that would make a definition circular.
Least squares
A fit is chosen to make the sum of squared differences between the model and the data as small as possible.
Projected gradient descent
Each step moves against the gradient and then projects back onto the allowed set, here mixtures whose weights sum to one under per-stock caps.
Bisection
An interval known to contain a root is halved again and again until it pins down the value where a function changes sign.
Runge-Kutta integration
A differential equation is stepped through time with the classical fourth-order Runge-Kutta scheme.
Monte Carlo simulation
Many random paths are simulated from seeded generators, and competing policies run on the same paths so their differences are paired.
Discrete-event simulation
Time advances one event or one logical tick at a time, and every change of state follows from the events before it.
Bootstrap resampling
Uncertainty is estimated by recomputing a statistic on many resamples drawn with replacement and reading percentiles from the results.
Bayesian updating
Each probability is multiplied by the likelihood of the evidence under its hypothesis and the results are renormalised to sum to one.
Sliding time windows
Events are counted inside a window that slides along the timeline, with each endpoint stated as open or closed.
Sensitivity grids
The whole computation is run again across a small grid of nearby settings, so the reader can see how far the answer moves.
Certificates
An answer arrives with a second quantity that can be checked on its own: a bound, a cut or an identity that must hold exactly.
Abstention rules
When an answer would have to be invented, the lab says it abstains and why, and reports no number in its place.
Stated tie rules
Where two answers are equally good, a written rule chooses between them or the tie is reported, so one input always gives one output.
Fault injection
A known defect is introduced on purpose to show that the checks catch it and name the right cause.
Source spans and citations
A finding points back to the exact input it came from: a character span, a line number, an event ID or a record label.
Event replay and idempotency
State is rebuilt by replaying recorded events in order, and an event repeated with identical content changes nothing.
Replayable exports
A download holds the exact inputs, and the same engine can run them again and compare every result with the saved file.
SHA-256 fingerprints
Inputs are hashed with SHA-256 so that an export names exactly which bytes it was computed from.
Stale-input guards
Editing an input hides the old result and turns its download off until the computation runs again on what is now on the page.