SIENTIAPDE-1579: Updated tests

This commit is contained in:
Kou Kinoshita
2026-02-18 15:05:37 -03:00
parent b6eb346a0b
commit c6d6f94e05
5 changed files with 179 additions and 33 deletions

View File

@@ -6,12 +6,13 @@ Steps performed (default):
2. Insert a new experiment_run record in Postgres and capture the generated ID.
3. Trigger the Temporal `train_model` workflow with the correct payload.
Local diagnosis (--local / --validate-only):
Alternatives for local diagnosis (--local / --validate-only):
- example: python scripts/run_training_test.py --scenario 01-linear-regression-basic --local --csv docs/test-model-data.csv
- --validate-only: Validates scenario parameters only (no MinIO, Postgres, Temporal).
- --local: Runs the same training pipeline locally (validate + load CSV + train +
after_train_calculation). Use to get full Python tracebacks for debugging.
Does not upload to MinIO, insert DB, or start Temporal. By default skips
MLflow save; use --local-save-mlflow to also test saving to MLflow.
Does not upload to MinIO, insert DB, or start Temporal.
By default skips MLflow save; use --local-save-mlflow to also test saving to MLflow.
Prerequisites (default flow):
- `mc` CLI configured with alias defined in MINIO_ALIAS.