Skip to content

Commit 0f4cf18

Browse files
committed
fix e2b
1 parent 5beceb5 commit 0f4cf18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bigcodebench/evaluate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@ def evaluate(
190190
# run the evaluation
191191
print(f"Command run in sandbox {e2b_endpoint}")
192192
if not isinstance(pass_k, str):
193-
pass_k = ",".join(map(str, pass_k))
193+
pass_k = ",".join(pass_k)
194194
if not isinstance(selective_evaluate, str):
195-
selective_evaluate = ",".join(map(str, selective_evaluate))
195+
selective_evaluate = ",".join(selective_evaluate)
196196
sandbox.commands.run("bigcodebench.evaluate --execution 'local' "
197197
f"--split {split} --subset {subset} --samples {samples} "
198198
f"--pass_k {pass_k} --save_pass_rate {save_pass_rate} --calibrated {calibrated} "

0 commit comments

Comments
 (0)