verification mlflow: register plans and every biomarker, reload each in a fresh process

python -m verification mlflow [--uri] [--table]: both plans and the 9 biomarkers in
both implementations, registered as tea_modulo-test.*; falls back to a local store
(mlflow_local/, kept) when the server does not answer. The HK1K check registers
HK1K-trained baselines when TEA_MLFLOW_URI answers from the job.
This commit is contained in:
AlbertoPMDM
2026-11-19 02:10:15 -06:00
parent 0e942e04c1
commit 0ee5263419
6 changed files with 205 additions and 2 deletions
+5 -2
View File
@@ -1,4 +1,5 @@
"""python -m verification {hk1k|issste} --out processed/usuarios/<name>/tea-verify/
python -m verification mlflow [--uri http://10.0.10.41:5000] [--table features.csv]
Cluster checks of tea_modulo. They live outside the package (not in the wheel):
they are for testing only, and run from the tea-verify image (PYTHONPATH=/opt/tea-modulo)."""
@@ -8,13 +9,15 @@ import sys
def main(argv=None) -> int:
argv = list(sys.argv[1:] if argv is None else argv)
if not argv or argv[0] not in ("hk1k", "issste"):
if not argv or argv[0] not in ("hk1k", "issste", "mlflow"):
print(__doc__, file=sys.stderr)
return 2
if argv[0] == "hk1k":
from verification import hk1k as check
else:
elif argv[0] == "issste":
from verification import issste as check
else:
from verification import mlflow_check as check
return check.main(argv[1:])