File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 11import logging
2+ import os
23from os import listdir
34from os .path import exists , join
45
5- import pandas as pd
66import torch
77import typer
88import yaml
@@ -78,11 +78,9 @@ def run_one_experiment(config: Config, config_path: str) -> None:
7878 RichUI .before_qa ()
7979 qa_path = dir_helper .save_paths .qa
8080 if not exists (qa_path ) or not listdir (qa_path ):
81- # TODO: Instantiate unit test classes
81+ # Instantiate unit test classes
8282 llm_tests = config .get ("qa" , {}).get ("llm_tests" , [])
8383 tests = QaTestRegistry .create_tests_from_list (llm_tests )
84- # TODO: Load results.csv
85- results_df = pd .read_csv (results_file_path )
8684 test_suite = LLMTestSuite .from_csv (results_file_path , tests )
8785 test_suite .save_test_results (os .path .join (qa_path , "unit_test_results.csv" ))
8886
You can’t perform that action at this time.
0 commit comments