Lubarsky's Law of Cybernetic Entomology
Updated 2026-08-05
Summary
The observation that there is always one more bug, which reframes quality work from eliminating all defects to tolerating them and recovering quickly.
Definition
A software engineering maxim, commonly attributed to Bruce Lubarsky and cited in Gerald Weinberg's writing on systems thinking. Its core proposition is that a complex system always contains at least one undetected defect: no amount of testing establishes its absence, only the failure to find one so far. The key constraint is that the law is not an argument against testing but against the target of testing. It implies that effort should be balanced between reducing defects and increasing the system's capacity to detect, contain, and recover from the ones that remain.
Introduction
How to use
- Release decision: treat zero defects as unattainable and define the defect level at which shipping is acceptable. - Investment balance: shift some effort from prevention to detection and fast recovery. - Humility check: when everything looks clean, ask what has not been tested rather than concluding the system is sound.
Mechanism
Complexity makes the defect count grow with the number of states and interactions, and each fix adds code that can introduce new faults, so the count does not reliably approach zero. Since absence of evidence cannot be established by testing, the rational target becomes bounded exposure rather than perfection. Systems designed for this, with redundancy, monitoring, and fast rollback, convert unavoidable defects from outages into incidents, which changes the cost of being wrong rather than the probability.
Practice
In progress 0/1Practice this model in one real situation:
Cases
- Large software systems ship with known open defects, and mature teams manage release risk through staged rollouts and rollback rather than through exhaustive pre-release testing.
- Spacecraft and aviation systems achieve reliability through redundancy and graceful degradation, accepting that components will fail rather than assuming they will not.
Common pitfalls
- Reading the law as permission to ship known serious defects, when it argues for bounded exposure rather than indifference.
- Spending unlimited effort pursuing zero defects, which consumes the budget that would have bought detection and recovery capacity.
- Refusing to release anything imperfect, which delays learning and leaves the system untested in real conditions.
Sources
Source support: Explicit
- cs.earlham.eduhttps://www.cs.earlham.edu/~skylar/humor/Unix/laws.of.programming.htmverified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS