You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The validation on the CALENDAR_QUARTER field (present in Section 3 and 4 files for TANF, SSP, and Tribal TANF schemas) needs an update to better handle out of range year and quarter values.
if this field is not valid, OFA cannot infer the reporting period that the record covers. this record cannot be used for analysis.
for dateYearIsLargerThan, TDP currently accepts data for FY2021 and forward, so valid year values >= 2020 (because FY2021 Q1 == Oct - Dec, 2020)
for the quarterIsValid, Valid quarter values are 1, 2, 3, or 4.
If the quarter is a space, currently no error is raised in the logs or the feedback report.
if the quarter = 0 or > 4, currently this message is returned in the logs Invalid quarter value. and the processing status stays in the "pending" state and a feedback report is not generated.
record with out-of-range value (cat 2 error) for CALENDAR_QUARTER field is not stored in db.
validator for CALENDAR_QUARTER field is updated to properly evaluate if the value is valid.
feedback report generated and captures the issues with the CALENDAR_QUARTER field if a cat 2 error exists.
Testing Checklist has been run and all tests pass
README is updated, if necessary
Tasks:
Task 1
Task 2
Task 3
Run Testing Checklist and confirm all tests pass
Notes:
this is relevant to Section 3 and 4 files for TANF, SSP, and Tribal TANF.
Note 2
Note 3
Supporting Documentation:
Doc 1
Doc 2
Open Questions:
Open Question 1
Open Question 2
The text was updated successfully, but these errors were encountered:
ADPennington
changed the title
[wip] update validation logic for the CALENDAR_QUARTER fields
[wip] update validation logic for the CALENDAR_QUARTER field
Jan 9, 2024
ADPennington
changed the title
[wip] update validation logic for the CALENDAR_QUARTER field
Update validation logic for the CALENDAR_QUARTER field
Jan 17, 2024
Description
The validation on the
CALENDAR_QUARTER
field (present in Section 3 and 4 files for TANF, SSP, and Tribal TANF schemas) needs an update to better handle out of range year and quarter values.if this field is not valid, OFA cannot infer the reporting period that the record covers. this record cannot be used for analysis.
for
dateYearIsLargerThan
, TDP currently accepts data for FY2021 and forward, so valid year values >= 2020 (because FY2021 Q1 == Oct - Dec, 2020)for the
quarterIsValid
, Valid quarter values are 1, 2, 3, or 4.If the quarter is a space, currently no error is raised in the logs or the feedback report.
if the quarter = 0 or > 4, currently this message is returned in the logs
Invalid quarter value.
and the processing status stays in the "pending" state and a feedback report is not generated.Originally posted by @ADPennington in #2762 (comment)
Acceptance Criteria:
CALENDAR_QUARTER
field is not stored in db.CALENDAR_QUARTER
field is updated to properly evaluate if the value is valid.CALENDAR_QUARTER
field if a cat 2 error exists.Tasks:
Notes:
Supporting Documentation:
Open Questions:
The text was updated successfully, but these errors were encountered: