[repo-assist:issue-fix] githubnext/gh-cao issue 20097 fix review
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- Mezza giornata
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- javascript
- Ambito
- documentation, frontend
Direzione di ricerca
Start with the formatNumber function in dashboard/site/src/view-formatters.js, which now formats the unrounded AIC value, and with the DLS-UNIT-004 entry in docs/dashboard-language-specification.md, whose spec change needs maintainer sign-off. The matching test is in dashboard/site/test/unit/view-formatters.test.js. Done means npm test and npm run lint pass in dashboard/site and the Cost page per-repository slices sum to the total.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The Cost page rounded aicc values to 2 AIC before dividing by 100, so per-repository slices ($0.40 each) disagreed with the total ($1.18). The attached patch formats the unrounded AIC value (rounded to cents by Intl), giving $0.39 each and $1.17, and updates DLS-UNIT-004 and its unit test. Validation: direct formatNumber check passed (341→$3.41, 39→$0.39, 117→$1.17); vitest/eslint could not run because dashboard/site dependencies failed to install.
Action: A maintainer should review the attached review bundle and confirm the spec change to DLS-UNIT-004 is acceptable; acceptance: npm test and npm run lint pass in dashboard/site/ and the Cost page totals reconcile.
Agent prompt
Apply the patch from the repo-assist-issue-fix-issue-20097 review bundle to githubnext/gh-cao (base f8b2fc99), then run npm ci && npm test && npm run lint && npm run typecheck in dashboard/site and npm run docs:build; fix any failures without weakening tests, then open a PR that Closes #20097.
Changed files
- dashboard/site/src/view-formatters.js
- dashboard/site/test/unit/view-formatters.test.js
- docs/dashboard-language-specification.md
Control Plane
cao: githubnext/gh-cao, correlation: 41444087799-128
Generated by :tools: Repo Assist / Issue Fix · copilot · auto · ~28 AIC · ⌖ ~1 AIC · ⊞ 14.2K · ◷
- expires on Nov 16, 2026, 12:34 PM UTC
- Lingua principale
- JavaScript
- Stelle
- 14
- Fork
- 5
- Merge medio
- 3h 24m
- PR unite (30g)
- 796
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di githubnext/gh-cao
-
[aw] Upgrade availableApertaagentic-workflows
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
githubnext/gh-cao#20168 ·
I maintainer di solito rispondono entro 1 giorno
-
repo-assist repo-assist:issue-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
githubnext/gh-cao#20041 ·
I maintainer di solito rispondono entro 1 giorno
-
agentic-workflows self-care self-care:pages-health
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
githubnext/gh-cao#20028 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
githubnext/gh-cao#19959 ·
I maintainer di solito rispondono entro 1 giorno
-
agentic-workflows self-care self-care:reactive-ui-expert
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 85/100
githubnext/gh-cao#19923 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di githubnext/gh-cao
Issue simili
-
curriculum documentation quality
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
githubnext/gh-aw-workshop#5367 ·
I maintainer di solito rispondono entro 3 giorni
-
Add: Animal Planet BGApertachannels:add check:passed
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
I maintainer di solito rispondono entro 4 giorni
-
beginner blocked
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
hiero-ledger/hiero-sdk-js#4670 ·
I maintainer di solito rispondono entro 1 giorno
-
Media widget: selecting a paused player is ignored while another paused player holds an audio streamAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
area: editor complexity: easy impact: low status: triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
ueberdosis/tiptap#8699 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno