# How are Active Days calculated

For this calculation, we consider any GIT activity, such as regular commits, merge commits, and PRs opened, reviewed, merged, and declined.\
\
The **active day value** indicates, on average, how many days out of a seven-day week a person or team has been active. Weekends are included in the calculation to ensure any work that happens during that time is also accounted for.

{% hint style="info" %}
If the duration is >= 7 :\
**Active days** =(CurrentActiveDays / (Selected time frame) / CurrentActiveAuthors) \* 7\
\
If the duration is  < 7 :\
**Active days** =(CurrentActiveDays / (Selected time frame) / CurrentActiveAuthors) \*1
{% endhint %}

<div data-with-frame="true"><figure><img src="/files/H3hAC5wbft4vcUwIfJ0R" alt=""><figcaption><p>Active days on Cockpit</p></figcaption></figure></div>

<div data-with-frame="true"><figure><img src="/files/mwLHMopVYCqbYHFth8oA" alt=""><figcaption><p>Active days on Activity screen</p></figcaption></figure></div>

**For example:**\
(Time frame: February 1st - 10th)

* If the team worked for 10 days in February, and you have 3 active authors contributing to the work.\
  &#x20;Active days = (10/10/3) \* 7 = 2.3
* If the team worked for only 5 days in February, and you have 2 active authors contributing.\
  • Active days = (5/10/2) \* 1 = 0.25


---

# 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.hivel.ai/metrics-and-definitions/throughput/how-are-active-days-calculated.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.
