Skip to content

Commit 4fd7aad

Browse files
sjarmakclaude
andcommitted
fix: handle None judge_score in generate_manifest.py
judge_score key can exist with None value in task results. Changed `"judge_score" in info` to `info.get("judge_score") is not None` to prevent TypeError during MANIFEST aggregation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d08f984 commit 4fd7aad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/generate_manifest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ def main():
665665
if info["status"] != "errored":
666666
total_reward += info["reward"]
667667

668-
if "judge_score" in info:
668+
if info.get("judge_score") is not None:
669669
judge_score_sum += info["judge_score"]
670670
judge_count += 1
671671

0 commit comments

Comments
 (0)