Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Justice Counts] Update
_check_expected_columns
to expect system co…
…lumns for supervision subsystem metrics. (Recidiviz/recidiviz-data#29369) When supervision systems upload metrics with a system column, they see a misleading `Unexpected System Column` warnings for all of their subsystem metrics. <img width="946" alt="Screenshot 2024-04-23 at 6 03 40 PM" src="https://github.com/Recidiviz/recidiviz-data/assets/19961693/49dc1976-f707-42a0-a8e0-be7a23482541"> This PR makes sure that warnings about systems columns are only given for agencies that 1) report for supervision subsystems 2) the metric being ingested is a supervision / supervision subsystem metric. Below is a screen recording of me uploading a sheet from Carroll County Community Corrections, where Brandon noticed this behavior initially. https://github.com/Recidiviz/recidiviz-data/assets/19961693/b4e246bc-26c1-4504-bd29-c06f103de15d ## Related issues Closes Recidiviz/recidiviz-data#27683 ## Checklists ### Development **This box MUST be checked by the submitter prior to merging**: - [x] **Double- and triple-checked that there is no Personally Identifiable Information (PII) being mistakenly added in this pull request** These boxes should be checked by the submitter prior to merging: - [ ] Tests have been written to cover the code changed/added as part of this pull request ### Code review These boxes should be checked by reviewers prior to merging: - [ ] This pull request has a descriptive title and information useful to a reviewer - [ ] Potential security implications or infrastructural changes have been considered, if relevant GitOrigin-RevId: 6d0d613bead6d430fcc49f93cac26588a4f52f5e
- Loading branch information