Skip to content

Commit 8df1f5b

Browse files
committed
Added clean-up
1 parent 160d3a2 commit 8df1f5b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/llm_change_agent/evaluations/evaluator.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,9 @@ def run_evaluate(model: str, provider: str):
240240
"""Evaluate the LLM Change Agent."""
241241
input_dir = Path(__file__).parent / "input"
242242
output_dir = Path(__file__).parent / "output"
243+
if (output_dir / "metrics.yaml").exists():
244+
# delete file
245+
os.remove(output_dir / "metrics.yaml")
243246

244247
logger.info("Downloading the ONTODIFF_DOCS into the input directory.")
245248

0 commit comments

Comments
 (0)