jjkim commited on
Commit
2388a05
1 Parent(s): 2128ba2

fix task_id type error

Browse files
Files changed (1) hide show
  1. code_eval.py +1 -1
code_eval.py CHANGED
@@ -248,7 +248,7 @@ def estimate_pass_at_k(num_samples, num_correct, k):
248
 
249
 
250
  class Result(BaseModel):
251
- task_id: int
252
  completion_id: int
253
 
254
  passed: Optional[bool] = None
 
248
 
249
 
250
  class Result(BaseModel):
251
+ task_id: str
252
  completion_id: int
253
 
254
  passed: Optional[bool] = None