Skip to content

Commit b04acf8

Browse files
committed
Rename evaluation scripts and output files for consistency and clarity across code and performance evaluation
1 parent 287fc78 commit b04acf8

3 files changed

Lines changed: 5 additions & 7 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import matplotlib.pyplot as plt
44
import pandas as pd
55

6-
from compare_code_metrics import _BACKSLASH_CHAR
6+
from evaluate_code import _BACKSLASH_CHAR
77
from run_experiments import ALL_MAX_NEW_TOKENS, BACKENDS
88

99
if __name__ == "__main__":

run_experiments.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ def _benchmark_ops(ops, *args, **kwargs):
118118
for command in radon_commands:
119119
subprocess.run(command, check=True)
120120

121-
with open("code_metrics.tex", "w") as f:
122-
subprocess.run(("python", "compare_code_metrics.py"), stdout=f, check=True)
121+
with open("code_evaluation.tex", "w") as f:
122+
subprocess.run(("python", "evaluate_code.py"), stdout=f, check=True)
123123

124124
dtype = torch.float16
125125
device = "cuda"
@@ -183,7 +183,5 @@ def _benchmark_ops(ops, *args, **kwargs):
183183
check=True,
184184
)
185185

186-
with open("performance_metrics.tex", "w") as f:
187-
subprocess.run(
188-
("python", "compare_performance_metrics.py"), stdout=f, check=True
189-
)
186+
with open("performance_evaluation.tex", "w") as f:
187+
subprocess.run(("python", "evaluate_performance.py"), stdout=f, check=True)

0 commit comments

Comments
 (0)