# Windowing policy

The `Windowing` field in a study specifies the windowing policy to be adopted to score the experiments of an optimization study.

The two available windowing strategies have different structures:

* [**Trim windowing**](https://docs.akamas.io/akamas-docs/3.1.3/akamas-reference/construct-templates/study-template/windowing-strategy/trim-windowing): trim the temporal interval of a trial, both from the start and the end of a specified temporal amount - this is the default strategy
* [**Stability windowing**](https://docs.akamas.io/akamas-docs/3.1.3/akamas-reference/construct-templates/study-template/windowing-strategy/stability-windowing): discard temporal intervals in which a given metric is not stable and selects the temporal interval in which a metric is maximized or minimized.

In case the windowing strategy is not specified, the entire time window is considered.


---

# 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.akamas.io/akamas-docs/3.1.3/akamas-reference/construct-templates/study-template/windowing-strategy.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.
