wording fixes

This commit is contained in:
Roberto Treviño Cervantes
2026-11-17 02:17:31 -06:00
parent 0a7234f5ef
commit 0571b5e6af
13 changed files with 973 additions and 7 deletions
+7 -2
View File
@@ -36,9 +36,14 @@ fi
# One-shot training of the CaCu model on the loaded data (compose profile
# `entrenar`): the trained version goes into production and the worker's next
# cycle estimates with it.
# cycle estimates with it. `--source dbt` (dbt's cohort, not the kit's numbered
# builds) is required: a PROD run needs its cohort build named (ML-03), and
# --export --source dbt is the only way to do that without knowing the build
# number ahead of time; it also makes the promotion gate's cohort-link check
# portable (tag-based, no live lookup of a local build row), unlike the kit's.
if [ "$1" = "entrenar" ]; then
exec uv run --no-sync python -m models run cacu cin2_logistic --export --train --promote
exec uv run --no-sync python -m models run cacu cin2_logistic --export --source dbt --manifest "$DBT_MANIFEST" \
--environment prod --train --promote
fi
# --no-sync: the environment was synced at build time; syncing at startup