Skip to content

feat: update AICCostChart and utils for consistent decimal formatting; add PremiumCostChart component#199

Merged
Rob Bos (rajbos) merged 2 commits into
mainfrom
updates
Jun 24, 2026
Merged

feat: update AICCostChart and utils for consistent decimal formatting; add PremiumCostChart component#199
Rob Bos (rajbos) merged 2 commits into
mainfrom
updates

Conversation

@rajbos

@rajbos Rob Bos (rajbos) commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator
  • Adjusted tickFormatter in AICCostChart to display two decimal places.
  • Updated formatting in AICCostChart for gross amount to show two decimal places.
  • Modified formatRequestCount utility to enforce two decimal places for all numeric values.
  • Enhanced CSV parsing to support new fields and updated validation logic.
  • Added PremiumCostChart component to visualize premium cost data with grouping options.
  • Added �icQuantity and
    etAmount aggregation to ModelUsageSummary.
  • For new-format data: replaced Compliant/Exceeding columns with AIC Qty and Net Cost in the per-model table.
  • For old-format data: Compliant/Exceeding columns remain unchanged.
  • Removed unused Plan Type selector from the per-model table.
  • Implemented tests for new CSV format and high-precision value handling.

…; add PremiumCostChart component

- Adjusted tickFormatter in AICCostChart to display two decimal places.
- Updated formatting in AICCostChart for gross amount to show two decimal places.
- Modified formatRequestCount utility to enforce two decimal places for all numeric values.
- Enhanced CSV parsing to support new fields and updated validation logic.
- Added PremiumCostChart component to visualize premium cost data with grouping options.
- Implemented tests for new CSV format and high-precision value handling.
@github-actions

Copy link
Copy Markdown
Contributor

Tagging Rob Bos (@rajbos) for notifications

@rajbos Rob Bos (rajbos) marked this pull request as ready for review June 24, 2026 14:28
@rajbos Rob Bos (rajbos) merged commit 920d086 into main Jun 24, 2026
8 of 10 checks passed
@rajbos Rob Bos (rajbos) deleted the updates branch June 24, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant