[BUG] Studio Usage Dashboard shows incorrect percentage bar for credit consumption ($1.18/$70 displayed as ~12%)
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 62/100
Rechercherichtung
Beginne damit, die Abweichung in Studio > Usage unter commandcode.ai zu reproduzieren, und vergleiche den angezeigten Guthabenwert, das Planlimit und den Prozentsatz bei den 5-Stunden-, wöchentlichen und monatlichen Balken. Verfolge die Prozentberechnung des Usage-Dashboards zurück und überprüfe, ob sie das angegebene Guthabenlimit verwendet. Als erledigt gilt die Aufgabe, wenn der Dollarbetrag und jeder Fortschrittsbalken-Prozentsatz konsistent sind, einschließlich des gemeldeten Falls von 1,18 $ von 70 $.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Summary
I'm on the $10 GOAT plan with $70 monthly credits. The Studio > Usage dashboard shows two inconsistent values:
Credit value consumed: $1.18
Percentage used: ~12%
The math doesn't add up: $1.18 divided by $70 equals 1.69%, so the correct percentage should be ~1.7%, not 12%.
This discrepancy exists across all three rolling windows (5-hour, weekly, and monthly progress bars). I've confirmed there are no hidden top-ups or extra pools affecting the calculation - the only number that makes sense is $1.18 spent.
Steps to Reproduce
Navigate to Studio > Usage page in commandcode.ai
Check the "Credit value" field and the green progress bar's percentage label
Compare the dollar amount with the displayed percentage
Expected Behavior
If $1.18 of $70 credits has been used, the percentage should be approximately 1.7%. The dollar amount and the percentage bar must be consistent.
Actual Behavior
Dollar amount says $1.18 used
Percentage bar shows ~12%
These two values contradict each other (off by a factor of ~7x)
Screenshots
I have attached screenshots from my usage dashboard showing both the dollar amounts and the misleading progress bars. Happy to provide more detail if needed.
Environment
Plan: GOAT ($10/mo, $70 credits)
Model mix: Mostly free models (Laguna S 2.1, MiniMax M3/M2.7), minimal paid usage(Qwen3.7 flash)
Date observed: 2026-08-28
Expected Behavior
Actual Behavior
The usage dashboard progress bars display incorrect percentages for credit consumption. The "Credit value consumed" reads $1.18, while the "Monthly Limit" progress bar shows ~12%. Given the GOAT plan allowance is $70, the correct percentage should be approximately 1.7% ($1.18 ÷ $70), creating a ~7x discrepancy that contradicts the actual monetary usage shown on the same screen.
Steps to reproduce the issue
- Login to the Command Code Studio web app (https://commandcode.ai/).
- Navigate to the Usage / Limits dashboard section.
- Observe the "Credit value used" numeric value and compare it to the green progress bar's percentage label.
- Verify that the percentage is being calculated against a much smaller denominator than the stated plan limit.
Command Code Version
0.01
Operating System
macOS
Terminal/IDE
No response
Shell
No response
Session file (optional)
No response
Fix prompt (optional)
No response
Additional context
No response
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 4k
- Forks
- 350
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus CommandCodeAI/command-code
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
CommandCodeAI/command-code#855 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
CommandCodeAI/command-code#841 · 1 Kommentar ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
CommandCodeAI/command-code#655 · 1 Kommentar ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
CommandCodeAI/command-code#608 ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 70/100
CommandCodeAI/command-code#893 ·
Alle Issues in CommandCodeAI/command-code
Ähnliche Issues
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
BasedHardware/omi#15320 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
bancolombia/sentinel#23 ·
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
AOSSIE-Org/OrgExplorer#245 ·
-
tech-debt
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
gordonwatts/test-wsl2-llm#151 ·