Discrepancy-Driven Correction¶
Core Idea¶
A goal-directed loop that holds a target, observes the current state, computes the signed gap, selects a corrective action keyed to that gap, applies it, and re-observes — repeating until the gap falls below threshold. The gap is the load-bearing object: nothing fires without it.
How would you explain it like I'm…
Close the Gap
Close The Gap Loop
Gap-Driven Correction Loop
Broad Use¶
- Control theory: setpoint versus plant output; the error signal drives the controller's actuation.
- Biology: homeostatic regulation of temperature, glucose, or blood pressure toward a setpoint.
- Software: the edit–compile–test cycle, where the gap is the bug symptom and the action is a code change.
- Medicine: differential diagnosis, where the gap is the unexplained finding and the action is hypothesis revision.
- Science: anomaly investigation, where the gap is the residual between model and data.
- Project management: variance analysis, where the gap drives scope, resource, or schedule corrections.
Clarity¶
It separates action without a target from genuine correction, one-shot validation from iterated correction, and exposes target drift — closing the gap by moving the target rather than the observation.
Manages Complexity¶
It reduces a sprawl of "iterative work" practices to one checklist: target, observation, gap, action, threshold, cycle time — with loop gain and cycle-time matching as portable levers.
Abstract Reasoning¶
Match action gain to gap magnitude, match cycle time to how fast the gap evolves, audit the comparator, and set the termination criterion deliberately rather than by fatigue.
Knowledge Transfer¶
- Engineering ↔ medicine: a debugger and a clinician working a fever of unknown origin run the same loop and fail the same ways — gap miscomputed, action too aggressive, target drifted.
- Control ↔ coaching: matching action gain to gap magnitude is one insight in PID tuning and in a coach's correction cadence.
- Control ↔ neuroscience: predictive processing casts perception itself as prediction-error minimisation, the same loop run continuously.
Example¶
A PI controller stabilising a reactor compares temperature to a 350 K setpoint and opens a coolant valve in proportion to the signed error; too much gain and the loop oscillates, too slow a sample and it cannot converge.
Relationships to Other Abstractions¶
Current abstraction Discrepancy-Driven Correction Prime
Parents (1) — more general patterns this builds on
-
Discrepancy-Driven Correction is a kind of Feedback Prime
'feedback's goal-directed specialisation — feedback structured around an explicit target and a signed gap that the action is keyed to.' A strict subspecies of feedback (which has no target).
Children (6) — more specific cases that build on this
-
Guide Star Domain-specific is a kind of Discrepancy-Driven Correction
The minimal proposed parent is
prime:discrepancy_driven_correction. -
Rectification (law) Domain-specific is a kind of Discrepancy-Driven Correction
The proposed strict upward parent is
prime:discrepancy_driven_correction. -
Skills Management Domain-specific is a kind of Discrepancy-Driven Correction
Discrepancy-Driven Correction is the strongest live parent.
-
Calibration Prime is a kind of, typical Discrepancy-Driven Correction
Calibration is typically a specialization of Discrepancy-Driven Correction, retaining the parent's defining structure while adding the child's specific commitments.
-
Homeostasis Prime is a kind of, typical Discrepancy-Driven Correction
'homeostasis is one biological OUTCOME of a stabilising correction loop...
- Missile Guidance Domain-specific is part of Discrepancy-Driven Correction
guidance repeatedly acts on the gap between a projected trajectory and its terminal objective.
Hierarchy path (1) — routes to 1 parentless root
- Discrepancy-Driven Correction → Feedback
Not to Be Confused With¶
- Discrepancy-Driven Correction is not Feedback because correction adds a maintained target and a gap-keyed action, whereas feedback names the bare fact that an output is routed back to influence an input.
- Discrepancy-Driven Correction is not Homeostasis because correction is the general loop mechanism that can chase a moving target or revise a hypothesis, whereas homeostasis is one biological outcome of a stabilising loop.
- Discrepancy-Driven Correction is not Refinement because correction is gap-keyed and terminates on a threshold, whereas refinement is open-ended improvement toward "better" with no signed gap.