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.
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 aperformanceLevelDescriptors.jsonl
file) butlightbeam validate
failed anyway. Turns out there was a bug in the recursive calls withinhas_invalid_descriptor_values()
ofvalidate.py
; this PR fixes it.