# Recalibration

When Distributional automatically generates the production tests, the thresholds are estimated from a single Run’s data. As a consequence, some of these thresholds may not reflect the user’s actual working condition. As the user continues to upload Runs and triggers new Test Sessions, they may want to adjust these thresholds. The recalibration feature offers a simple option to adjust these thresholds.

## How to recalibrate tests

Recalibration solicits feedback from the user and adjusts the test thresholds. If a user wants a particular test or set of tests to pass in the future, the test thresholds will be relaxed to increase the likelihood of the test passing with similar statistics.

### Recalibrate all tests

Click the `RECALIBRATE ALL TESTS` button at the top right of the `Generated Tests` table in the Test Session page.

<figure><img src="https://content.gitbook.com/content/z6EklLimWg9qh5eYpLkw/blobs/oh2HKyyLh01dvwC7F2NO/Screenshot%202024-12-04%20at%203.56.07%E2%80%AFPM.png" alt=""><figcaption></figcaption></figure>

This will take you to the Test Configuration page, where it will prompt you with a modal for the you to select to have all the tests to pass or fail in the future.

<div data-full-width="false"><figure><img src="https://content.gitbook.com/content/z6EklLimWg9qh5eYpLkw/blobs/ANAYvKr6q2iLMMZGqQ9C/Screenshot%202024-12-04%20at%203.57.43%E2%80%AFPM.png" alt="" width="375"><figcaption><p>Recalibration modal in Test Configuration page</p></figcaption></figure></div>

### Recalibrate multiple tests

First select the tests you want to recalibrate, then click the `RECALIBRATE <#> TESTS` button under the Generated Tests tab. This will prompt the same modal for the user to select to have these tests pass or fail in the future.

<figure><img src="https://content.gitbook.com/content/z6EklLimWg9qh5eYpLkw/blobs/iUGSWruTiLjcW8gBhINM/Screenshot%202024-12-04%20at%204.00.29%E2%80%AFPM.png" alt=""><figcaption></figcaption></figure>


---

# 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/testing/production-testing/recalibration.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.
