Sub topic 9
Tracing an Error to Its Root Cause
A poka-yoke device only works if it targets the right thing. A device aimed at a symptom stops one visible failure while the cause keeps producing others. This chapter covers how to trace an error back to the condition that made it likely, so that the device you design in the next chapter fits the problem.
This chapter assumes you already know the difference between an error and a defect, the three error types (slip, lapse, mistake), and the idea of prevention versus detection from earlier chapters. The Python snippets are short and optional.
Why stopping at the first answer fails
When a defect shows up, the first explanation is usually "the operator made a mistake." That statement describes the error. It does not explain why the error happened. If you stop there, the only available fix is "tell people to be more careful," which is a weak countermeasure because it relies on attention, and attention varies.
Root cause analysis asks what in the process, tool, environment, or information made the error possible or likely. Human error is treated as a symptom of a process condition. The useful question is "what allowed this?" rather than "who did this?"
Consider a packing line where a customer received the wrong size of a part. Three levels of explanation are possible:
| Level | Statement | Typical fix | Strength |
|---|---|---|---|
| Person | The packer grabbed the wrong bin | Retrain, remind | Weak |
| Immediate cause | Two bins with look-alike parts sit side by side | Add a label | Moderate |
| Root cause | Bin layout and part design allow either part to be picked and shipped without any check | Change layout, add a fixture that only fits one part | Strong |
Only the last level gives a poka-yoke a clear target.
Describe the error precisely first
Before asking why, write down exactly what went wrong. A vague problem statement produces vague causes. A good statement names four things:
- What the error was (wrong part picked, field left blank, valve left open).
- Where in the process step it occurred.
- How often it occurs, with data if you have it.
- What defect it leads to downstream, and where that defect is found.
"Quality problems in packing" is not usable. "Between January and March, 14 of 6,200 orders contained the wrong-size bracket, found by the customer" is. The count matters because it later lets you check that your fix worked.
The 5 Whys
The 5 Whys technique asks "why?" repeatedly, taking each answer as the subject of the next question. Five is a rule of thumb. You stop when you reach a cause that you can act on and that, if removed, would prevent the error.
Example for the wrong-size bracket:
- Why did the customer get the wrong bracket? Because the packer put a 40 mm bracket in a box labeled for 50 mm.
- Why? Because the 40 mm and 50 mm brackets were in adjacent bins and look the same.
- Why were they adjacent? Because bins are arranged by part number order, and the two numbers are consecutive.
- Why does the packer not notice the difference? Because the only difference is a stamped number on the underside, and the packer does not turn the part over.
- Why is the difference hidden? Because the part design has no visible or physical feature that distinguishes the sizes.
The root cause is in the layout rule (item 3) and the part design (item 5). Both are changeable, and both suggest poka-yoke options: a different bin arrangement, a fixture or gauge that accepts only one size, or a color or shape feature on the part.
Limits of the 5 Whys
The method is quick but has known weaknesses:
- It follows a single chain. Most errors have several contributing causes, and one chain can miss the others.
- Different people ask different questions and reach different roots. Results depend on the analyst.
- It can stop too early at a convenient answer, often "human factors."
- It can run past the point you can control, ending at "the company has limited budget."
To reduce these problems, run it with people who do the work, check each answer against evidence (observation, records), and branch when a "why" has more than one valid answer.
Cause-and-effect diagrams
When several causes are plausible, a cause-and-effect diagram (also called a fishbone or Ishikawa diagram) lays them out by category. Common categories for a process are people, method, machine, material, measurement, and environment. For a mistake-proofing study, the categories help you look beyond "people."
The diagram does not identify the root cause by itself. It gives you a list of candidates that you then test against data.
Confirming a cause with evidence
A plausible cause is not a confirmed cause. Before you design a device, test the candidates.
- Observe the step. Watch several people do it, at different times of day. Note where they hesitate, reach, or work around the procedure.
- Check the records. Do errors cluster by shift, by operator, by part number, or by day of the week? Clusters point to conditions rather than random lapses.
- Compare error and non-error cases. What was different when the step went right?
- Try to reproduce the error. If you can make it happen on purpose by changing one condition, you have found a real cause.
Counting errors by category (a Pareto chart) helps you pick the cause that accounts for most of the defects. Fixing the largest few causes usually removes most of the problem.
Linking the cause to the error type
Once the cause is known, the error type from the earlier chapter guides what kind of device fits.
| Root cause pattern | Likely error type | Direction for the device |
|---|---|---|
| Habitual action done on autopilot, similar items or controls | Slip | Make the wrong action physically impossible or visibly different |
| Step is forgotten because nothing prompts it | Lapse | Build the step into the sequence so the next stage cannot start without it |
| Operator lacks information or has a wrong belief about the rule | Mistake | Provide the information at the point of use, or remove the decision |
Notice that a lapse and a slip both come from the process lacking a forcing feature. A mistake comes from missing or misleading information. Training is sometimes the right answer for a mistake, but even then, putting the information in the tool beats relying on memory.
A software example of tracing to the root
The same reasoning applies to software incidents. Suppose an operator deleted the production environment when they meant to delete staging. Asking why:
- Why was production deleted? The operator typed the wrong target.
- Why was it easy to type the wrong target? Both environments appear in the same list with similar names.
- Why did nothing stop the action? The delete command only asks "Are you sure? (y/n)," and people answer "y" without reading.
The root cause is a confirmation step that can be passed without reading. A suitable device makes the operator type the environment's name, which forces them to look at the target.
def delete_environment(name: str, confirm_name: str) -> str:
if confirm_name != name:
raise ValueError("Confirmation does not match the environment name; nothing was deleted")
return f"Deleted {name}"
print(delete_environment("staging", "staging")) # proceeds
# delete_environment("production", "staging") raises ValueErrorHere the fix follows from the traced cause. Adding a louder warning message would not, because the habit of answering "y" without reading would defeat it.
Common mistakes in root cause analysis
- Blaming the person. If the analysis ends with a name, it has not finished.
- Accepting "lack of training" or "carelessness" as a root cause without asking why those conditions exist.
- Choosing the countermeasure first and then looking for a cause that supports it.
- Treating the first confirmed cause as the only one.
- Skipping verification. A cause you cannot test is a hypothesis.
Putting it together
The sequence is: state the error precisely, gather evidence, ask why until you reach a changeable process condition, test that condition, and then match it to an error type. The output of this work is a short statement such as "Similar parts are adjacent and indistinguishable, and nothing checks the pick before sealing." That statement is the input to selecting and designing the device in the next chapter.
Exercise
A nurse gave a patient the wrong concentration of a medicine. Two vials of different concentrations are the same size and have similar labels, and they are stored on the same shelf. The first "why" answer was "the nurse was rushed." Write a better root cause and name the error type that fits.
Show answer
A better root cause is that the two concentrations look alike and are stored together, and the process has no check that distinguishes them before administration. "Rushed" describes a condition that makes errors more likely but does not explain why a pick error could reach the patient. The error type is a slip, since the nurse intended the right vial but picked the wrong one through look-alike items and habit. The root cause points toward devices such as separate storage, distinct vial shapes or colors, or a scan check, rather than a reminder to be careful.
Exercise
In a 5 Whys chain, the final answer is "operators are not careful enough." Give two reasons this is a poor stopping point.
Show answer
First, it cannot be acted on in a reliable way, because care depends on attention, which varies from person to person and hour to hour. Second, it hides the process condition that made the error possible, such as missing checks or look-alike items, so the same error will return with a different operator. The analysis should continue until it reaches a condition in the process, tool, or information that can be changed.