Third Conditionals in Debugging and Incident Analysis
5 exercises — forming third conditionals, inverted conditionals, mixed conditionals, and counterfactual analysis in postmortems.
0 / 5 completed
1 / 5
Choose the correct third conditional: "If we _____ connection pooling, the database _____ during the traffic spike."
Third conditional: "If + had + past participle + would + have + past participle". Both clauses must be in the past counterfactual form. "Had used" (past perfect) and "would not have crashed" (conditional perfect) refer to a past event that did not happen.
2 / 5
Choose the inverted conditional form: "___ we enabled circuit breakers, the cascade failure _____ contained."
Inverted third conditionals omit "if" and invert the subject and auxiliary: "Had we enabled..." = "If we had enabled...". This formal construction is common in postmortems and incident reports. "Were" is used for second conditionals (present/future).
3 / 5
Which is a correct postmortem sentence?
Passive third conditional: "Had [noun] been [past participle], [result] could have been [past participle]." This structure is standard in RCAs (Root Cause Analyses) where the agent of the conditional is a system or process rather than a person.
4 / 5
Identify the mixed conditional:
Mixed conditionals combine a past condition with a present result: "If we had documented..." (past — did not happen) "...it would be simpler now" (present consequence). This is used when a past failure has an ongoing present effect.
5 / 5
Choose the most natural phrasing for a code review comment about a past bug:
Formal passive inverted third conditional: "Had [noun phrase] been [past participle]..." is the most precise and professional form for technical postmortem comments. Avoid "would have + had" — it is a common error.