Refuse a register entry that is no regular file, and say data source in what task-bench prints

This commit is contained in:
2026-11-23 19:49:22 +01:00
parent c798278406
commit 44c0f13883
11 changed files with 94 additions and 63 deletions
+2 -2
View File
@@ -18,8 +18,8 @@ SIDES = re.compile(r"^Base ([0-9a-f]{7,40}), head ([0-9a-f]{7,40})\.", re.M)
# How the table's three rows over every task open, as task_bench.figures.table writes them: the base, the head and the head's change.
OVER_ALL = "| All |"
COMMIT_LENGTH = 8
# By how the table's header opens, as task_bench.figures.table writes it, what a bench's name says its tasks are. A bench of bugs
# has the bare name.
# What a bench's name says its tasks are, by how its table's header opens, as task_bench.figures.table writes it. A bench of
# bugs has the bare name.
TASKS_NAMED = {f"| {kind.noun.capitalize()} |": f" {tasks}" for tasks, kind in KINDS.items() if kind is not BUG}