department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
283 stars 204 forks source link

686c | Investigate discrepancies across null claims reports. #62270

Closed data-doge closed 1 year ago

data-doge commented 1 year ago

Issue Description

In https://github.com/department-of-veterans-affairs/va.gov-team/issues/59298, we asked Matt B. to run his SQL query on the following timeframe: July 3rd 12AM UTC to July 9th 11:59PM UTC. The resulting report contained 68 rows, each representing a potential null claim. Matt intended for this report to be overinclusive.

We queried DataDog for failed and successful claim submissions over the same time period, and exported a report for both cases. Had the number of failed claim submissions in our report been less than or equal to the number of potential null claims in Matt B.'s report, we may have been able to move on with RBPS reprocessing, using Matt B.'s reporting SQL, as a basis. But that was not the case.

Here's a summary of what we discovered:

1. There were 46 purported null claims in Matt B.'s report that we (using DataDog) determined were successfully submitted claims.

As stated previously, Matt B. intended for his report to be overinclusive. So this is not surprising. It does, however, underscore the need to figure out how to deal with false positives (purported, but not actual, null claims) during RBPS re-processing.

Another note: of these 46, 6 were listed as "reprocessing needed." This might just reflect the fact that not all successfully submitted claims to RBPS will be automatically processed by RBPS. Linda has raised this with us before. See RBPS Re-Processing Estimates, pg. 7, fn. 6.

2. There were 19 purported null claims in Matt B.'s report that we also determined were null claims.

This is good news. Notably, all 19 map to SubmitForm686cJob and DependentService failures, but not SubmitForm674Job failures. I recall Matt explaining that his report does not include Form 674 failures, so this tracks.

3. There were 3 purported null claims in Matt B.'s report that weren't captured in either of our reports.

Given these are the last 3 claims in Matt B.'s report (when ordered by timestamp), it's quite possible that Matt B.'s report was using PT time and not UTC time.

4. There were 74 failed claim submissions in our reports that were not found in Matt B.'s report.

We logged 101 failures, 82 of which were not found in Matt B.'s spreadsheet. 8 of these 82 were SubmitForm674Job failures, which as explained previously, we wouldn't expect to find in Matt B.'s spreadsheet. So, there are 74 failed claim submissions (stemming from SubmitForm686cJob and DependentService) in our report that we would expect to see in Matt B.'s report.

Here are some possible explanations for the 74:


My recommendation: With the above context in mind, the goal of this spike ticket should be to understand each and every discrepancy between Matt B.'s numbers and ours. Separate, follow-up tickets can be created to resolve any issues that become apparent. Some of those tickets will likely require improvements on our end. Other tickets will likely require improvements on Matt B.'s end.

Findings should be shared with Brandi Traylor, Daniel Bennett, Matt Briaotta, and Matt Self. The weekly Tuesday IPT is probably a good forum to share your findings.

Tasks

Definition of Ready

N/A. Ready to work on now.

Definition of Done


Tasks

Acceptance Criteria

data-doge commented 1 year ago

Hey @steele-lm! Here's that ticket I mentioned. @evansmith and @tfink419 have access to the reports referenced above.

steele-lm commented 1 year ago

Tyler waiting on DataDog access.

tblackwe commented 1 year ago

We believe that #56289 will resolve the majority of BGS Service 403 Errors

tblackwe commented 1 year ago

Similarly it is possible that #56289 will also resolve NoMethodError: undefined method [] for nil:NilClass errors

If not, can we update BGS code? if not, who does?

tblackwe commented 1 year ago

@data-doge we think several of the issues will be cleared up by @evansmith PR.

tblackwe commented 1 year ago

Created the following tickets to resolve discovered issues:

64137

64138

64141

64142