Value checks with pandera on cohort files, read and written, and on estimates, written and stored

This commit is contained in:
2026-11-06 00:44:58 -06:00
parent 71e77f0c7e
commit 5d65730b98
7 changed files with 127 additions and 17 deletions
+3 -1
View File
@@ -13,11 +13,13 @@ dependencies = [
"pandas>=2.0",
"pyarrow>=15",
"scikit-learn>=1.4",
# The values of the cohort and estimate files (`models.io.contracts`).
"pandera>=0.20",
]
[project.optional-dependencies]
# Only needed to read back a checkpoint's own metadata (opset, producer) in
# models.io.export.inspect_onnx_metadata — writing/logging a checkpoint never
# models.io.tracking.inspect_onnx_metadata — writing/logging a checkpoint never
# requires it, see that module's docstring.
export = [
"onnx>=1.15",