Skip to content

Commit

Permalink
fix swebench repo/version being string (#4241)
Browse files Browse the repository at this point in the history
  • Loading branch information
xingyaoww authored Oct 7, 2024
1 parent 93f95d8 commit 01ae54a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evaluation/swe_bench/scripts/setup/instance_swe_entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if [[ -z "$item" ]]; then
exit 1
fi

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"

Expand Down

0 comments on commit 01ae54a

Please sign in to comment.