Skip to content

Commit d70579b

Browse files
committed
x
Signed-off-by: SumanthRH <[email protected]>
1 parent 9ef2090 commit d70579b

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

skythought/evals/tasks/apps/apps_handler.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ def generate_prompt(self, problem):
3636
def check_correctness(self, problem, generation):
3737
TIMEOUT = 10
3838

39+
def _temp_run(problem, generation, debug, result):
40+
try:
41+
result.append(
42+
apps_run_test(problem=problem, test=generation, debug=debug)
43+
)
44+
except Exception:
45+
pass
46+
3947
manager = Manager()
4048
result = manager.list()
4149
p = multiprocessing.Process(
@@ -92,10 +100,3 @@ def load_and_filter_dataset(
92100
train_data = train_data.to_pandas()
93101

94102
return train_data.iloc[start:end] if end > 0 else train_data.iloc[start:]
95-
96-
97-
def _temp_run(problem, generation, debug, result):
98-
try:
99-
result.append(apps_run_test(problem=problem, test=generation, debug=debug))
100-
except Exception:
101-
pass

0 commit comments

Comments
 (0)