Answer principles round 1: 0 🔴, 1 🟡; give the true reason score-outcomes keeps its name, name archived_kind and three locals by what they hold

This commit is contained in:
2026-10-23 11:09:51 +02:00
parent 504aa31bdb
commit 21d507f0c5
6 changed files with 22 additions and 22 deletions
+2 -2
View File
@@ -125,8 +125,8 @@ def add(tokens: dict[str, collections.Counter[str]], project: str, kind: str, ru
tokens["subagent type"][kind] += spent
tokens["rung"][rung] += spent
# Split whole, the first tools taking the remainder, so the tool table adds up to the others.
for place, tool in enumerate(tools):
tokens["tool"][tool] += spent // len(tools) + (place < spent % len(tools))
for position, tool in enumerate(tools):
tokens["tool"][tool] += spent // len(tools) + (position < spent % len(tools))
def rung_at(cycles: list[tuple[str, str]], timestamp: str) -> Rung | str: