Skip to content

Commit

Permalink
Fix bug in how we collected runs
Browse files Browse the repository at this point in the history
  • Loading branch information
scosman committed Feb 26, 2025
1 parent a8bb4db commit f6dec21
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions libs/core/kiln_ai/adapters/eval/eval_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,11 @@ def collect_tasks_for_task_run_eval(self) -> List[EvalJob]:
already_run[eval_config.id] = {}
for run_config in self.run_configs or []:
already_run[eval_config.id][run_config.id] = set()
for run in eval_config.runs(readonly=True):
already_run[eval_config.id][run_config.id].add(run.dataset_id)
for run in eval_config.runs(readonly=True):
if run.task_run_config_id is not None:
already_run[eval_config.id][run.task_run_config_id].add(
run.dataset_id
)

return [
EvalJob(
Expand Down

0 comments on commit f6dec21

Please sign in to comment.