Matrix
- In
- intents, personas and levels, written by hand
- Out
- one named cell per prompt
105, 72 and 120 cells, every one in scope with equal weight.
Section 3, p.3; Section 4, p.4EACL 2027 to appear
A team plans a test set for an AI agent as a matrix: every kind of task, for every kind of user, at every level of difficulty. CoverageGen asks for every cell, and counts one only when judges who never see the request confirm it. Often they do not.
Camera-ready version (PDF). The ACL Anthology link will replace it when the EACL 2027 proceedings are out.
Figure 1Measured
What Figure 1 shows. On RAG/QA CoverageGen asked for all 105 cells. After the first pass and two rounds of regeneration, judges who never saw the request put a retained query in 43 of them, and confirmed 26 for their own target. 62 stay empty. How to read it. Every cell is one combination of a kind of task (intent), a kind of user (persona) and a level of difficulty (L1 to L3). Shade is how many retained queries the panel put in the cell, as the paper prints it. A ring marks an empty cell that Matrix-SI leaves empty too. On tool use a hatched square is a cell whose only query is one of the 15 unscored regenerated queries.
Measured: Figure I1, p.24; Table 2, p.6; Table I1, p.23.
| Domain | Cells | Cells asked for | Cells holding a retained query | Confirmed, first pass | Confirmed, final set | Still empty | Also empty under Matrix-SI |
|---|---|---|---|---|---|---|---|
| RAG/QA | 105 | 105 | 43 | 20 | 26 | 62 | 45 |
| Tool use | 72 | 72 | 43 (58) | 36 | 36 (51) | 14 | 13 |
| Code generation | 120 | 120 | 105 | 79 | 100 | 15 | 13 |
Tool use: 43 cells hold a retained query, 58 with the 15 unscored regenerated queries; 36 are confirmed, 51 with them. Measured: Table 2, p.6; Section 5.4, p.8; Figure I1, p.24.
01 The puzzle
Suppose you are testing a question-answering agent that looks things up before it answers (the paper calls this domain RAG/QA). You write down who it must serve: seven kinds of task, five kinds of user, three levels of difficulty. That is a matrix of 105 cells. You ask a language model for test queries in every cell, and you describe the finished set by that list.
In the paper's RAG/QA runs, two prompts asked for a list question from a non-native speaker at the easiest level, and both came back as: “What are the main ingredients used to make traditional hummus?” Read it the way a stranger would, with no idea what was asked for. Whose query is it?
Figure 2Measuredthe paper's own example, Section 1, p.1 to 2
“What are the main ingredients used to make traditional hummus?”
| You | not picked yet |
|---|---|
| Asked for (the target) | |
| Judge 1 (GPT-5.4) | |
| Judge 2 (Claude Sonnet 4.6) | |
| Blind human labels, 19 sampled queries of this kind | |
| Confirmed |
| Who reads it | Persona |
|---|---|
| Asked for (the target) | non-native speaker |
| Judge 1 (GPT-5.4) | casual user differs |
| Judge 2 (Claude Sonnet 4.6) | casual user differs |
| Blind human labels, 19 sampled queries of this kind | 17 with the judges, 0 with the target, 2 with neither |
| Confirmed | no: the panel label differs from the target on persona |
The same happens across the non-native speaker cells of RAG/QA:
54candidates were asked for non-native speaker cells that stayed empty
41passed the quality gate
1was read as a non-native speaker by the panel
Each field is sorted on its own, so a place in one field is not the same candidate in the next. Over the whole first pass, 63 candidates were asked for this persona and the panel gave it to 2.
Measured: Section 1, p.1 to 2; Section 5.2, p.6 to 7; Section 5.5, p.8 to 9.
What you just sawA query is not what its prompt asked for. It is what a reader finds in it.
02 The idea
Variety statistics such as mean embedding distance take no list of required behaviours as input, so a set can score as diverse and still hold no multi-step request from an expert user. The paper counts cells instead, and lets readers who never saw the request decide where each query belongs.
Two counts follow. Strict: a cell counts when a query asked for it passes the quality gate and the panel confirms its target on all three axes. Lenient: a cell counts when the panel puts any query that passes the gate in it, and it is read only against a same-size random-label null, because a bigger set covers more cells by chance.
Generator: GPT-5 Chat, the same for every method in the main runs. Target-blind panel: GPT-5.4 (listed first) and Claude Sonnet 4.6. A third judge, DeepSeek-V3.2, relabelled every stored query of the main runs. Three single-turn domains in English, matrices written by hand. The main runs ran once per domain; four independent tool-use replicates ran on a second model stack (generator Claude Haiku 4.5, judges GPT-5.5 and Claude Sonnet 5).
Source: Section 4, p.4 to 5; Table B2, p.16.Figure 3Diagramthe hummus cell, as the paper prints it
The example the hummus cell
“What are the main ingredients used to make traditional hummus?”
CoverageGen where this step happens; every box opens its detail
The RAG/QA matrix has 105 cells. The first pass sends one prompt per cell.
This cell Asked for: list, non-native speaker, L1.
One call per cell asks for three candidates at temperature 0.7: 315, 216 and 360 in the first pass. The prompt shows three fixed example queries of the target's level, which signal the level only.
Each judge labels the three axes and scores naturalness, relevance and specificity from 1 to 5. Neither sees the target.
This cell Both judges read a casual user.
A vote per axis; a 1 to 1 split goes to the first-listed judge. Both judges give the same label on all three axes for 115 of 203, 97 of 150 and 274 of 374 retained queries.
The quality gate passes a query when the two-judge means reach 3.0 for naturalness, 3.5 for relevance and 3.0 for specificity.
The accept rule keeps a candidate that passes the gate and whose panel label has the requested intent; persona and level are not checked. 99, 135 and 263 first-pass candidates became retained queries.
This cell The accept rule checks the intent only, so a query whose persona differs can still be kept.
The final set is filed by panel label. Lenient: a query counts for the panel's cell. Strict: it counts only if that cell is its target on all three axes, through the gate.
This cell Not confirmed: the persona differs.
A cell with no retained query is asked for again. On RAG/QA the list went from 73 cells to 67 to 62 over two rounds. Tool use ran one separate pass over its 29 empty cells and accepted 15 queries, never quality-scored.
This cell List, non-native speaker, L1 is one of the 62 cells that stay empty (Figure 1).
Select any box in the drawing to read what goes in and what comes out. Arrow keys move between boxes.
105, 72 and 120 cells, every one in scope with equal weight.
Section 3, p.3; Section 4, p.4No retained query is ever fed back as an example.
Section 4, p.4 to 5; Table A1, p.13GPT-5 Chat, the generator of every method in the main runs.
Section 4, p.4Until the accept rule, nothing that reads the query knows its target.
Section 3, p.3 to 4; Figure 2, p.2GPT-5.4; it decides a 1 to 1 split.
Section 4, p.5; Table B2, p.16Claude Sonnet 4.6, from another model family; each judge is called twice per candidate.
Section 4, p.5Both judges agree on all three axes for 115 of 203, 97 of 150 and 274 of 374 retained queries.
Section 4, p.5; Table E1, p.17Naturalness, relevance and specificity, scored for every candidate.
Section 4, p.5It kept 99, 135 and 263 of the 315, 216 and 360 first-pass candidates; only the intent meets the target here.
Section 4, p.5The tool-use 150 include the 15 unscored regenerated queries.
Section 4, p.5; Table 2, p.6It grows with the set, so the paper reads it against a same-size random-label null: 0.48, 0.92 and 0.92 of it.
Table 2, p.6; Section 5.4, p.8The second place where the target meets the panel label, on all three axes: the paper's primary count.
Section 3, p.4; Table 2, p.6It says where cells stay empty, not why.
Section 5.5, p.8; Figure I1, p.24104 and 111 accepted on RAG/QA and code generation; 96 and 84 of them unconfirmed.
Section 4, p.5; Section 5.4, p.8Diagram. Section 4, p.4 to 5; Figure 2, p.2; Appendix G, p.19 to 22.
What to keepA target is a request. The panel label and the confirmed count are observations.
03 What the blind panel found
Start with Matrix-SI, the paper's ablation: it puts one cell in each prompt and stops. Its prompts request nearly every cell, and the target-blind panel confirms far fewer, fewer again through the quality gate. Then the same judges labelled 100 first-pass candidates a second time, now shown the target.
Figure 4MeasuredMatrix-SI, 120 prompts per domain, each requesting one cell; Figure 1, p.1
Measured: Figure 1, p.1; Table 2, p.6; Section 5.1, p.5.
Asking against fillingPrompts that name 103, 72 and 120 cells end with 8, 28 and 55 confirmed through the gate.
Figure 5Measured100 first-pass candidates, labelled twice by the same two judges; Figure 3, p.6
On the judges' desk
Candidates whose label equals the target on all three axes
Change in the share of matches when the target is shown, with its 95% interval
33of 100 match their target with the target hidden
56of 100 match with the target shown to the judges
| Candidates | n | Pass the gate | Ungated | Gate on both arms | ||||
|---|---|---|---|---|---|---|---|---|
| Hidden | Shown | Change | Hidden | Shown | Change | |||
| All 100 candidates | 100 | 79 | 33 | 56 | +0.23 [0.15, 0.31] | 23 | 40 | +0.17 [0.10, 0.24] |
| RAG/QA | 34 | 19 | 13 | 22 | +0.26 [0.12, 0.41] | 7 | 11 | +0.12 [0.03, 0.24] |
| Tool use | 33 | 29 | 8 | 16 | +0.24 [0.09, 0.39] | 6 | 13 | +0.21 [0.09, 0.36] |
| Code generation | 33 | 31 | 12 | 18 | +0.18 [0.06, 0.33] | 10 | 16 | +0.18 [0.06, 0.33] |
| Change in share when the target is shown, all 100 candidates [95% interval] | +0.23 [0.15, 0.31] | +0.17 [0.10, 0.24] | ||||||
Measured: Figure 3, p.6; Section 5.1, p.6; Table C1, p.16.
Hidden against shownShown the target, the judges confirm 40 of 100 candidates instead of 23 with the gate on both arms, and 56 instead of 33 ungated.
04 What the comparison found
Give every method the same number of generated candidates and count the cells the panel fills. CoverageGen's first pass covers more cells than the strongest diversity baseline, and no more than Matrix-SI, which only puts the cell in the prompt. Four tool-use replicates on other models repeat both directions.
Figure 6MeasuredCoverageGen's cells over a comparator's, with 95% intervals; Table 4, p.7
Before the plotOnly CoverageGen and Matrix-SI prompts name a target, so a ratio above 1 over the diversity baselines is expected; its size, the comparison with Matrix-SI and the strict count carry the information. The main runs ran once per domain and their intervals resample matrix cells; four independent tool-use replicates show the run-to-run spread.
“Both judges agree” is printed only at equal generated candidates.
| Domain | Compared with | Ratio [95% interval] | Reading | Cells at the comparator's size | Note |
|---|---|---|---|---|---|
| At equal generated candidates, first pass, ungated; panel labels | |||||
| RAG/QA | strongest diversity baseline | 1.45 [1.17, 1.92] | above 1 | ||
| RAG/QA | Matrix-SI | 0.97 [0.83, 1.13] | includes 1 | ||
| Tool use | strongest diversity baseline | 1.34 [1.03, 1.84] | above 1 | includes 1 when the sub-sample is also resampled | |
| Tool use | Matrix-SI | 0.90 [0.77, 1.07] | includes 1 | ||
| Code generation | strongest diversity baseline | 1.97 [1.49, 2.35] | above 1 | ||
| Code generation | Matrix-SI | 0.76 [0.68, 0.84] | below 1 | ||
| At equal generated candidates, first pass, ungated; only queries where both judges agree | |||||
| RAG/QA | strongest diversity baseline | 1.68 [1.23, 2.46] | above 1 | fewer than 50 comparator queries | |
| RAG/QA | Matrix-SI | 0.89 [0.72, 1.11] | includes 1 | ||
| Tool use | strongest diversity baseline | 1.55 [1.11, 2.31] | above 1 | fewer than 50 comparator queries; includes 1 when the sub-sample is also resampled | |
| Tool use | Matrix-SI | 0.90 [0.71, 1.16] | includes 1 | ||
| Code generation | strongest diversity baseline | 2.35 [1.73, 3.01] | above 1 | ||
| Code generation | Matrix-SI | 0.81 [0.71, 0.92] | below 1 | includes 1 when the sub-sample is also resampled | |
| At equal generated candidates, first pass, ungated; labels of a third judge, DeepSeek-V3.2 | |||||
| RAG/QA | strongest diversity baseline | 1.46 [1.11, 1.9] | above 1 | ||
| RAG/QA | Matrix-SI | 0.87 [0.71, 1.1] | includes 1 | ||
| Tool use | strongest diversity baseline | 1.13 [0.88, 1.5] | includes 1 | ||
| Tool use | Matrix-SI | 0.94 [0.81, 1.1] | includes 1 | ||
| Code generation | strongest diversity baseline | 1.47 [1.13, 1.7] | above 1 | ||
| Code generation | Matrix-SI | 0.84 [0.72, 1.0] | below 1 | the upper bound is given to one decimal and lies below 1 | |
| At equal retained size, final sets, lenient; panel labels | |||||
| RAG/QA | strongest diversity baseline | 1.22 [0.83, 2.06] | includes 1 | 14.7 against 12 | fewer than 50 comparator queries |
| RAG/QA | Matrix-SI | 1.20 [0.92, 1.72] | includes 1 | 21.7 against 18 | fewer than 50 comparator queries |
| Tool use | strongest diversity baseline | 1.71 [1.31, 2.45] | above 1 | 37.7 against 22 | rests on the 15 unscored regenerated queries; without them 1.48 [1.11, 2.09], 32.6 against 22 cells |
| Tool use | Matrix-SI | 1.28 [1.04, 1.65] | above 1 | 40.9 against 32 | rests on the 15 unscored regenerated queries; includes 1 when the sub-sample is also resampled; not counted as an advantage |
| Code generation | strongest diversity baseline | 1.81 [1.33, 2.47] | above 1 | 34.4 against 19 | fewer than 50 comparator queries |
| Code generation | Matrix-SI | 0.83 [0.74, 0.94] | below 1 | 58.1 against 70 | includes 1 when the sub-sample is also resampled |
| At equal retained size, final sets, lenient; labels of a third judge, DeepSeek-V3.2 | |||||
| RAG/QA | strongest diversity baseline | 1.58 no bounds given | includes 1 | 14.2 against 9 | fewer than 50 comparator queries; no bounds are given because the comparator covers fewer than 20 cells |
| RAG/QA | Matrix-SI | 1.04 [0.78, 1.5] | includes 1 | 20.7 against 20 | fewer than 50 comparator queries |
| Tool use | strongest diversity baseline | 1.26 [0.99, 1.7] | includes 1 | 37.7 against 30 | rests on the 15 unscored regenerated queries; without them 1.11 [0.84, 1.5], 33.3 against 30 cells |
| Tool use | Matrix-SI | 1.31 [1.06, 1.7] | above 1 | 40.7 against 31 | rests on the 15 unscored regenerated queries; not counted as an advantage |
| Code generation | strongest diversity baseline | 1.57 [1.20, 1.9] | above 1 | 54.8 against 35 | |
| Code generation | Matrix-SI | 0.88 [0.76, 1.0] | includes 1 | 49.9 against 57 | the upper bound is given to one decimal; the interval includes 1 |
| Tool use, four independent replicates on a second model stack: mean ratio (SD; range of the four runs, not an interval) | |||||
| Tool use | Evol-Instruct, four replicates | 1.30 (SD 0.03; 1.26 to 1.34) | panel labels | at equal generated candidates | |
| Tool use | Evol-Instruct, four replicates | 1.16 (1.07 to 1.24) | second judge alone | ||
| Tool use | Evol-Instruct, four replicates | 1.36 (1.19 to 1.43) | both judges agree | ||
| Tool use | Evol-Instruct, four replicates | 1.08 (1.04 to 1.12) | whole calls as unit | ||
| Tool use | Evol-Instruct, four replicates | 1.17 (1.12 to 1.25) | equal total tokens | ||
| Tool use | Matrix-SI, four replicates | 0.87 (0.82 to 0.94) | panel labels | at equal generated candidates | |
| Tool use | Matrix-SI, four replicates | 0.93 (0.85 to 1.02) | equal total tokens | ||
The paper prints expected cells only at equal retained size (Table F1, p.20). At equal calls the point ratios over Matrix-SI are 0.70, 0.65 and 0.49 (Table 4, p.7).
Measured: Section 5.3, p.7; Table 4 and Table 5, p.7; Table F1, p.20; Appendix H, p.21 to 23.
Figure 7bMeasuredlenient coverage over the same-size random-label null; Table F2, p.20
A bigger set fills more cells by luck alone. The null is the share of cells that the same number of random labels would fill.
Measured: Table F2, p.20; Section 5.4, p.8.
Figure 7aMeasuredtotal calls as run; Figure G1, p.19
Measured: Section 5.4, p.8; Figure G1, p.19; Table G2, p.22.
What to keepPut the cell in the prompt: that is where the breadth comes from. The check-and-regenerate loop adds the count and the list of empty cells, not more cells than Matrix-SI.
05 Do people agree with the judges?
Specialist annotators, unpaid volunteers, labelled 200 sampled retained queries, one label per query. They saw the query and a one-line gloss of each axis value, never the target or the panel label. Where the panel confirms the target, the human label gives the target on 87 of 104. Where it does not, the human label agrees with the panel label on 35 of 96.
Figure 8Measured200 sampled retained queries, one blind human label each; Table 3, p.6
104The panel confirms the target
87 with the target
17 with neither
96The panel does not confirm it
35 with the panel
21 with the target
40 with neither
Tool use, where the panel confirms: seven of the 46 are unscored regenerated queries; without them, 36 of 39.
Inside the 48 The 19 sampled RAG/QA queries asked for a non-native speaker and read by the panel as a casual user, on the persona axis alone:
the human label agrees with the judges on 17 and with the target on 0.
One label per query, so no human-to-human agreement can be computed as a ceiling. No baseline or Matrix-SI query has a human label. These figures describe the sample of 200, not the final sets. On RAG/QA the 11 of 19 splits into 0 of 5 where the labelling sheet garbled characters and 11 of 14 elsewhere.
On complexity the panel label lies above the human label on 34 queries and below it on 6 (4 and 2 on the 104 confirmed). Where the two judges split (73 sampled axes), the human label matches the first-listed judge on 39 and the other on 24. Cohen's kappa between human and panel: 0.92 on intent, 0.78 on persona, 0.70 on complexity; the full cell agrees on 122 of 200.
| Sampled queries | Panel confirms | equals the target | neither | Panel does not confirm | equals the panel label | equals the target | neither |
|---|---|---|---|---|---|---|---|
| All 200 sampled queries | 104 | 87 | 17 | 96 | 35 | 21 | 40 |
| RAG/QA | 19 | 11 | 8 | 48 | 21 | 5 | 22 |
| Tool use | 46 | 43 | 3 | 20 | 6 | 9 | 5 |
| Code generation | 39 | 33 | 6 | 28 | 8 | 7 | 13 |
Measured: Section 5.2, p.6 to 7; Table 3, p.6; Table D1, p.17.
What to keepStrict coverage is the count that blind human labels support.
Asked for is not covered
Counted blind, the covered part of the matrix shrinks. Strict cells in the final sets: 26 of 105; 36 of 72, or 51 with the 15 unscored regenerated queries; 100 of 120.
Figure 1The breadth comes from the cell in the prompt. The first pass covers 1.45, 1.34 and 1.97 times the cells of the strongest diversity baseline and 0.97, 0.90 and 0.76 times those of Matrix-SI; four tool-use replicates give 1.30 (SD 0.03) and 0.87. The check-and-regenerate loop adds the count and the list of empty cells, not more cells than Matrix-SI.
Figure 6What the judges see changes the verdict: 23 of 100 confirmed with the target hidden, 40 with it shown (gate on both arms); 33 and 56 without the gate.
Figure 5These practices make a coverage claim checkable; they do not make it meaningful.
Whether a given matrix is the right target, and whether higher coverage finds more agent failures, remain open.
06 Office hours
Written by Tian's agent while Tian slept and Pepper supervised. Pepper accepts no liability either.
Each answer says where in the paper it comes from, so you can check the agent's work.
Not necessarily, and the paper does not claim it. Three model families rated all 297 cells for plausibility, blind to the coverage results: 251 are rated plausible, among them 77 of the 91 empty cells, so implausible cells do not explain the empty ones. On plausible cells only the ratios over the strongest diversity baseline are 1.44, 1.33 and 1.77 (1.45, 1.34 and 1.97 on all cells). The raters agree only moderately (alpha 0.69), and no human rated the cells.
The matrix also has no topic axis: CoverageGen's first pass reaches 56%, 60% and 79% of a benchmark sample's topic clusters.
Source: Section 5.5, p.8 to 9; Appendix I, p.23 to 24; Appendix J, p.24 to 25No. At equal generated candidates the first pass covers 0.97, 0.90 and 0.76 times the cells of Matrix-SI. With regeneration, at equal retained size, the ratio is 1.20, 1.28 and 0.83, and the one interval above 1 (tool use) rests on the 15 unscored regenerated queries.
The loop is mostly calls: 3,170 on RAG/QA and 2,233 on code generation, at least 56.9% and 30.1% of them for regeneration, for 6 and 21 more strict cells. What it adds is the count and the list of empty cells.
Source: Section 5.3, p.7; Section 5.4, p.8; Appendix F, p.19; Table G2, p.22Only as far as they were checked. Blind human labels support the confirmed count (87 of 104) and not the cell the panel names instead (35 of 96). A third judge, DeepSeek-V3.2, gives strict coverage of 15, 38 and 73 cells against the panel's 26, 36 and 100. One further LLM judge does not exclude a bias that LLM judges share.
Source: Section 5.2, p.6 to 7; Appendix E, p.17 to 18Unshown. The paper says coverage has not been shown to have any downstream benefit, and that whether higher coverage finds more agent failures remains open.
Source: Section 6 and Limitations, p.9Less than before, but still much. The main runs ran once per domain, so their intervals carry no generator or judge variance. Four independent tool-use replicates on a second model stack give 1.30 (SD 0.03; 1.26 to 1.34) over Evol-Instruct and 0.87 (0.82 to 0.94) over Matrix-SI; the run-to-run spread is smaller than the within-run bootstrap spread. They cover tool use only, on other models.
Source: Section 5.3, p.7; Appendix H, p.21 to 23; Limitations, p.9