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

app incentive calculator differs slightly from cas calculator #2060

Open
dleard opened this issue Feb 11, 2022 · 0 comments
Open

app incentive calculator differs slightly from cas calculator #2060

dleard opened this issue Feb 11, 2022 · 0 comments
Labels
Bug Something isn't working

Comments

@dleard
Copy link
Contributor

dleard commented Feb 11, 2022

Describe the Bug:

The app's incentive calculator returns slightly different calculated incentive values than the internal cas calculator for multi-product facilities. This is because of a difference in where the rounding of the incentive ratio is done. The app calculates the individual incentive for each product reported by a facility and rounds each product's incentive ratio at that point to 4 decimal places. The internal cas calculator calculates the overall incentive ratio for the facility rounds the value to 4 decimal places at that point and applies that ratio to determine the calculated incentive. This means that sometimes the two calculators can be off by small decimal amounts & results in slightly different values.

Hanna has noted that this is a minor issue for now as far as cas is concerned.

Probability (1-5): 3

Effect (1-5): 2

@dleard dleard added the Bug Something isn't working label Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant