Library / First Principles Framework (FPF) - Core Conceptual Specification
Jump to passage
In this reading

Link to current text

Published source confirmed at last check

Source changed 2026-10-03 08:25:59 UTC · snapshot created 2026-10-03 08:26:43 UTC · last check 2026-10-03 10:10:13 UTC

C.29.2:8 - Common Anti-Patterns and How to Avoid Them

MisuseRepair
“Solve the constraints” is the algorithmSupply an applicable solver or construct the search/update procedure, with its input class and result guarantee.
Store only the current answer estimateRecover the control position, bounds, pending work or other information the next operation actually needs.
A branch chooses an exactly known sign of an arbitrary real valueExplain how that sign is obtainable from the available representation; use a justified enclosure or return the unresolved comparison.
The invariant holds, so the loop finishesSupply the separate progress argument or state the continuing behavior actually intended.
A tiny equation residual proves a tiny answer errorConnect residual to output error under the applicable conditioning or other subject argument.
One matrix operation costs one stepExpand the operation count and storage for the actual matrix dimensions and representation.
The dense array fails, so no simulation is possibleRetain the dense-allocation rejection; examine the needed output and an applicable alternative algorithm.
A smaller numeric type is an exact compressionState the changed precision and establish the error consequence.
A reference simulator defines what the physical system didRetain the computational result and use C.29.3 for preparation, execution and result-reading correspondence.