Skip to content

Conversation

@jackattack-4
Copy link
Contributor

rounds literally all analysis outputs to two decimal places

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements decimal truncation/rounding for all analysis outputs to 2 decimal places. A new roundAllNumbers helper function is introduced that recursively processes numbers in objects and arrays, and it's applied to analysis results before they're returned or cached.

Key Changes

  • Added a roundAllNumbers utility function that recursively rounds all numeric values to 2 decimal places
  • Applied rounding to both cached and non-cached analysis result paths
  • Stored rounded values in the cache instead of original values

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jackattack-4 jackattack-4 merged commit 4697f45 into main Jan 9, 2026
3 checks passed
@jackattack-4 jackattack-4 deleted the jackshim415/lvt-75-truncate-decimals-in-analysis-output branch January 9, 2026 00:47
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.

3 participants