Files
tea/verification/__main__.py
T
AlbertoPMDM 0ee5263419 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.
2026-11-19 02:10:15 -06:00

26 lines
864 B
Python

"""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)."""
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", "mlflow"):
print(__doc__, file=sys.stderr)
return 2
if argv[0] == "hk1k":
from verification import hk1k as check
elif argv[0] == "issste":
from verification import issste as check
else:
from verification import mlflow_check as check
return check.main(argv[1:])
if __name__ == "__main__":
sys.exit(main())