Skip to content
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

fixes a bug with validating local descriptor values within nested payloads #29

Merged
merged 1 commit into from
May 14, 2024

Conversation

tomreitz
Copy link
Collaborator

@tomreitz tomreitz commented May 6, 2024

I found a bug when trying to validate an assessment record where the assessment.performanceLevels[x].performanceLevelDescriptor referred to a value that definitely existed locally (in a performanceLevelDescriptors.jsonl file) but lightbeam validate failed anyway. Turns out there was a bug in the recursive calls within has_invalid_descriptor_values() of validate.py; this PR fixes it.

@tomreitz tomreitz requested a review from jalvord1 May 6, 2024 17:48
@tomreitz tomreitz merged commit 9cc3f92 into main May 14, 2024
@tomreitz tomreitz deleted the bugfix/validating_nested_local_descriptors branch May 14, 2024 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants