Compounding errors
A multi-step task can fail even when each step usually succeeds. Long chains make it important to measure whole-task outcomes and recovery.
Before you start: Review Multi-agent first. Python-like examples use variables, lists and functions.
Follow the mechanism
Assumptions
State p, step count and independence.
Start with an everyday explanation
Twenty small hurdles create many chances to stumble. Practicing each hurdle helps, but the race result is what matters.
See a concrete example
With p=0.95 and 20 independent required steps, 0.95^20 ≈ 35.85%. This is a teaching model, not a measured agent completion rate.
A claim to question
The 36% figure is conditional on equal, independent success and all steps being required.
Try before revealing the answer
Change the reliability calculator to five steps at 0.99 and compare. Name an independence violation.
Show the worked answer
0.99^5 ≈ 95.10%. A shared expired credential can make many steps fail together; per-step independent probabilities do not describe that common cause.
Now explain the idea to someone else using your own example. If you cannot explain a stage, revisit it before moving on.
Engineering details and trade-offs
Under independent steps with equal success probability p, all-step success is p raised to the number of steps. Real failures may be correlated.
Reduce unnecessary steps, validate critical transitions and add recovery where useful. Do not multiply marginal rates blindly for dependent workflows.
Reason through the example
With p=0.95 and 20 independent required steps, 0.95^20 ≈ 35.85%. This is a teaching model, not a measured agent completion rate.
Implement and test
Change the reliability calculator to five steps at 0.99 and compare. Name an independence violation.
Inspect the reasoning and expected result
0.99^5 ≈ 95.10%. A shared expired credential can make many steps fail together; per-step independent probabilities do not describe that common cause.
What to measure
State the expected result before changing a control. Record your inputs, compare the observed result and explain one limit of this model. In a real implementation, test the failure case as well as the normal path.
Answer before reading the reference
Why can a 95%-accurate tool chain perform poorly?
A defensible answer
All required transitions compound risk, and failures can propagate or correlate. Measure end-to-end success, diagnose critical steps, simplify the path and test recovery rather than quoting average step accuracy alone.
Prepare the follow-up
How would you estimate task reliability from correlated production traces?
Show follow-up reasoning
Measure complete-task outcomes and group traces by shared dependencies, user scenarios and retry policies. Estimate uncertainty from the observed task sample with a method that respects clustering. Diagnose common-cause failures rather than multiplying per-step marginal success rates.
Use the engineering explanation and worked task above to support your response. Identify which assumptions you would need to verify in production.
Choose a practice depth
- New to GenAI
- Define compounding errors with the everyday example and name its key limitation.
- Applied experience
- Explain the example, implementation choice and a measured failure case. Use the exercise as a small design review.
- Senior or systems depth
- Answer the follow-up, compare alternatives and justify an evaluation or rollout plan with operational constraints.
Self-review your answer
0/4 checks selected. This is self-assessment, not an interview score.
Your explanation and revision notes
Loading local notes…