# Run tests

## How to run tests?

<figure><img src="/files/LfOoYaQPEt64mkQpCrUU" alt=""><figcaption><p>Create new test</p></figcaption></figure>

1. **Select the Test Type**\
   Choose the type of test you want to run, such as an **A/B test**.
2. **Create a Unique Run Name**\
   Enter a unique name for the test run.
3. **Specify Test Parameters**
   * **Dataset and Models:** Select the dataset and the two different models you want to test.
   * **Aggregation Level:** Choose the aggregation level (e.g., speed, stop, etc.) for the A/B test.
4. **Define Rule Parameters and Metrics**

   * Set the rule parameters and metric thresholds, including the **Metric Name**, **IoU threshold**, **Confidence threshold**, and other relevant **Metric thresholds**.
   * Define the **event names** that will be tracked during the test.

   Optionally, you can add more metrics by clicking on **"Add Rules"**.
5. **Run the Test**\
   After defining all parameters, click on the **"Run Test"** button to create and execute the test job.


---

# 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.raga.ai/ragaai-prism/event-detection/run-tests.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.
