> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cubic.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Analytics

> See what cubic finds and your team fixes, how fast your PRs merge, and how much code AI writes.

The [analytics page](https://www.cubic.dev/analytics) shows what cubic's reviews find and what your
team fixes, how fast your PRs merge, and how much of your code AI writes. The data comes from your
GitHub activity and cubic's reviews.

## Tabs

* **[AI review](https://docs.cubic.dev/analytics/ai-review.md):** time to merge, issues fixed, issues per PR, issue types,
  Ultrareview impact, and custom agents. This tab opens first.
* **[Delivery & effectiveness](https://docs.cubic.dev/analytics/delivery-and-effectiveness.md):** merged PRs per week, work
  output, work mix, review activity, and metrics per person or team.
* **[AI coding](https://docs.cubic.dev/analytics/ai-coding.md) (Beta):** human and AI authorship, coding agents and models,
  and AI adoption per person or team.

> [!NOTE]
>
> When the tab bar has focus, press `A` for AI review, `D` for Delivery & effectiveness, or `C` for
> AI coding.

## Filters and time periods

### Organization and repository

Pick an organization, then view one repository or all of them. The list shows only the
repositories you can access in cubic.

![Repository filter](https://mintcdn.com/cubic-2/AzoJeLhtvGZBEz71/analytics/images/repository-filter.png?fit=max\&auto=format\&n=AzoJeLhtvGZBEz71\&q=85\&s=c0c9c108a7c4cfcb4abcd8042eb2fe71)

### Team and member

For organization accounts, the team filter works on every tab. The member filter appears only on
the AI coding tab. The other tabs break results down by person, team, or repository in their charts
and tables.

### Time periods

Choose **Last 24 hours**, **Last 7 days**, **Last 30 days**, **All time**, or a **Custom** range.
The page opens on **Last 30 days**, or on **All time** for organizations on a trial.

Charts group data by hour, day, or week:

* **AI review and Delivery & effectiveness:** daily for periods of 7 days or less, weekly for longer
  ones. Weeks start on Monday (UTC), so the first and last weeks can be partial. **Review activity**
  is hourly for periods of 24 hours or less. **Work output** is daily only on **Last 24 hours** and
  **Last 7 days**.
* **AI coding:** daily for periods up to 30 days, weekly for longer ones. Switch with **Day** and
  **Week**. **Day** works for periods up to 90 days, and **All time** is weekly only.

> [!NOTE]
>
> Periods start no earlier than May 9, 2025 or the day you installed cubic, whichever is later.
> **Last 7 days** and **Last 30 days** become available once cubic has that many days of data. A
> custom range can't start before then or end after today.

### Period-over-period comparisons

Most cards and charts compare the selected period with the previous period of the same length. The
previous period has to start after the earliest date above, so **Last 7 days** needs 14 days of data
and **Last 30 days** needs 60. **All time** has no previous period.

On the AI review tab, **Time to merge** can also compare with the 12 weeks before you installed
cubic. See [AI review](https://docs.cubic.dev/analytics/ai-review.md#summary-cards).

## Export and API access

* **CSV export:** the
  [Contribution and collaboration](https://docs.cubic.dev/analytics/delivery-and-effectiveness.md#contribution-and-collaboration)
  table on Delivery & effectiveness and the [Team members](https://docs.cubic.dev/analytics/ai-coding.md#csv-export) table
  on AI coding export to CSV. The AI review tab has no export.
* **[Analytics API](https://docs.cubic.dev/analytics/api.md):** PR-level data, including issues flagged, issues fixed, and
  lines that AI wrote and nobody edited. It needs a Pro or Max plan and doesn't return the
  dashboard's charts.

We add metrics regularly.
[Contact us](mailto:contact@cubic.dev?subject=Requesting%20a%20new%20metric) with suggestions.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.