fix: Incorrect percentage and average calculation for calculated values in graphs#3152
Conversation
|
🚀 Thanks for opening this pull request! |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
📝 WalkthroughWalkthroughThis change introduces per-group tracking structures for percent and average calculations in GraphDataUtils. It replaces previous heuristic-based aggregation with explicit logic that computes totals based on sums of numerators/denominators or field values. Calculation propagation is extended to handle enhanced items consistently across grouped and non-grouped scenarios. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
# [8.3.0-alpha.32](8.3.0-alpha.31...8.3.0-alpha.32) (2026-01-26) ### Bug Fixes * Incorrect percentage and average calculation for calculated values in graphs ([#3152](#3152)) ([14b4d48](14b4d48))
|
🎉 This change has been released in version 8.3.0-alpha.32 |
Pull Request
Issue
Incorrect percentage and average calculation for calculated values in graphs
Summary by CodeRabbit
Bug Fixes
Tests
✏️ Tip: You can customize this high-level summary in your review settings.