Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M4594

Schrödinbug

Schrödinbug
SystemsHigh supportSystems Theory
Included
account_tree

Updated 2026-07-30

Loading revision record…

Summary

In computer programming jargon, a heisenbug is a software bug that seems to disappear or alter its behavior when one attempts to study it. The term is a pun on the name of Werner Heisenberg, the physicist who first introduced the uncertainty principle, and it is a reference to the observer effect, w…

Definition

A bug that does not exist when you read the code, but suddenly appears when you try to explain why the code should work. It seems that your act of observation itself 'collapses' its state. Scaffold use: Reveals that observation changes the system. Sometimes the problem does not exist until you start 'observing' it (e.g., explaining to your boss why the project is fine). Your act of explanation itself may create new assumptions and loopholes.

How to use

Reveals that observation changes the system. Sometimes the problem does not exist until you start 'observing' it (e.g., explaining to your boss why the project is fine). Your act of explanation itself may create new assumptions and loopholes.

Mechanism

Borrowing the quantum superposition metaphor for intermittent defects (flakes) in software: they behave differently in testing vs. production, appearing to exist in a superposition of existence/non-existence until reproduced (observed) to determine their state.

Practice

In progress 0/1

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

Cases

  • Flaky tests that pass in test but occasionally crash in production. Concurrency races only manifest under specific timing.

Common pitfalls

  • Treating intermittent issues as irrelevant; or merely rerunning to mask the problem. Without observation, they remain in superposition forever.
Sources

Source support: Explicit

References currently contain only Wikipedia links; primary sources still need review.

  • link
    en.wikipedia.orghttps://en.wikipedia.org/wiki/HeisenbugZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS