Sub topic 3
Slips, lapses, and mistakes: what kind of error are you proofing?
This chapter assumes you know the difference between an error and a defect, and you know what poka-yoke is. It also assumes you can read short Python snippets. Here the question is narrower: what kind of human error are you trying to stop? The answer decides which device will work.
Why classify errors at all
"Operator error" is not a finding. It names a person and says nothing about how the failure happened. Two operators can make the same visible error for entirely different reasons, and the same countermeasure will not fix both.
Suppose a technician installs the wrong part. One possibility is that she knew the right part and grabbed its look-alike by habit. Another is that she believed the wrong part was correct because the label was out of date. A device that blocks look-alike parts helps in the first case. In the second case, she needs correct information at the point of use.
The most widely used classification comes from human-factors research (James Reason's work on human error). It separates errors by what happened in the person's head:
- Slip: the intention was right, but the action went wrong.
- Lapse: the intention was right, but a step was forgotten.
- Mistake: the intention itself was wrong.
Slips and lapses are failures of execution. Mistakes are failures of planning or judgment.
Slips
A slip is an action that does not match the plan. The person knew what to do and meant to do it. Slips usually happen during routine, well-practiced work, when attention is elsewhere.
Typical slips:
- Pressing the adjacent button.
- Transposing two digits while typing.
- Picking up the similar-looking item next to the right one.
- Passing arguments in the wrong order, such as source and destination swapped.
- Doing the usual action when this case needed a different one (a "capture" error, where a strong habit takes over).
Retraining does little for slips, because the person already knows the right action. The fix is to change the situation so the wrong action is hard or impossible. This is where poka-yoke fits best.
Software example of a slip
Two arguments of the same type are easy to swap. Keyword-only parameters make the swap visible at the call site.
def transfer(*, source_account: str, destination_account: str, amount_cents: int) -> str:
if source_account == destination_account:
raise ValueError("Source and destination must differ")
if amount_cents <= 0:
raise ValueError("Amount must be positive")
return f"Moved {amount_cents} cents from {source_account} to {destination_account}"
# Keyword-only arguments make a swapped-argument slip visible at the call site.
print(transfer(source_account="A-100", destination_account="B-200", amount_cents=2500))
# transfer("A-100", "B-200", 2500) raises TypeErrorThe bare * forces callers to name every argument. A caller cannot swap source_account and destination_account by position, because there is no position to get wrong. The two checks also reject inputs that cannot be valid.
Lapses
A lapse is a memory failure. The person intended to do a step and did not, usually because of an interruption, a long task, or a step that leaves no visible trace.
Typical lapses:
- Forgetting to tighten a fastener after an interruption.
- Leaving out one item from a kit.
- Not restoring a setting after maintenance.
- Forgetting to remove a temporary workaround.
- Skipping a step in a long checklist because nothing signals that it is missing.
The key feature is omission. Because nothing happens, nothing draws attention to the gap. Countermeasures therefore make the omission visible or make the next step impossible without the skipped one.
Software example of a lapse
A state-transition table stops a process from skipping a step.
from enum import Enum
class OrderStatus(Enum):
DRAFT = "draft"
PAID = "paid"
SHIPPED = "shipped"
ALLOWED_TRANSITIONS = {
OrderStatus.DRAFT: {OrderStatus.PAID},
OrderStatus.PAID: {OrderStatus.SHIPPED},
OrderStatus.SHIPPED: set(),
}
def change_status(current: OrderStatus, new: OrderStatus) -> OrderStatus:
if new not in ALLOWED_TRANSITIONS[current]:
raise ValueError(f"Cannot move from {current.value} to {new.value}")
return new
status = OrderStatus.DRAFT
status = change_status(status, OrderStatus.PAID) # allowed
# change_status(status, OrderStatus.DRAFT) would raise ValueErrorSomeone who forgets the payment step cannot ship a draft order. The enum limits status values to a fixed set, and the table refuses any skipped or backward step. This is a control-type device: it stops the error instead of recording it.
Mistakes
A mistake is a correct execution of a wrong plan. The person did what they meant to do, but the intention was based on wrong knowledge, a wrong rule, or a wrong reading of the situation.
Mistakes come in two common forms:
- Rule-based mistakes: applying a good rule in the wrong situation, or applying a bad rule. For example, "if the gauge reads high, add coolant" is wrong when the gauge itself is faulty.
- Knowledge-based mistakes: facing an unfamiliar situation and reasoning to a wrong answer, usually from incomplete information.
Mistakes are harder to proof than slips. A device cannot easily tell that the plan was wrong, because the action looks deliberate and correct. Better countermeasures change what the person knows or sees:
- Clear, current instructions at the point of use.
- Displays that show the actual state, not an inferred one.
- Training for unusual situations.
- Decision aids and checklists for rare, high-stakes choices.
- Review by a second person who does not share the same assumption.
Some poka-yoke still applies. A device can prevent a mistake from becoming a defect by limiting the available choices to safe ones, as in the order status example above.
Comparing the three
| Feature | Slip | Lapse | Mistake |
|---|---|---|---|
| Intention | Correct | Correct | Wrong |
| What fails | Action | Memory | Plan or judgment |
| Typical setting | Routine, practiced work | Interrupted or long tasks | Unfamiliar or ambiguous situations |
| Retraining helps? | Rarely | Slightly | Often |
| Best countermeasure | Make the wrong action impossible or awkward | Make the omission visible, or enforce sequence | Fix information, rules, or knowledge |
| Poka-yoke fit | Strong | Strong | Partial |
A decision path
Ask the person, or watch the work, and ask these questions in order.
The path is a starting point. Real incidents often involve more than one type. A person may make a mistake when planning and then a slip while carrying out the plan.
Getting the facts
Classification only works if you ask the right questions. Avoid "why did you do that?", which invites defensiveness. Ask instead:
- What were you trying to do?
- What did you see and what did you expect to see?
- Were you interrupted, rushed, or doing something else at the same time?
- Have you done this task many times?
- What information did you have at that moment?
If the answer to question 1 matches the correct action, you are looking at a slip or lapse. If it matches the wrong action, you are looking at a mistake. Question 3 often points to lapses. Question 4 helps separate habit-driven slips from knowledge-based mistakes.
Watch the work in place when you can. People often cannot reconstruct their own slips accurately afterward.
Edge cases
- Violations are not errors. A person who deliberately skips a step to save time is breaking a rule on purpose. Poka-yoke can still help, but the root cause is usually the process: the step is slow, awkward, or seen as pointless. Treat it as a design problem, not a memory one.
- Mixed causes. A skipped step might be a lapse on a busy day and a violation on a quiet one. Check the pattern across several events before choosing a device.
- Slips caused by a bad design. Two identical-looking buttons with opposite functions produce slips reliably. The error is the person's, but the cause is the design.
- Mistakes disguised as slips. If the same "slip" keeps happening across many people, suspect a misleading label or instruction, which makes it a mistake.
- Fatigue and workload. These raise the rate of slips and lapses. Proofing the task is more reliable than asking people to concentrate harder.
Matching classification to device
Classifying the error narrows your choices before you reach the design step in later chapters.
- For slips, look for contact or fixed-value devices that physically or logically block the wrong action.
- For lapses, look for sequence enforcement, counts, and cues that show what is missing.
- For mistakes, look for better information first, then restrict choices so a wrong plan cannot reach the product.
A confirmation step can address several types. Requiring the operator to retype the target's name breaks the habit of confirming without reading, which is a slip-type habit.
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 ValueErrorA plain "Are you sure?" prompt invites reflex clicking. Typing the name forces the operator to read it, which is a motion-step style check.
Exercise
A pharmacist stocks two vials with near-identical labels side by side. Over a month, three different pharmacists each pick the wrong vial, though all say they knew which one they wanted. Another pharmacist, new to the team, dispenses a drug at the wrong strength because the printed guide was out of date. Classify each situation and name one countermeasure for each.
Show answer
The three wrong-vial picks are slips: the intention was right and the action went wrong. A countermeasure is to separate the vials, or use distinct packaging and shelf positions, so the look-alike cannot be grabbed. The wrong-strength dispensing is a mistake: the person followed an incorrect plan because the information was wrong. A countermeasure is to correct and control the guide, for example by showing the current strength at the point of use and removing outdated copies.
Exercise
A maintenance team sometimes returns a machine to service without re-enabling its safety interlock after repair. The technicians know the procedure and say they were interrupted. Which error type is this, and which kind of device suits it?
Show answer
It is a lapse, a forgotten step after an interruption. A suitable device enforces sequence or makes the omission visible, for example a start sequence that cannot run while the interlock is disabled, or a tag-out that must be removed to restart the machine.