Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Round all the things #1481

Closed
wants to merge 1 commit into from

Conversation

dhaselhan
Copy link
Collaborator

  • Convert all column in summary that store quantity or units to integer as they should never have decimals
  • Update summary calculation to round unit penalties

* Convert all column in summary that store quantity or units to integer as they should never have decimals
* Update summary calculation to round unit penalties
@dhaselhan dhaselhan requested a review from AlexZorkin December 17, 2024 22:22
Copy link

Frontend Test Results

  1 files  ±0  116 suites  ±0   37s ⏱️ -1s
390 tests ±0  370 ✅ ±0  20 💤 ±0  0 ❌ ±0 
392 runs  ±0  372 ✅ ±0  20 💤 ±0  0 ❌ ±0 

Results for commit 767678a. ± Comparison against base commit b3a70ae.

Copy link

Backend Test Results

498 tests  ±0   495 ✅ ±0   1m 50s ⏱️ -2s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     3 ❌ ±0 

For more details on these failures, see this check.

Results for commit 767678a. ± Comparison against base commit b3a70ae.

Copy link
Collaborator

@AlexZorkin AlexZorkin left a comment

Choose a reason for hiding this comment

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

We will have to review this with Al because there is some policy around when the rounding should occur. I believe they want to store the precision in floats in the db and round only at the last possible second...

@dhaselhan dhaselhan closed this Dec 18, 2024
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.

2 participants