[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-02-20 04:58:43 +00:00
parent ccdd5a1ca6
commit 60fb6cae11
11 changed files with 221 additions and 136 deletions

View file

@ -289,7 +289,9 @@ class GSM8kEnv(BaseEnv):
}
)
to_postprocess = await self.score(to_score)
accepted = 0 if to_postprocess is None else len(to_postprocess.get("tokens", []))
accepted = (
0 if to_postprocess is None else len(to_postprocess.get("tokens", []))
)
print(
f"[GSM8K_DEBUG] collect_done accepted={accepted} submitted={len(to_score)}",
flush=True,