What is the relationship between a root cause, human error, defect and failure?
Answer
A root cause creates conditions in which a person can make an error. That error can introduce a defect into a work product. When executable software reaches the affected path under the right conditions, the defect may cause an observable failure; a defect can also remain dormant and never fail in a particular run.
Strong answer includes
- describes the causal chain
- distinguishes a defect from an observed failure
- recognizes dormant defects
Practical example
A developer under deadline pressure (root cause) copy-pastes a date-parsing snippet without adjusting the time zone offset (human error), leaving a defect in the invoice-generation module. For most customers in UTC the code path never triggers a visible problem, so the defect stays dormant for months. Then a customer in UTC+13 runs a report at midnight and gets invoices dated a day off — the same defect finally surfaces as an observable failure.