fix: predictions row carries arm run_id under shared gate_log; drain evolve gather on failure (algo #6)
This commit is contained in:
@@ -409,7 +409,11 @@ async def _run_single_question(
|
||||
返回:
|
||||
预测结果字典(含 video_id, question_id, prediction, answer 等)。
|
||||
"""
|
||||
# run_id 必须显式入 record:HarnessLog.insert 缺省用**实例** run_id 填充,
|
||||
# 连续并发 gate 共享单一 gate_log(实例 run_id 为 step 级)时,各臂行必须
|
||||
# 落自己的臂 run_id,否则 validate 回读 _load_run_rows(臂 run_id) 为空。
|
||||
record: dict[str, Any] = {
|
||||
"run_id": run_id,
|
||||
"video_id": qa.video_id,
|
||||
"question_id": qa.question_id,
|
||||
"task_type": qa.task_type,
|
||||
|
||||
Reference in New Issue
Block a user