Skip to content

Commit

Permalink
🐛 Fix Evaluation report loading (#205)
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Montleon <jmontleo@redhat.com>
  • Loading branch information
jmontleon committed Jun 21, 2024
1 parent 0028406 commit 377cd56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kai/evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def load_single_benchmark_example(full_example_path: str) -> BenchmarkExample:
incidents.append(Incident.model_validate(yaml_incident))

elif file_name == "report":
report = Report(full_file_path)
report = Report.load_report_from_file(full_file_path)

elif file_name == "application":
with open(full_file_path, "r") as f:
Expand Down

0 comments on commit 377cd56

Please sign in to comment.