[repo-assist:issue-triage] githubnext/gh-cao issue 20097 triage guidance
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- Half a day
- Newbie friendliness
- 15/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript
- Domain
- documentation, frontend
Research direction
Start with the aicc branch of formatNumber in dashboard/site/src/view-formatters.js, which calls formatAicc after rounding to 2 significant figures. Then read DLS-UNIT-004 in docs/dashboard-language-specification.md, since the spec mandates that rounding and a maintainer must approve any change before code is touched. Done means 39 AIC renders $0.39, the formatter tests and significant: 2 fixtures are updated, and the dashboard test suite passes.
Written by the indexing model from the issue text.
Description
Target githubnext/gh-cao issue 20097 (Cost page AIC rounding): the behavior is real but spec-mandated, so a fix needs a maintainer decision on DLS-UNIT-004 first. Confidence: high.
Action: A dashboard maintainer should decide whether to amend DLS-UNIT-004 (cents-grain rounding); if approved, assign the issue to Copilot with the prompt below. Acceptance: 39 AIC renders $0.39, 117 AIC renders $1.17, and dashboard unit tests and npm run check pass.
Evidence
docs/dashboard-language-specification.mdDLS-UNIT-004 requires anaiccpresenter to round the AIC value tosignificant: 2before dividing by 100. 39 AIC becomes 40 and renders$0.40, matching the report.dashboard/site/src/view-formatters.jsformatNumbercallsformatAicc(rounded)foraiccunits, which implements that rule. It is not an implementation bug.- Rounding to 2 AIC gives $0.02 granularity, so sums of displayed parts cannot reconcile with totals. Rounding after the divide by 100 (cents) fixes this.
- Rejected: tooltip-only unrounded AIC. It leaves the visible figures inconsistent.
- Breaking-spec risk: changing a MUST rule requires updating the spec,
docs/, formatter tests and contract fixtures together.
Agent prompt
In githubnext/gh-cao, change aicc formatting so the AIC value is divided by 100 and then rounded to cents, instead of being rounded to 2 AIC first. Update formatNumber in dashboard/site/src/view-formatters.js, amend DLS-UNIT-004 in docs/dashboard-language-specification.md, and update any significant: 2 fixtures or tests. Add a unit test showing 39 AIC renders $0.39 and three of them sum to $1.17. Run npm test, npm run lint and npm run typecheck in dashboard/site/, then npm run docs:build.
Control Plane
cao: githubnext/gh-cao, correlation: 41444087799-128
Generated by 🏷️ Repo Assist / Issue Triage · copilot · auto · ~20 AIC · ⌖ ~1 AIC · ⊞ 14K · ◷
- expires on Nov 16, 2026, 12:32 PM UTC
- Dominant language
- JavaScript
- Stars
- 14
- Forks
- 5
- Avg merge
- 3h 20m
- Merged PRs (30d)
- 811
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from githubnext/gh-cao
-
agentic-workflows
Difficulty 1/5 Under an hour Newbie friendliness 68/100
githubnext/gh-cao#20168 ·
Maintainers usually reply within 1 day
-
agentic-workflows
Difficulty 1/5 Under an hour Newbie friendliness 72/100
githubnext/gh-cao#20156 ·
Maintainers usually reply within 1 day
-
agentic-workflows
Difficulty 1/5 1-3 hours Newbie friendliness 75/100
githubnext/gh-cao#20155 ·
Maintainers usually reply within 1 day
-
agentic-workflows
Difficulty 1/5 Under an hour Newbie friendliness 78/100
githubnext/gh-cao#20154 ·
Maintainers usually reply within 1 day
-
agentic-workflows
Difficulty 1/5 1-3 hours Newbie friendliness 80/100
githubnext/gh-cao#20153 ·
Maintainers usually reply within 1 day
All issues in githubnext/gh-cao
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
ai-driven-fuzzing bug Cosmetic
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
linagora/cozy-client#1831 ·
Maintainers usually reply within 1 day
-
ai-driven-fuzzing bug Major
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
Maintainers usually reply within 1 day
-
[ordering-review] workshop order graph: 1 confirmed ordering problem, 3 cycles are false positivesOpen
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
githubnext/gh-aw-workshop#5331 ·
Maintainers usually reply within 1 day
-
Remove: 21 SexturyOpenchannels:remove check:passed
Difficulty 1/5 Under an hour Newbie friendliness 65/100
Maintainers usually reply within 4 days