# Dynamic Baseline

Instead of comparing the newest Run to a fixed Baseline Run, a user might want to dynamically shift the baseline. For example, one might want to compare the new Run to the most recently completed Run. To enable dynamic baseline, user needs to create a Run Query from the Test Config page.

<figure><img src="/files/9bdKfhufqhz2MJsoypwU" alt=""><figcaption></figcaption></figure>

Under the Baseline Run dropdown, select Create run query; this will prompt a Run Query modal. In the model, you can write the name of the Run Query and select the offsetting Run to be used for the dynamic baseline. For example: `1` implies each new Run is tested against the previous uploaded Run.

<figure><img src="/files/QrWZsfOAjFr2PCP14c91" alt=""><figcaption></figcaption></figure>

Click `SAVE` to save this Run Query. Back in the Test Config page, select the Run Query from the dropdown and click `SAVE` to save this setting as the dynamic baseline.

<figure><img src="/files/6q0al8ZuZsG3O7f9nd7X" 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.25.x/to-be-deleted/dynamic-baseline.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.
