From 051a9c7e7e1ce509be1306a6bda72910b1d586dd Mon Sep 17 00:00:00 2001 From: chenlong Date: Thu, 27 Jul 2023 18:29:18 +0800 Subject: [PATCH] fix bug --- src/execution.py | 2 +- src/generate_batch.sh | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 src/generate_batch.sh diff --git a/src/execution.py b/src/execution.py index 7dfc645..999bb23 100644 --- a/src/execution.py +++ b/src/execution.py @@ -74,7 +74,7 @@ def unsafe_execute(tmp_dir, language_type, timeout, sample, result, task_id): chdir = os.chdir # Disable functionalities that can make destructive changes to the test. - reliability_guard() + # reliability_guard() try: exec_globals = {} diff --git a/src/generate_batch.sh b/src/generate_batch.sh deleted file mode 100644 index acd8a02..0000000 --- a/src/generate_batch.sh +++ /dev/null @@ -1,4 +0,0 @@ -python generate_humaneval_x.py --model_name baichuan --language_type python -python generate_humaneval_x.py --model_name baichuan --language_type cpp -python generate_humaneval_x.py --model_name baichuan --language_type js -python generate_humaneval_x.py --model_name baichuan --language_type go \ No newline at end of file -- GitLab