# Example: Replaying a Historical Scenario

The workflow starts by selecting a historical slot range and replaying it exactly as it executed on mainnet. This allows teams to observe system behavior under real conditions such as volatility, congestion, and state contention.

The same time window can then be replayed multiple times with modified parameters or logic. Each run produces structured outputs that can be compared across configurations, for example execution outcomes, PnL, or protocol-level metrics.

This replay-based approach can be applied to a wide range of cases, including:

* Investigating unexpected behavior during historical events
* Stress-testing protocol parameters across volatile periods
* Evaluating changes to execution or decision logic before deploying to mainnet
* Comparing alternative configurations using identical market conditions

The goal is to enable controlled experimentation on real historical data, so teams can reason about changes and their consequences without relying on trial-and-error in production.


---

# 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.termina.technology/documentation/overview/example-replaying-a-historical-scenario.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.
