completeness updates via claude#115
Closed
mshadbolt wants to merge 1 commit into
Closed
Conversation
Member
|
Was the general strategy to ask Claude to move the code / logic from the candig-analytics to this repo? |
Contributor
Author
|
No, I asked it to add the completeness checks but didn't give it the context of the other repo. All the logic that is required is already in clinical etl so it wouldn't have made sense to get it from the other repo. I think the way it did it was fairly logical and I think it will be easy to maintain since it works off the validation checks we already do in the mohv#schema files |
daisieh
approved these changes
Jun 19, 2026
daisieh
left a comment
Member
There was a problem hiding this comment.
I didn't look over the code extremely thoroughly, but if it works for you, it looks fine to me.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Enlisted claude to try to provide updated completeness statistics using the latest crtieria from MOHCCN.
Overall I believe it did a pretty good job and I don't think it affected any current functionality.
Summary statitistics are saved into the map.json file like this:
And a summary of incomplete donors is saved into
<foldername>_completeness_failures.jsonand provides a summary for each failed donor and why it failed like:I got it to add new test data to the test csvs to test the conditions and it updated existing tests where needed