-
Notifications
You must be signed in to change notification settings - Fork 8
Sonali/mfb 771 validations fix tx tx aca failures #1431
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
Open
SonaliBedge
wants to merge
7
commits into
main
Choose a base branch
from
sonali/mfb-771-validations-fix-tx-tx_aca-failures
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+191
−0
Open
Changes from 2 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
dbb2649
Made small changes to test.
SonaliBedge cf9f7de
MFB-771: Add tx_aca_ptc import validations and correct initial expect…
SonaliBedge ac54e04
Fixed invalid UUID with correct UUID format.
SonaliBedge 7adf925
MFB-771: Fix program name from aca_ptc to tx_aca in TX ACA PTC valida…
SonaliBedge 0707413
Fixed failing validation by fixing result value.
SonaliBedge 24bbde5
Made small change.
SonaliBedge a1b5f53
Deleted update validation file and added ineligible test scenario to …
SonaliBedge File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
127 changes: 127 additions & 0 deletions
127
validations/management/commands/import_validations/data/tx_aca_ptc.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,127 @@ | ||
| [ | ||
| { | ||
| "notes": "TX ACA PTC - Eligible single adult with no insurance and income within 100-400% FPL", | ||
| "household": { | ||
| "white_label": "tx", | ||
| "is_test": true, | ||
| "agree_to_tos": true, | ||
| "is_13_or_older": true, | ||
| "zipcode": "75001", | ||
| "county": "Dallas", | ||
| "household_size": 1, | ||
| "household_assets": 0.0, | ||
| "household_members": [ | ||
| { | ||
| "relationship": "headOfHousehold", | ||
| "age": 36, | ||
| "has_income": true, | ||
| "income_streams": [ | ||
| { | ||
| "type": "wages", | ||
| "amount": 3037.50, | ||
| "frequency": "monthly" | ||
| } | ||
| ], | ||
| "insurance": { "none": true } | ||
| } | ||
| ], | ||
| "expenses": [] | ||
| }, | ||
| "expected_results": { | ||
| "program_name": "tx_aca_ptc", | ||
| "eligible": true, | ||
| "value": 1512 | ||
| } | ||
| }, | ||
| { | ||
| "notes": "TX ACA PTC - Eligible household of 3, head on Medicaid, uninsured children, income ~200% FPL", | ||
| "household": { | ||
| "white_label": "tx", | ||
| "is_test": true, | ||
| "agree_to_tos": true, | ||
| "is_13_or_older": true, | ||
| "zipcode": "75001", | ||
| "county": "Dallas", | ||
| "household_size": 3, | ||
| "household_assets": 0.0, | ||
| "household_members": [ | ||
| { | ||
| "relationship": "headOfHousehold", | ||
| "age": 36, | ||
| "has_income": true, | ||
| "income_streams": [ | ||
| { | ||
| "type": "wages", | ||
| "amount": 4166.66, | ||
| "frequency": "monthly" | ||
| } | ||
| ], | ||
| "insurance": { | ||
| "none": false, | ||
| "medicaid": true | ||
| } | ||
| }, | ||
| { | ||
| "relationship": "child", | ||
| "age": 6, | ||
| "student": false, | ||
| "has_income": false, | ||
| "income_streams": [], | ||
| "insurance": { | ||
| "none": true | ||
| } | ||
| } | ||
| { | ||
| "relationship": "child", | ||
| "age": 2, | ||
| "student": false, | ||
| "has_income": false, | ||
| "income_streams": [], | ||
| "insurance": { | ||
| "none": true | ||
| } | ||
| } | ||
| ], | ||
| "expenses": [] | ||
| }, | ||
| "expected_results": { | ||
| "program_name": "tx_aca_ptc", | ||
| "eligible": true, | ||
| "value": 5001 | ||
| } | ||
| }, | ||
| { | ||
| "notes": "TX ACA PTC - Eligible single adult with no insurance, income ~133% FPL", | ||
| "household": { | ||
| "white_label": "tx", | ||
| "is_test": true, | ||
| "agree_to_tos": true, | ||
| "is_13_or_older": true, | ||
| "zipcode": "75001", | ||
| "county": "Dallas", | ||
| "household_size": 1, | ||
| "household_assets": 0.0, | ||
| "household_members": [ | ||
| { | ||
| "relationship": "headOfHousehold", | ||
| "age": 36, | ||
| "has_income": true, | ||
| "income_streams": [ | ||
| { | ||
| "type": "wages", | ||
| "amount": 1666.66, | ||
| "frequency": "monthly" | ||
| } | ||
| ], | ||
| "insurance": { "none": true } | ||
| } | ||
| ], | ||
| "expenses": [] | ||
| }, | ||
| "expected_results": { | ||
| "program_name": "tx_aca_ptc", | ||
| "eligible": true, | ||
| "value": 7567 | ||
| } | ||
| } | ||
| ] | ||
26 changes: 26 additions & 0 deletions
26
validations/management/commands/update_validations/data/260325_MFB771_tx_aca_ptc_fix.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| { | ||
| "description": "Fix incorrect expected values for TX ACA PTC validation", | ||
| "updates": [ | ||
| { | ||
| "screen_uuid": "d68512f3-694c-4f5b-9adb-cde787959033", | ||
| "program_name": "aca_ptc", | ||
| "eligible": true, | ||
| "value": 5153, | ||
| "reason": "MFB-771: Initial expected value for aca_ptc was incorrect at the time the validation was created." | ||
| }, | ||
| { | ||
| "screen_uuid": "b88a5e3b-bf5c-49f8-9fa3-1c817a2e442b", | ||
| "program_name": "aca_ptc", | ||
| "eligible": true, | ||
| "value": 5001, | ||
| "reason": "MFB-771: Initial expected value for aca_ptc was incorrect at the time the validation was created." | ||
| }, | ||
| { | ||
| "screen_uuid": "a408c084-942b-4f86-8e68-99ed2472f0c73", | ||
coderabbitai[bot] marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| "program_name": "aca_ptc", | ||
| "eligible": true, | ||
| "value": 7567, | ||
| "reason": "MFB-771: Initial expected value for aca_ptc was incorrect at the time the validation was created." | ||
| } | ||
| ] | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.