π OpenHands: AI-Driven Development
fix swebench repo/version being string (#4241)
Xingyao Wang01ae54a69d2d
diff --git a/evaluation/swe_bench/scripts/setup/instance_swe_entry.sh b/evaluation/swe_bench/scripts/setup/instance_swe_entry.shindex c446354aa4..8e9eb8799f 100755--- a/evaluation/swe_bench/scripts/setup/instance_swe_entry.sh+++ b/evaluation/swe_bench/scripts/setup/instance_swe_entry.sh@@ -23,7 +23,7 @@ if [[ -z "$item" ]]; thenexit 1fi-WORKSPACE_NAME=$(echo "$item" | jq -r '.repo + "__" + .version | gsub("/"; "__")')+WORKSPACE_NAME=$(echo "$item" | jq -r '(.repo | tostring) + "__" + (.version | tostring) | gsub("/"; "__")')echo "WORKSPACE_NAME: $WORKSPACE_NAME"