Rules beat human written documentation by 28 points and names alone by 38
Each of the 29 scenarios was sent to the model 3 times at each of 3 levels. Between levels, only the design system text given to the model changed: names only, human written documentation, or rules.
names only54 of 87
human written documentation63 of 87
machine rules87 of 87
| Level | What the agent was given | Correct | Scenarios with 3 identical answers |
| A | the 4 variant names and 'none' | 54 of 87 | 26 of 29 |
| B | a description and examples per variant, 3 soft guidelines | 63 of 87 | 26 of 29 |
| C | what a variant means, 12 hard rules, 5 never rules, an order for conflicts | 87 of 87 | 29 of 29 |
The 29 scenarios fall into 6 groups, from obvious controls to deliberate traps. All 3 levels got every control right, so the gap between the levels comes from the other 5 groups.
| Scenario group | Names only | Human written documentation | Rules |
| Controls, 5 scenariosobvious cases, such as 'Create account' on a sign-up form | 15 of 15 | 15 of 15 | 15 of 15 |
| Context, 7 scenariosthe answer depends on what sits around the button, such as 'Cancel' next to 'Delete project' | 12 of 21 | 16 of 21 | 21 of 21 |
| Traps, 4 scenariosthe button sounds like one variant but is another, such as 'Log out', which is not destructive | 6 of 12 | 6 of 12 | 12 of 12 |
| Conflicts, 4 scenarios2 rules apply and one must win, such as 'Discard changes' in a dialog that also offers 'Save' | 10 of 12 | 11 of 12 | 12 of 12 |
| Interaction and tools, 3 scenariosa press-and-hold control, and side tasks such as 'Add file' in a chat composer | 1 of 9 | 3 of 9 | 9 of 9 |
| Matched pairs, 6 scenariosearlier scenarios reworded, to test the same rule with different words | 10 of 18 | 12 of 18 | 18 of 18 |
These figures come from run 3 of 3. Runs 1 and 2 are described further down, under the heading about the 3 runs.
The agent recognised the situation, not the wording
The risk with written rules is that the agent spots the rule's words in the scenario and copies the answer. So 6 scenarios reword a rule that another scenario tests directly, with no words in common. 'Try again' after a failed upload is paired with 'Update card' after a declined payment. With rules, all 6 pairs were right in all 3 repeats: 18 of 18. No repeat at any level got the original right and the reworded pair wrong.
Rules changed answers that convention gets wrong
'Log out' in an account menu was ghost in 6 of 6 answers at levels A and B. The designer's answer is secondary: it is a real action the user chose, not a low-emphasis extra. With rules it was secondary in 3 of 3. The rules did not make the agent cleverer; they replaced the convention it falls back on with the designer's decision.
It took 3 runs, and every fix was to the rules or the scenarios
| Run | Scenarios | Rules | Correct with rules | What the misses showed |
| 1 | 27 | 11 | 76 of 81 | the rules did not say when an alternative is ghost rather than secondary |
| 2 | 29 | 12 | 84 of 87 | one scenario did not say whether the action could be undone |
| 3 | 29 | 12 | 87 of 87 | no misses |
We recorded each change before the next run. Earlier runs keep their original scores, even where we later changed a correct answer. The misses with rules were not random. In each run they had one cause, which the agent named in its own reasons. One change fixed it.
Where it failed
- with human written documentation, the agent changed its answer between repeats on 3 of 29 scenarios
- one repeat on 'Close' wrote "one could argue for Secondary", then chose primary
- with human written documentation, 'Revert to original' was called destructive in 3 of 3 repeats, because redoing edits by hand "is not an undo"
- our level B first contained a line that gave away scenario 21; we removed it before the first full run
- our scenario 17 did not say whether removing a member could be undone
- the agent made opposite assumptions about scenario 17 in runs 1 and 2, and said so each time