Sub topic 1
Errors are not defects: why the distinction matters
Prerequisites
This chapter assumes you have the following:
- A basic picture of a process with inputs, steps, and outputs.
- Familiarity with quality terms such as defect and inspection.
- Enough Python to read a short function. The one code example is optional and only checks the arithmetic.
No earlier chapter is required. This is the first chapter of the tutorial, so it sets up the vocabulary the later chapters use.
Two words that get mixed up
In everyday talk, "error" and "defect" are used as if they meant the same thing. In quality work they name different events.
- An error is something a person does wrong: a wrong action, a skipped step, a wrong value entered, or a wrong decision. It happens inside the process.
- A defect is a product, service, or output that fails to meet a requirement. It is a property of what the customer receives, or of what the next step receives.
An error is a cause that may or may not lead to an effect. A defect is the effect. Many errors never become defects, and some defects have no human error behind them.
Shigeo Shingo, the engineer who formalized poka-yoke at Toyota suppliers, drew this line explicitly. His point was that errors are unavoidable in human work, but defects are not. The aim is to stop an error from turning into a defect, not to stop people from ever making errors.
The chain from error to defect
An error becomes a defect only if nothing stops it along the way. Each point where something could stop it is a place to put a control.
The diagram shows why the distinction is useful. Between the error and the customer there are at least three decision points. Poka-yoke works at the first two, and inspection works at the last one.
Why the distinction matters
It moves attention from people to process
If you treat every defect as a person's fault, your remedies are training, reminders, and discipline. These ask people to be more careful, and they work poorly. People make errors at a fairly steady rate, whatever their skill or motivation. An experienced operator who is tired, interrupted, or rushed will still slip.
If you treat the error as expected and the defect as preventable, you ask a different question: "What in the process lets this error turn into a defect?" That question has answers you can build, such as a fixture that fits only one way, a form that refuses an invalid value, or a step that cannot be skipped.
It tells you where to measure
Defect counts alone hide information. Consider two lines that both produce 1% defects:
- Line A has 1% errors and no controls, so every error becomes a defect.
- Line B has 20% errors but a control that stops 95% of them, which also gives 1% defects.
The defect rate is the same, but the lines are very different. Line B depends on a control, so if that control fails or is removed, defects jump. Line A has a low error rate that you could study at its source. Knowing both numbers shows where the risk sits.
It separates prevention from detection
Once errors and defects are different events, you can see two different strategies:
- Prevention acts before the defect exists. It makes the error impossible, or stops the process when the error occurs.
- Detection acts after the defect exists. It finds the bad output and sends it to rework or scrap.
Detection leaves the defect created, and it costs rework or scrap each time. Prevention avoids that cost. The next chapters develop this contrast in detail. The point here is that the contrast is invisible if "error" and "defect" are one word.
A worked example
A pharmacy technician labels bottles by hand. The requirement is that the label strength matches the strength of the tablets in the bottle.
- The technician picks up a bottle of 10 mg tablets but prints a label for 20 mg. That is the error.
- If nothing checks it, the bottle leaves the pharmacy. A mislabeled bottle is now a defect, and the patient who receives it is an escape.
- If a second person compares label and tablets before the bottle is released, the error still happened but the defect is caught. The pharmacy pays for the check on every bottle.
- If the printing system scans the bottle's barcode and refuses to print a label that doesn't match, the error is stopped at the moment it occurs. No defect is created and no one needs to inspect.
The technician made the same slip in steps 2, 3, and 4. What changed is how far the error traveled. Only step 4 removes the defect without relying on someone to notice.
Edge cases and complications
Errors that never become defects
Some errors are harmless. An operator who tightens bolts in the wrong order may still produce a part within tolerance. Such errors are worth knowing about, since they show where a process is fragile, but they do not belong in your defect count. Do not spend effort on mistake-proofing an error that has no path to a defect.
Defects with no human error
Not every defect starts with a person. A worn cutting tool drifts out of tolerance, a supplier ships out-of-spec material, or a sensor ages. These are process variation or equipment failures. Poka-yoke is aimed at human error. Other Lean Six Sigma tools, such as statistical process control and preventive maintenance, address these causes. If you apply poka-yoke to a defect whose cause is tool wear, you will find nothing to proof.
One error, several defects
A single error can produce many defects. A wrong setting entered once at the start of a batch can ruin every unit in the batch. In this case the error count is one and the defect count is hundreds. This is a good reason to count both, and to look for errors that have a wide reach.
Errors in the instructions
Sometimes the person followed the procedure and the procedure was wrong. This is still an error in the process, but its source is design, not the operator. Treat it as a process fault. The corrective action belongs to whoever owns the procedure.
Errors that mask each other
Two errors can cancel out, so the output looks correct. A wrong measurement combined with a wrong calibration may give the right number. The defect never appears, but the process is unreliable. This is another case where watching only defects hides the risk.
Counting both: a short simulation
The relationship between errors and defects is simple arithmetic. If a process has an error rate e and a control that catches a fraction c of errors, the expected defect rate is e × (1 − c). The code below checks this by simulation. It is optional, and it uses only the standard library.
import random
def simulate(units: int, error_rate: float, catch_rate: float, seed: int = 1):
"""Return (errors, defects) for a batch of units."""
rng = random.Random(seed)
errors = 0
defects = 0
for _ in range(units):
if rng.random() < error_rate:
errors += 1
if rng.random() >= catch_rate: # the control missed it
defects += 1
return errors, defects
line_a = simulate(units=10_000, error_rate=0.01, catch_rate=0.0)
line_b = simulate(units=10_000, error_rate=0.20, catch_rate=0.95)
print("Line A: errors=%d defects=%d" % line_a)
print("Line B: errors=%d defects=%d" % line_b)Both lines should show about 100 defects out of 10,000, which is 1%. Line B shows roughly 2,000 errors and Line A about 100. Exact numbers vary with the random seed.
Common misreadings
- "Zero errors is the goal." It is not realistic. The goal is zero defects, and that is achieved by controlling what errors can do.
- "Inspection removes errors." Inspection finds defects, or sometimes errors, after the fact. The error has already occurred.
- "Fewer errors always means fewer defects." Not if the control that stopped the errors was also what kept defects low. Measure both.
- "Poka-yoke is about blaming operators less." It is a design method. Being fair to operators is a side effect of treating errors as expected.
Summary
An error is something a person does, and a defect is something that fails to meet a requirement. Between them lie several chances to stop the error. Counting both errors and defects tells you how much your process depends on its controls. Treating errors as expected and defects as preventable leads you to redesign the process, which is what poka-yoke does.
Exercise
A bakery packs allergen-free cookies. A worker occasionally scoops a nut-containing topping onto the wrong tray. Last month this happened 30 times. A supervisor checks every tray before sealing and caught 27 of the 30. The bakery shipped 3 mislabeled trays. Name the error, the defect, and the escapes. Then say what the expected defect count would be if the supervisor's catch rate fell to 50% with the same number of errors.
Show answer
The error is the worker putting the nut topping on the wrong tray (30 occurrences). The defect is a sealed tray that contains an allergen but is labeled allergen-free. The three trays the supervisor missed are escapes, since they reached customers. With a 50% catch rate, expected escapes are 30 × (1 − 0.5) = 15. The error count did not change, but the defect and escape count rose fivefold, which shows the process depended on the inspection and did not prevent the error.
Exercise
Give one example of a defect that is not caused by a human error, and say why poka-yoke would not be the main tool for it.
Show answer
Example: a drill bit wears down over a shift and the holes drift above the diameter tolerance. The cause is tool wear, which is process variation, and no person did anything wrong. Poka-yoke targets human error, so it would not help here. Statistical process control or scheduled tool replacement is the better tool.