← Back to article

Equation 12 · Why Coding Agents Fail: Long-Horizon Reliability in OpenAI Codex

What does this equation mean?

Rno recovery=∏i=1npi.R_{\mathrm{no\ recovery}}=\prod_{i=1}^{n}p_i.

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.

Inputs and operationsprod_i=1^np_i
Result or conditionR_no recovery
How to read the two sides of this formula. Follow the article passage for the meaning of each quantity.

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

Rno recoveryR_{\mathrm{no\ recovery}}

Symbol R_no recovery

RnR_no recovery is part of the quantity the equation computes from the expression on the right.

Understand this part →

ii

Symbol i

i appears in the bound of this product. The bound states where the repeated operation starts, ends, or which values it includes.

Understand this part →

nn

Symbol n

n appears in the bound of this product. The bound states where the repeated operation starts, ends, or which values it includes.

Understand this part →

pip_i

Symbol p_i

the probability stage i succeeds conditional on all prior required state being correct.

Understand this part →

=

=

The expressions on both sides represent the same quantity under the stated assumptions.

Understand this part →

See an illustrated explanation →
subscript

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.

Understand this part →

superscript

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.

Understand this part →

See an illustrated explanation →
i=1i=1

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.

Understand this part →

nn

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.

Understand this part →

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 pip_i is the probability stage i succeeds conditional on all prior required state being correct, then Rno recovery=∏i=1npiR_{\mathrm{no\ recovery}}=\prod_{i=1}^{n}p_i. The equal- p simplification illustrates scale: 0.99^{100}≈\approx0.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.

Read the equation in its article →

For background, read the article’s source list.

Return to Why Coding Agents Fail: Long-Horizon Reliability in OpenAI Codex

See this formula across 1 published context →

Browse the mathematical compendium →