# Matched Results Between Runs

Special tests and comparisons are possible when the user provides a unique identifier to “match” result rows run over run. Users can write tests that compare stats on result columns considering only pairs of rows that have the same row\_id.

To use this functionality, one or more `row_id` column names must be specified in the RunConfig. The results dataframe must contain those column(s) with and the `row_id`s must be unique within a single run's results.

To get started using this, the simplest strategy is to number each row 1, 2, 3, ....  Those assignments must then be consistently applied to those results for all runs.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dbnl.com/v0.20.x/using-distributional/data/matched-results-between-runs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
