-
Notifications
You must be signed in to change notification settings - Fork 0
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
268 bug the title 2 total values and hence the overall total values returned by the all programs endpoint needs to be corrected #269
268 bug the title 2 total values and hence the overall total values returned by the all programs endpoint needs to be corrected #269
Conversation
…P sub program. This changes the Title-2 total benefit amount value and the overall total benefit amount value.
Previously, each state had an entry "18-22 All Programs Total" that is no longer there, it only exists in the "total" entry, is that expected? |
Good catch. It was unintentional. I only wanted to change the final total calculation to the end. I have added it back. |
I'm changing this to a draft PR. I will make it ready for review very soon. I think the updated SQL query needs a fix. Sorry for the inconvenience. |
The latest version from this PR (#269) is deployed to the development instance. I have verified that the sum of individual title amounts and sum of individual year amounts matches the overall total. Please review this soon, and we can proceed with the release soon after. Thanks.
|
Looks good to me and matches what I see locally. Good work! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes look good to me!
Thanks for the reviews. I will merge this PR now. |
* Release 0.19.0 * 268 bug the title 2 total values and hence the overall total values returned by the all programs endpoint needs to be corrected (#269) * When calculating total benefit payment, in CRP, include only Total CRP sub program. This changes the Title-2 total benefit amount value and the overall total benefit amount value. * Update CHANGELOG. * Update README with detail on total payment amount calculation. * Add total for year range to state JSON object. * Use start and end years to calculate key and minor changes to comments. * Fix SQL query for total payment calculation by including Title-1 sub programs. * Simplify the SQL queries. --------- Co-authored-by: YONG WOOK KIM <ywkim312@users.noreply.github.com>
* 268 bug the title 2 total values and hence the overall total values returned by the all programs endpoint needs to be corrected (#269) * When calculating total benefit payment, in CRP, include only Total CRP sub program. This changes the Title-2 total benefit amount value and the overall total benefit amount value. * Update CHANGELOG. * Update README with detail on total payment amount calculation. * Add total for year range to state JSON object. * Use start and end years to calculate key and minor changes to comments. * Fix SQL query for total payment calculation by including Title-1 sub programs. * Simplify the SQL queries. * Prep for release 0.20.0 (#282) * Update CHANGELOG. * Update version numbers. --------- Co-authored-by: YONG WOOK KIM <ywkim312@users.noreply.github.com>
No description provided.