# Four conversations filled forty rows. How much evidence did we have?

A spreadsheet lands on your desk with forty rows comparing two systems. You might think someone tested them on forty conversations. Then you notice that both systems answered the same four conversations, and each pair of results appears ten times.

The file tells you about four conversations. Yet one calculation made the leading system look much more convincing once the copies went in. To see how that happens, start with the four original results.

In our example, each row holds two judgments side by side. Did system A pass this conversation? Did system B pass it? We kept a conversation number on every row so we could tell which judgments came from the same exchange.

## Which system passed more of the four conversations?

These were fictional results. A passed three conversations that B failed. B passed the fourth, which A failed. That gave A a pass rate of 75% and B a pass rate of 25%. A led by 50 percentage points on these four conversations.

We made four files. Each pair of judgments appeared once in the first file, four times in the next, then five times, then ten. The files grew from 4 rows to 16, 20 and finally 40. A still passed 75% and B still passed 25%.

## How unusual would a lead that large be?

Imagine that A and B have no advantage over each other. For this calculation we assume that a conversation could just as easily favor either system, and that the four conversations are independent. How often would one system lead the other by at least 50 percentage points under those conditions?

Take a conversation where A passed and B failed. You can leave that pair alone or swap the labels so that B passes and A fails. With two choices for each of four conversations, there are 16 ways to arrange the labels. Ten give a lead at least as large as the one we saw, in either direction. That share, 10 out of 16 or 0.625, is called a two-sided p-value.

If you swap labels for a conversation, every copy should change with it. The last column of the table shows why that matters. Compare it with the column just to its left, where copies can swap separately. There, the same conversation can favor A on one row and B on the next. The forty-row file then gives a p-value of 0.0022. Only about 0.22% of those arrangements give such a large lead. The calculation changed because it counted copies as separate tests. [How to keep related results together when swapping labels](https://orbi.uliege.be/bitstream/2268/210173/1/Winkler%20et%20al.%20-%202015%20-%20Multi-level%20block%20permutation.pdf)

**The same four conversations, with labels swapped row by row or conversation by conversation**

| Rows per conversation | Total paired rows | Rows flip separately (p-value) | Conversations flip together (p-value) |
| ---: | ---: | ---: | ---: |
| 1 | 4 | 0.6250 | 0.6250 |
| 4 | 16 | 0.0768 | 0.6250 |
| 5 | 20 | 0.0414 | 0.6250 |
| 10 | 40 | 0.0022 | 0.6250 |

## Show how many conversations produced the rows

Keep a case ID for each result and a conversation ID that links results from the same exchange. Tell readers how many rows they are looking at, how many conversations produced them and which labels you swapped together.

With real data, look at how those conversations were collected before you treat them as independent. Two different IDs can still refer to related exchanges. Whether either system could equally well have come out ahead under the test assumptions is a separate question.

## Related research

- [Why counting language versions separately made a small lead look more certain](https://sapien1.com/research/compare-translated-benchmark-results)
- [Three ways one software agent could finish six tasks ahead](https://sapien1.com/research/compare-paired-agent-results)

[Interpreting test scores](https://sapien1.com/research#scores)
