Skip to content

Commit 03461d0

Browse files
committed
Reformat code
1 parent f14b54a commit 03461d0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

backend/tests/Ragas/utils/modules/ragas_evaluation.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
from .ragas_utils import load_jsonl_data
1818

1919

20-
2120
# Find the project root (where .env is located)
2221
project_root = Path(__file__).resolve().parent.parent.parent.parent.parent.parent
2322
env_path = project_root / ".env"

backend/tests/Ragas/utils/ragas_evaluate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async def run_evaluation(input_path: str, output_path: str, llm: str) -> None:
3030
print(f"Appending results to CSV file... {output_path}")
3131

3232
file_exists = os.path.isfile(output_path)
33-
results_df.to_csv(output_path, mode='a', header=not file_exists, index=False)
33+
results_df.to_csv(output_path, mode="a", header=not file_exists, index=False)
3434

3535
print("Results appended to CSV file.")
3636

0 commit comments

Comments
 (0)