Single-file QC populated executor.context['user'] from current_user_email() in routes.py, but batch QC routed through BatchQCExecutor — which never accepted a user kwarg or set context['user'] on its per-file QCExecutor instances. Result: every LLM call from a batched HM QC run logged as anonymous in the Usage dashboard, only single-file and Video QC runs showed the user's email. BatchQCExecutor now takes user and stamps it onto each per-file executor's context just before execute(), matching the Video QC batch executor pattern. |
||
|---|---|---|
| .. | ||
| campaigns | ||
| hm_qc | ||
| printer_check | ||
| reporting | ||
| usage | ||
| video_master | ||
| video_qc | ||
| __init__.py | ||