From b5ddf93333c1bd1787b33389baf53b93e8407e7e Mon Sep 17 00:00:00 2001 From: Xingyao Wang Date: Wed, 9 Oct 2024 01:29:38 +0000 Subject: [PATCH] avoid overwrite existing eval note in loop --- evaluation/swe_bench/scripts/run_infer.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/evaluation/swe_bench/scripts/run_infer.sh b/evaluation/swe_bench/scripts/run_infer.sh index cbf22faca2..7c7bc94777 100755 --- a/evaluation/swe_bench/scripts/run_infer.sh +++ b/evaluation/swe_bench/scripts/run_infer.sh @@ -99,9 +99,9 @@ if [ -z "$N_RUNS" ]; then fi for i in $(seq 1 $N_RUNS); do - EVAL_NOTE="$EVAL_NOTE-run_$i" - echo "EVAL_NOTE: $EVAL_NOTE" - run_eval $EVAL_NOTE + current_eval_note="$EVAL_NOTE-run_$i" + echo "EVAL_NOTE: $current_eval_note" + run_eval $current_eval_note done checkout_original_branch