Sub topic 7
Setting Specifications and Defining a Defect
Assume you know basic Lean Six Sigma terms such as DMAIC, defect, and process. You should also be familiar with a simple process map and with proportions and means. This chapter focuses on one step in a CTQ tree: turning a measurable requirement into a rule that separates acceptable results from defects.
From requirement to specification
A CTQ requirement describes what must be true for the customer. A specification makes that requirement precise. It states the boundary that an observation must meet.
For example:
- Customer need: “My order should arrive quickly.”
- Quality driver: Delivery speed.
- CTQ requirement: “The order is delivered within three calendar days of the order date.”
- Specification: Delivery time must be less than or equal to three calendar days.
- Defect definition: An order delivered after three calendar days is defective.
The specification must answer four questions:
- What characteristic will be measured?
- What unit will be used?
- What limit applies?
- What counts as passing or failing?
A specification can have an upper limit, a lower limit, or both.
| Specification type | Example | Defect rule |
|---|---|---|
| Upper limit | Delivery time ≤ 3 days | More than 3 days |
| Lower limit | Fill volume ≥ 500 milliliters | Less than 500 milliliters |
| Two-sided limits | Weight from 98 to 102 grams | Below 98 or above 102 grams |
Use a customer-based boundary whenever possible. “Fast delivery” is difficult to measure consistently. “Delivered within three calendar days” can be tested against every order.
Write a complete defect definition
A defect is a failure to meet a requirement. The defect definition should be specific enough that two people examining the same result reach the same conclusion.
Include the unit of analysis. In the delivery example, the unit is one order. Each order has one opportunity for a delivery-time defect. If an order arrives on day four, it has one defect for late delivery.
Do not confuse a defect with a defective unit:
- A unit is the item being evaluated, such as an order.
- A defect is one failure within that unit.
- A defective unit has at least one defect.
An order could also have item errors. If the project measures both late delivery and wrong items, define separate opportunities. Otherwise, a single order could fail two different requirements, and the metric would hide useful information.
Worked example
The following program applies the three-day specification to four orders. The expression > SPEC_DAYS is the defect rule. The program treats each order as one opportunity.
from datetime import date
SPEC_DAYS = 3 # delivered within 3 calendar days
orders = [
(date(2026, 3, 2), date(2026, 3, 4)),
(date(2026, 3, 2), date(2026, 3, 6)),
(date(2026, 3, 3), date(2026, 3, 5)),
(date(2026, 3, 3), date(2026, 3, 9)),
]
defects = sum(
(delivered - ordered).days > SPEC_DAYS
for ordered, delivered in orders
)
defect_rate = defects / len(orders)
dpmo = defect_rate * 1_000_000 # one opportunity per order
print(
f"{defects} defects in {len(orders)} orders, "
f"rate={defect_rate:.0%}, DPMO={dpmo:,.0f}"
)The output is 2 defects in 4 orders, rate=50%, DPMO=500,000. The first and third orders pass. The second and fourth orders fail.
Check the rule before using it
Review the specification with customers or their representatives. Confirm that “three calendar days” means what the customer expects. Clarify whether the order date counts as day zero, whether weekends count, and what happens when delivery information is missing.
Then test the rule on real examples near the boundary:
- exactly three days,
- just over three days,
- an incomplete record,
- a canceled order.
These cases expose ambiguity before the rule enters the project charter. Record the final rule in the CTQ tree and use the same wording in the metric’s operational definition.
Exercise
An order is delivered exactly three calendar days after it is placed. Under the specification “delivered within three calendar days,” is it defective?
Show answer
No. The order meets the upper-limit specification of delivery time less than or equal to three days.