File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
skythought/evals/tasks/apps Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments