feat(validation): validate ES uploads with bronze dataio converters and Pandera#273
Merged
Merged
Conversation
Load school-specific converters from bronze training_inputs/dataio.py under isolated module names, then validate via read_raw_es_* for parity with ES Databricks jobs. Soft-fallback when dataio is missing; fail closed on converter runtime errors. PDP and Legacy paths unchanged. Co-authored-by: Cursor <cursoragent@cursor.com>
Fetch training_inputs/config.toml alongside dataio and chain resolve_es_grade_map + apply_raw_course_grade_map before the school course converter, matching ES data-audit order. Missing config soft-falls back to platform grade_map defaults. Co-authored-by: Cursor <cursoragent@cursor.com>
nm3224
approved these changes
Jul 21, 2026
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.
Summary
edvise_id) uploads, fetch schooltraining_inputs/dataio.pyfrom the institution bronze volume and loadconverter_func_cohort/converter_func_courseunder isolated module names (no shareddataio/sys.pathmutation).read_raw_es_*+ ES Pandera schemas for parity with Databricks ES data-audit jobs; soft-fallback whendataiois missing; fail closed on converter runtime errors.Asana task
https://app.asana.com/1/6325821815997/project/1208486153653829/task/1216726403243098?focus=true
Test plan
pytest src/webapp/validation_es_test.py src/webapp/validation_test.py src/webapp/validation_pdp_read_path_test.py src/webapp/databricks_test.pydataio.pyconverter that renames/fixes columns passes Panderadataio.pystill validates viaread_raw_es_*without converterdataio.pycontents do not reuse each other’s convertersHardValidationError)Made with Cursor