← All parts of this equation

Equation 20 · Part 5 · Why Coding Agents Fail: Long-Horizon Reliability in OpenAI Codex

Symbol r_i

pi∗=pi+(1−pi)diciri.p_i^*=p_i+(1-p_i)d_i c_i r_i.
rir_i

What this part means

the probability repair succeeds without creating another material defect.

Its job in the formula

rir_i is one of the signed contributions combined to compute the quantity on the left.

Where the article explains it

If failure occurs, let did_i be the probability it is detected, cic_i the probability the cause is diagnosed correctly, and rir_i the probability repair succeeds without creating another material defect.

The passage around this formula

An agent can recover only if the system generates a discriminating observation. Let stage i have direct success probability pip_i . If failure occurs, let did_i be the probability it is detected, cic_i the probability the cause is diagnosed correctly, and rir_i the probability repair succeeds without creating another material defect. A simplified effective stage reliability is pi∗=pi+(1−pi)dicirip_i^*=p_i+(1-p_i)d_i c_i r_i. The formula is intentionally conservative and incomplete. Multiple retries, repair costs, correlated defects, and false alarms require richer models. Its value is conceptual: “the agent can iterate” improves reliability only through detection, diagnosis, and repair.

Read this part in the article →

Learn the underlying idea

A subscript is a label attached below a symbol. It often selects a time step, component, category, or member of a sequence.

Open the illustrated subscripts: which member of a family? guide →

See this notation across published equations →

Sources cited in the article section

These citations provide research context; check each source for the exact claim it supports.