The recomputation worker estimates with the models in production and wakes on the marker directory; the scanned test form carries a birth date

This commit is contained in:
Roberto Treviño Cervantes
2026-11-15 05:37:50 -06:00
parent b8045e7481
commit 854a2e9c55
7 changed files with 266 additions and 23 deletions
+3 -1
View File
@@ -13,6 +13,7 @@ from datetime import date
from pathlib import Path
from webapi.orchestration.context import Context
from webapi.orchestration.estimators import live_estimators
from webapi.orchestration.runner import run
PROJECTS = ("cacu", "cama", "tea")
@@ -42,7 +43,8 @@ def main(argv: list[str] | None = None) -> None:
print(f"lote {args.lote_id}: {cambiadas} evaluaciones {'anuladas' if args.void else 'confirmadas'}")
return
logging.basicConfig(level=logging.INFO, format="%(message)s")
ctx = Context(args.project, args.year_from, args.year_to, args.cutoff, args.allow_undecided, args.parameters)
ctx = Context(args.project, args.year_from, args.year_to, args.cutoff, args.allow_undecided, args.parameters,
estimators=live_estimators(args.project))
for paso in run(ctx, only=args.only):
print(f"{paso.name:20} {paso.seconds:6.1f} s")