π OpenHands: AI-Driven Development
chore: fix some comments (#2234)
finaltrip05b84df9cbb7
diff --git a/evaluation/EDA/run_infer.py b/evaluation/EDA/run_infer.pyindex bf8297df9c..1d168e8f72 100644--- a/evaluation/EDA/run_infer.py+++ b/evaluation/EDA/run_infer.py@@ -66,7 +66,7 @@ AGENT_CLS_TO_INST_SUFFIX = {def process_instance(instance, agent_class, metadata, reset_logger: bool = True):- # Setup the logger properly, so you can run multi-processing to parallize the evaluation+ # Setup the logger properly, so you can run multi-processing to parallelize the evaluationeval_output_dir = metadata['eval_output_dir']if reset_logger:# Set up loggerdiff --git a/evaluation/bird/run_infer.py b/evaluation/bird/run_infer.pyindex 92d0ca22b3..c96375c16f 100644--- a/evaluation/bird/run_infer.py+++ b/evaluation/bird/run_infer.py@@ -422,7 +422,7 @@ if __name__ == '__main__':'max_iterations': max_iterations,'eval_output_dir': eval_output_dir,'start_time': time.strftime('%Y-%m-%d %H:%M:%S'),- # get the commit id of current repo for reproduciblity+ # get the commit id of current repo for reproducibility'git_commit': subprocess.check_output(['git', 'rev-parse', 'HEAD']).decode('utf-8').strip(),diff --git a/evaluation/gaia/run_infer.py b/evaluation/gaia/run_infer.pyindex a6ea07208b..a1b9618265 100644--- a/evaluation/gaia/run_infer.py+++ b/evaluation/gaia/run_infer.py@@ -86,7 +86,7 @@ def process_instance(instance, agent_class, metadata, reset_logger: bool = True)pathlib.Path(workspace_mount_path).mkdir(parents=True, exist_ok=True)config.workspace_mount_path = workspace_mount_path- # Setup the logger properly, so you can run multi-processing to parallize the evaluation+ # Setup the logger properly, so you can run multi-processing to parallelize the evaluationeval_output_dir = metadata['eval_output_dir']if reset_logger:# Set up loggerdiff --git a/evaluation/humanevalfix/run_infer.py b/evaluation/humanevalfix/run_infer.pyindex d0fb0cfe0b..c351ecac27 100644--- a/evaluation/humanevalfix/run_infer.py+++ b/evaluation/humanevalfix/run_infer.py@@ -156,7 +156,7 @@ def process_instance(config.workspace_base = workspace_mount_pathconfig.workspace_mount_path = workspace_mount_path- # Setup the logger properly, so you can run multi-processing to parallize the evaluation+ # Setup the logger properly, so you can run multi-processing to parallelize the evaluationif reset_logger:# Set up loggerlog_file = os.path.join(diff --git a/evaluation/logic_reasoning/logic_inference.py b/evaluation/logic_reasoning/logic_inference.pyindex 16f85d73dc..fd8404da10 100644--- a/evaluation/logic_reasoning/logic_inference.py+++ b/evaluation/logic_reasoning/logic_inference.py@@ -209,7 +209,7 @@ class LogicInferenceEngine:if not program.flag:answer = self.random_backup()return answer, 'parsing error', ''- # execuate the program+ # execute the programanswer, error_message = program.execute_program()# not executableif answer is None:diff --git a/evaluation/logic_reasoning/run_infer.py b/evaluation/logic_reasoning/run_infer.pyindex 33b4bf91ce..c956bb2e55 100644--- a/evaluation/logic_reasoning/run_infer.py+++ b/evaluation/logic_reasoning/run_infer.py@@ -154,7 +154,7 @@ def process_instance(config.workspace_base = workspace_mount_pathconfig.workspace_mount_path = workspace_mount_path- # Setup the logger properly, so you can run multi-processing to parallize the evaluation+ # Setup the logger properly, so you can run multi-processing to parallelize the evaluationif reset_logger:# Set up loggerlog_file = os.path.join(diff --git a/evaluation/mint/run_infer.py b/evaluation/mint/run_infer.pyindex 6de8b52d2e..9fbeea1977 100644--- a/evaluation/mint/run_infer.py+++ b/evaluation/mint/run_infer.py@@ -92,7 +92,7 @@ def process_instance(workspace_mount_path = os.path.join(workspace_mount_path, str(os.getpid()))pathlib.Path(workspace_mount_path).mkdir(parents=True, exist_ok=True)- # Setup the logger properly, so you can run multi-processing to parallize the evaluation+ # Setup the logger properly, so you can run multi-processing to parallelize the evaluationif reset_logger:# Set up loggerlog_file = os.path.join(diff --git a/evaluation/swe_bench/run_infer.py b/evaluation/swe_bench/run_infer.pyindex 4fb9451c7f..14e93842e9 100644--- a/evaluation/swe_bench/run_infer.py+++ b/evaluation/swe_bench/run_infer.py@@ -205,7 +205,7 @@ def process_instance(workspace_mount_path = os.path.join(workspace_mount_path, str(os.getpid()))pathlib.Path(workspace_mount_path).mkdir(parents=True, exist_ok=True)- # Setup the logger properly, so you can run multi-processing to parallize the evaluation+ # Setup the logger properly, so you can run multi-processing to parallelize the evaluationif reset_logger:# Set up loggerlog_file = os.path.join(