File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ def evaluate(flags):
144
144
if "solution" in sample
145
145
else problems [task_id ]["prompt" ] + sample ["completion" ]
146
146
)
147
- if "sanitized-calibrate " in flags .samples :
147
+ if "sanitized-calibrated " in flags .samples :
148
148
solution = problems [task_id ]["prompt_wo_doc" ] + "\n pass\n " + solution
149
149
remainings .add (sample ["_identifier" ])
150
150
args = (
Original file line number Diff line number Diff line change @@ -195,12 +195,12 @@ def script(
195
195
if not inplace :
196
196
if is_folder :
197
197
if calibrate :
198
- new_name = target_path .name + "-sanitized-calibrate "
198
+ new_name = target_path .name + "-sanitized-calibrated "
199
199
else :
200
200
new_name = target_path .name + "-sanitized"
201
201
else :
202
202
if calibrate :
203
- new_name = target_path .name .replace (".jsonl" , "-sanitized-calibrate .jsonl" )
203
+ new_name = target_path .name .replace (".jsonl" , "-sanitized-calibrated .jsonl" )
204
204
else :
205
205
new_name = target_path .name .replace (".jsonl" , "-sanitized.jsonl" )
206
206
target_path = target_path .parent / new_name
You can’t perform that action at this time.
0 commit comments