Equation 12 · Why Coding Agents Fail: Long-Horizon Reliability in OpenAI Codex
What does this equation mean?
Read the formula alongside the article passage below. Each part has a deeper page with its role in the equation, the supporting passage and nearby citations.
This equation states an equality: the expressions on both sides have the same value under the article’s assumptions. Read the equation part by part below; each part has a contextual explanation and a link to its mathematical background.
Read it piece by piece
Symbol R_no recovery
o recovery is part of the quantity the equation computes from the expression on the right.
Symbol i
i appears in the bound of this product. The bound states where the repeated operation starts, ends, or which values it includes.
Symbol n
n appears in the bound of this product. The bound states where the repeated operation starts, ends, or which values it includes.
Symbol p_i
the probability stage i succeeds conditional on all prior required state being correct.
=
The expressions on both sides represent the same quantity under the stated assumptions.
See an illustrated explanation →subscript
The lower label selects a particular version, component, or indexed member of the quantity. For example, x₀ and xₜ can be values at different positions.
superscript
A raised number can be a power. When it is a label or bound, it selects a case or the upper limit of a sum; the formula’s structure distinguishes these uses.
See an illustrated explanation →Starting index or lower bound: i=1
This label says where the repeated addition, multiplication, or accumulation starts. Read its value or condition together with the article’s description of the index.
Ending index or upper bound: n
This label says where the repeated addition, multiplication, or accumulation stops. It sets the last term or end of the range.
How to interpret it
Read it with the definitions, units, and assumptions supplied by the article.
What the article says around this equation
Suppose a task requires n materially dependent stages. If is the probability stage i succeeds conditional on all prior required state being correct, then . The equal- p simplification illustrates scale: 0.99^{100}0.366 . This is not a model of real coding trajectories—the stages are correlated, checkpoints exist, and some errors are reversible—but it defeats one intuition. “Usually correct” local behavior does not imply dependable long execution.
For background, read the article’s source list.
Return to Why Coding Agents Fail: Long-Horizon Reliability in OpenAI Codex