Answer principles round 1: 0 🔴, 5 🟡 (0 misread); make a move a union with ToStatus, take only parsed events in figures, catch OSError at each file operation, pass progress through the bench, type the sides, and split the README bullet
CI / tests (pull_request) Successful in 5m4s

This commit is contained in:
2026-11-23 01:37:39 +01:00
parent 9fe060575b
commit cfe537b3fd
11 changed files with 186 additions and 123 deletions
+2 -2
View File
@@ -7,9 +7,9 @@ import unittest
sys.path.insert(0, str(pathlib.Path(__file__).resolve().parents[1]))
from task_bench import figures as bench_figures
from claude_code.entries import entries_of
from failure import Failure
from task_bench.figures import Figures, Result, table
from claude_code.entries import json_objects
from claude_code.tokens import Tokens
INIT = {"type": "system", "subtype": "init", "cwd": "/work", "model": "claude-haiku-5-5", "claude_code_version": "2.1.330"}
@@ -26,7 +26,7 @@ def stream(*events: dict) -> bytes:
def figures(raw: bytes, bug_file: str) -> Figures | None | Failure:
return bench_figures.figures(raw, entries_of(raw), bug_file)
return bench_figures.figures(json_objects(raw), bug_file)
class FiguresTest(unittest.TestCase):