Skip to content

Commit

Permalink
eval
Browse files Browse the repository at this point in the history
  • Loading branch information
smith-nathanh committed Nov 30, 2024
1 parent fce56c9 commit 9a030d6
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions system/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,7 @@
# execute the generated unit tests on the reference repository
# compute the coverage of the generated unit tests has on the reference repository


# for each directory in "system/output/v2"
# cd into the directory
# create a new conda environment (or virtualenv if easier?) from the requirements.txt
# execute the repository's example code in each `examples` directory

# import os

# for directory in os.listdir("system/output/v2"):
# if os.path.isdir(directory):
# os.chdir(directory)
# os.system("conda create --name test_env --file requirements.txt")
# os.system("conda activate test_env")
# os.system("python examples/demo.py")
# os.system("pytest tests/unit/test_module.py")
# os.system("pytest tests/acceptance/test_features.py")
# os.system("coverage run -m pytest tests/unit/test_module.py")
# os.system("coverage report")
# os.system("conda deactivate")
# os.chdir("..")
# --------------------------------------------------------------------------------------------

# for each of the directories in "system/output/v3"
# cd into the directory
Expand Down

0 comments on commit 9a030d6

Please sign in to comment.