fix: read-only baseline queries skip _runs upsert (register_run flag)
This commit is contained in:
@@ -920,7 +920,9 @@ class Runner:
|
||||
self._gate_units_by_id: dict[str, QuestionUnit] = {
|
||||
u.unit_id: u for u in build_units(questions)
|
||||
}
|
||||
with HarnessLog(str(self._paths.db_path), pools.baseline_run_id) as log:
|
||||
with HarnessLog(
|
||||
str(self._paths.db_path), pools.baseline_run_id, register_run=False
|
||||
) as log:
|
||||
rows = log.query(
|
||||
"SELECT question_id, prediction, answer FROM predictions WHERE run_id=?",
|
||||
(pools.baseline_run_id,),
|
||||
|
||||
Reference in New Issue
Block a user