Sub topic 4
Task success and completion rate
This chapter assumes you have run or observed a usability test, moderated or unmoderated. You should be comfortable with percentages. You do not need statistics beyond that. Confidence intervals get their own chapter next, so here we only flag why they matter. The Python examples are optional, and the ideas stand without them.
Why task success comes first
Task success is the most direct measure of effectiveness. It answers one question: could the participant do what the design is for? Time on task and satisfaction scores are hard to interpret if people could not finish the task. A fast time from someone who gave up tells you nothing. A high satisfaction score from someone who got the wrong answer tells you very little about the design.
The measure is the completion rate: the number of participants who succeeded at a task, divided by the number who validly attempted it. It is a proportion. A completion rate of 0.6 means 6 of 10 attempts succeeded.
The calculation is simple. The work is in the decisions before it: what counts as success, what counts as an attempt, and who is excluded.
Binary success versus graded success
Most studies code each attempt as success or failure. This is binary success. It is easy to collect, easy to explain, and it supports the confidence-interval methods in the next chapter. Use it as your default.
Some tasks have middle ground. A participant may finish the task with a hint, or complete only part of a multi-step goal. Teams then code graded success, with levels such as these:
| Code | Meaning |
|---|---|
| success | Reached the correct end state with no help |
| assisted | Reached the correct end state after a hint or intervention |
| partial | Completed some required parts but not all |
| fail | Ended at a wrong state, or gave a wrong answer |
| abandon | Stopped before finishing, by choice |
| timeout | Hit a time limit set in advance |
| invalid | Attempt unusable, for example a technical fault or a task misread because of a script error |
Graded codes are useful during analysis because they separate kinds of failure. A design where people fail by abandoning has a different problem from one where people confidently reach the wrong state. When you report a single completion rate, you still have to collapse the codes into success or not. Decide how before you look at the data.
Deciding what counts
Write the counting rules down before the first session. Three decisions cause most of the disagreement later.
- Is assisted success a success? In most reports it is not. If the participant needed a hint, a real user alone would probably have failed. Count only unassisted success as success, and report assisted separately if it is common. If you do count it, say so in the report.
- How are abandons and timeouts counted? They are failures, and they stay in the denominator. Dropping them removes the exact attempts that reveal problems.
- Which attempts are invalid? Remove an attempt from the denominator only for reasons unrelated to the design, such as a crashed test environment or an observer interrupting. Write the reason down for each exclusion. Do not mark an attempt invalid because the participant "wasn't a typical user" after you saw them struggle.
A useful check is to ask two observers to code the same recordings independently. If they disagree on more than a few attempts, the success criteria are ambiguous and need rewriting.
From attempts to a completion rate
The next example codes one task for 11 sessions and computes the rate under two definitions. The invalid attempt is excluded from the denominator.
from collections import Counter
STRICT = {"success"}
LENIENT = {"success", "assisted"}
EXCLUDED = {"invalid"}
def completion_rate(outcomes, counts_as_success):
"""Return (successes, valid attempts) for one task."""
valid = [o for o in outcomes if o not in EXCLUDED]
if not valid:
raise ValueError("no valid attempts")
hits = sum(1 for o in valid if o in counts_as_success)
return hits, len(valid)
outcomes = [
"success", "success", "assisted", "success", "fail", "success",
"abandon", "success", "success", "partial", "invalid",
]
for code, n in sorted(Counter(outcomes).items()):
print(f"{code:8} {n}")
for label, rule in (("strict", STRICT), ("with assisted", LENIENT)):
hits, n = completion_rate(outcomes, rule)
print(f"{label}: {hits}/{n} = {hits / n:.0%}")The output shows 6 successes out of 10 valid attempts under the strict rule (60%) and 7 out of 10 when assisted successes are included (70%). The two definitions differ by ten points on the same data. This is why the rule must be fixed in advance and stated in the report. Choosing the more flattering one after seeing the results is a form of cherry-picking.
A decision flow for coding each attempt
The diagram shows one way to make the coding repeatable. Each attempt goes through the same questions in the same order.
Notice that "valid attempt" comes first. Deciding validity before you look at the outcome protects you from excluding bad results after the fact.
Making success checkable
Coding is only reliable if the task defined an observable end state. "Find information about returns" is vague. "Find the number of days you have to return a pair of shoes" has an answer an observer can check. Chapter 3 covers task design in detail. For counting purposes, check that each task has these features:
- A clear end state, such as a confirmation page, a specific value, or a changed setting.
- A single correct path, or a documented list of acceptable paths.
- A defined point at which the attempt ends, such as the participant saying "I'm done" or the time limit.
For tasks where the participant reports an answer, decide in advance which answers are correct. If two different prices on a page could both plausibly answer "what does it cost?", fix the rule before the sessions. Do not argue it afterward.
Unit of analysis: participants, not clicks
The completion rate is computed per task, across participants. Each participant contributes one attempt to each task's rate. If a participant retries a task, decide beforehand whether the first attempt counts or the final one. Counting every retry as a separate attempt inflates the sample and treats one person's behavior as independent evidence several times. Counting only the first attempt is the common choice, because it reflects what a new user experiences.
Compute a separate rate for each task. Averaging across tasks into one overall number hides the tasks that fail. A study with one 20% task and four 100% tasks has an 92% average, but the 20% task is the finding.
Common errors
- Reporting only the percentage. "80% success" from 10 participants and from 1,000 participants are very different claims. Always report the counts, as in "8 of 10".
- Dropping failures from the denominator. Removing abandons or timeouts raises the rate and removes the evidence.
- Changing the success rule after the fact. Decide the rule first and keep it. If you change it, report both versions.
- Treating "no errors" as success. A participant can make no visible errors and still land on the wrong page. Success depends on the end state, not on how smoothly they moved.
- Counting the facilitator's help as success. Any hint that moves the participant toward the answer makes the attempt assisted at best.
- Comparing rates across studies with different rules. A 70% from a lenient rule and a 70% from a strict rule are not the same result.
Small samples: why the number is fuzzy
Most usability tests run with 5 to 20 participants. At that size, a completion rate is a rough estimate. If 8 of 10 people succeed, the true rate for your whole user population could plausibly be well below or above 80%. Moving a single participant from success to failure changes the result by ten points.
This does not make small studies useless. A task where 2 of 10 succeed is clearly in trouble, even with the uncertainty. But it does mean you should not compare 80% and 70% from two small samples and call one design better. The next chapter shows how to attach a confidence interval to a completion rate so the report states how much the number could move.
Practical checklist
Before the sessions:
- Write the end state for each task.
- Write the counting rules: assisted, abandon, timeout, retries, and invalid.
- Decide whether you will report binary success only, or graded codes as well.
During the sessions:
- Note when the facilitator gives any hint, and at what point.
- Note why an attempt ended: done, gave up, or time limit.
After the sessions:
- Code every attempt using the written rules, ideally with a second coder on a sample.
- Report counts per task alongside percentages.
- Report the rule used, and any exclusions with their reasons.
Exercise
In a test of a checkout task, 12 participants attempted it. Results: 7 completed it alone, 2 completed it after the facilitator pointed to the right button, 1 gave up, 1 entered the wrong shipping option and thought they were done, and 1 attempt was lost because the test site crashed. What is the strict completion rate, and what is it if assisted successes count?
Show answer
The crashed attempt is invalid, so the denominator is 11. Strict rate: 7 of 11, about 64%. If assisted successes count: 9 of 11, about 82%. The abandon and the wrong shipping option are both failures and stay in the denominator. The report should state which rule was used and show the counts.
Exercise
A colleague reports that a task had a 90% completion rate because 9 of the 10 participants who "finished" got the right answer. Two other participants gave up and were not counted. What is wrong, and what is the corrected rate?
Show answer
The two abandons were removed from the denominator. They are failures and belong in it. The valid attempts number 12, with 9 successes, so the rate is 9 of 12, which is 75%.