-
Notifications
You must be signed in to change notification settings - Fork 4
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
2711-catch-rpt-month-year-mismatches #2789
2711-catch-rpt-month-year-mismatches #2789
Conversation
@ADPennington: I have the following two questions:
|
both, and together, i think. this ticket originated here.
i'm not sure if fiscal quarter can be validated by itself. generally speaking, fiscal year + fiscal quarter selections need to map to the calendar periods in the files. If they dont map correctly, the file should be rejected and not parsed. i think this looks a bit different by section:
|
@ADPennington After discussing with the team, we decided to compare the HEADER year and quarter with frontend date, and draft another ticket for further work to compare each field with frontend date. |
sounds good @raftmsohani; thank you. please note the header year/quarter represent a calendar period, and frontend year/qtr represents a fiscal period. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #2789 +/- ##
========================================
Coverage 93.64% 93.64%
========================================
Files 262 263 +1
Lines 6057 6060 +3
Branches 504 507 +3
========================================
+ Hits 5672 5675 +3
- Misses 288 290 +2
+ Partials 97 95 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
|
As a follow up, have created this issue: #2799 |
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.
LGTM
2c42c71
to
620bd22
Compare
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.
lgtm @raftmsohani 🚀
Verified the following:
- pre-parsing error is raised when header cal period does not map properly to frontend fiscal periods
e.g.Submitted reporting year:2022, quarter:Q4 doesn't match file reporting year:2022, quarter:Q2.
- this error is raised for all sections and all data types (TANF, SSP, Tribal TANF)
- file status is rejected.
#2799 to deal with the scenario when other records have a reporting period that is not expected.
Summary of Changes
Pull request closes #2711 _
Closes the gap between reporting month/year from frontend and month/year of the header in the reporting file.
How to Test
Start the app by:
Deliverables
More details on how deliverables herein are assessed included here.
Deliverable 1: Accepted Features
Checklist of ACs:
lfrohlich
and/oradpennington
confirmed that ACs are met.Deliverable 2: Tested Code
CodeCov Report
comment in PR)CodeCov Report
comment in PR)Deliverable 3: Properly Styled Code
Deliverable 4: Accessible
iamjolly
andttran-hub
using Accessibility Insights reveal any errors introduced in this PR?Deliverable 5: Deployed
Deliverable 6: Documented
Deliverable 7: Secure
Deliverable 8: User Research
Research product(s) clearly articulate(s):