Skip to content

Bug: Copilot quota percentages are inverted (showing remaining instead of consumed) #75

@Itstommy10

Description

@Itstommy10

Bug: Copilot quota percentages are inverted (showing remaining instead of consumed)

Description

In the onWatch Copilot dashboard, the utilization percentages are displayed inverted: the value shown represents the quota remaining, not the quota consumed. This causes the status badges (Danger, Critical) to fire incorrectly, alarming users who are actually well within their limits.

Observed behavior

Metric Raw numbers % shown by onWatch Expected % (consumed) Actual % consumed
Chat 420 / 500 used 84% ⚠️ Danger 84% 16%
Completions 3987 / 4000 used 99.7% 🔴 Critical 99.7% ~0.3%

The percentages displayed happen to equal remaining / total rather than used / total.

For example, for Chat:

  • Correct: 420 used out of 500 → 84% consumed (this one accidentally looks right numerically but the bar and badge logic is wrong)
  • For Completions: 3987 used out of 4000 → should show 99.7% consumed, but the display treats the value as if only 0.3% has been consumed.

Clarification from user: the intended reading is that only 16% of the Chat quota has been consumed (i.e. 420 remaining, not 420 used), meaning the used and remaining values are swapped somewhere in the data pipeline or the percentage formula is remaining / total instead of used / total.

Expected behavior

The percentage should represent quota consumed, calculated as:

utilization % = used / total * 100

Status badges should trigger based on the correct consumed value, not the inverted one.

Steps to reproduce

  1. Open the onWatch dashboard.
  2. Navigate to the Copilot (BETA) section.
  3. Observe that the utilization % and status badges do not reflect actual consumption.

Screenshot

Image

Impact

High — users see false Danger/Critical alerts and cannot trust the dashboard to monitor their actual Copilot quota usage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions