diff --git a/agbenchmark/utils/utils.py b/agbenchmark/utils/utils.py index 88fdc889..7ddd3bd9 100644 --- a/agbenchmark/utils/utils.py +++ b/agbenchmark/utils/utils.py @@ -188,7 +188,7 @@ def assign_paths(folder_path: Path) -> tuple[str, str, str, str, str]: # if the user has a locally defined challenges path that they've added tests to CHALLENGES_PATH = str(folder_path / "challenges") if not os.path.exists(CHALLENGES_PATH): - Path(__file__).parent / "challenges" + CHALLENGES_PATH = str(Path(__file__).parent.parent / "challenges") if not os.path.exists(reports_location): os.makedirs(reports_location)