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

#4397 - Fix CSGD (CSG - PTDEP) [PT 24/25] #4399

Merged
merged 3 commits into from
Feb 26, 2025
Merged

Conversation

sh16011993
Copy link
Collaborator

@sh16011993 sh16011993 commented Feb 26, 2025

As a part of this PR, the following was fixed:

  • Updated the name of the calculation in the <=2 or 3+ paths from federalAwardCSGDAmount to federalAwardMaxCSGDAmount

Screenshot:

image


  • Updated the federalAwardNetCSGDAmount calculation to take the minimum value of remaining need, max calculated, and PY award limit less previously awarded value.

Screenshot:

image


  • Fixed the e2e tests

Screenshot:

image

@sh16011993 sh16011993 marked this pull request as draft February 26, 2025 19:21
@sh16011993 sh16011993 self-assigned this Feb 26, 2025
@sh16011993 sh16011993 added E2E/Unit tests Camunda Worflow Involves camunda workflow changes labels Feb 26, 2025
Copy link

Backend Unit Tests Coverage Report

Totals Coverage
Statements: 22.11% ( 3914 / 17704 )
Methods: 9.96% ( 226 / 2268 )
Lines: 25.46% ( 3380 / 13276 )
Branches: 14.26% ( 308 / 2160 )

Copy link

E2E Workflow Workers Coverage Report

Totals Coverage
Statements: 65.59% ( 589 / 898 )
Methods: 59.63% ( 65 / 109 )
Lines: 68.72% ( 468 / 681 )
Branches: 51.85% ( 56 / 108 )

Copy link

E2E Queue Consumers Coverage Report

Totals Coverage
Statements: 87.58% ( 1418 / 1619 )
Methods: 84.66% ( 160 / 189 )
Lines: 89.72% ( 1170 / 1304 )
Branches: 69.84% ( 88 / 126 )

Copy link

E2E SIMS API Coverage Report

Totals Coverage
Statements: 69.95% ( 6282 / 8981 )
Methods: 67.39% ( 773 / 1147 )
Lines: 73.7% ( 4907 / 6658 )
Branches: 51.19% ( 602 / 1176 )

@sh16011993 sh16011993 marked this pull request as ready for review February 26, 2025 20:01
@dheepak-aot dheepak-aot self-requested a review February 26, 2025 20:06
@@ -50,7 +50,7 @@ describe(`E2E Test Workflow parttime-assessment-${PROGRAM_YEAR}-awards-amount-CS
calculatedAssessment.variables.dmnPartTimeAwardFamilySizeVariables
.limitAwardCSGDIncomeCap,
);
expect(calculatedAssessment.variables.federalAwardCSGDAmount).toBe(1260);
expect(calculatedAssessment.variables.federalAwardNetCSGDAmount).toBe(1260);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Minor. federalAwardCSGDAmount is renamed to federalAwardMaxCSGDAmount. Hence an an assert to check

expect(calculatedAssessment.variables.federalAwardMaxCSGDAmount).toBe(1260);

Copy link
Collaborator

Choose a reason for hiding this comment

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

Please ignore this for hotfix PR. It can be accommodated in other PR to main.

@dheepak-aot
Copy link
Collaborator

As it is a hotfix, the changes are ignored for 2025-2026 PY and the PY before 2024-2025 ?

Other than the above just a minor comment.

Copy link
Collaborator

@dheepak-aot dheepak-aot left a comment

Choose a reason for hiding this comment

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

Looks good for the Hotfix. 👍

Please make a separate PR to merge into main copying the same change to all the PYs.

Copy link
Collaborator

@andrewsignori-aot andrewsignori-aot left a comment

Choose a reason for hiding this comment

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

Approving as it is since it is a last-minute fix for the 2.5 release but please ensure the other program years will be updated in the main as mentioned by @dheepak-aot

@sh16011993 sh16011993 merged commit 28992e0 into release/v2.5.0 Feb 26, 2025
21 checks passed
@sh16011993 sh16011993 deleted the 4397_fix_for_CSGD branch February 26, 2025 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Camunda Worflow Involves camunda workflow changes E2E/Unit tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants