Answer prose round 1: 0 🔴, 13 🟡 (0 misread); make each docstring say what its function now does, and sort the README's text_files bullet

This commit is contained in:
2026-11-13 03:17:15 +01:00
parent 4b3ac621b8
commit ee241646e7
13 changed files with 17 additions and 19 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ class Route:
escalated_at: int = 0
def __post_init__(self) -> None:
# Raises on a programming error only, so nothing catches it: a caller builds a route only from levels it checked with fits, or took from an item todo_table.items read, which holds none off its scale.
# Raises on a programming error only, so nothing catches it: a caller builds a route from levels it checked with fits, or from an item todo_table.items read, whose levels are all on their scales.
if not levels_fit(self.item, self.likelihood, self.escape_and_impact, self.escape_and_impact_taken_in):
raise ValueError(f"a route by item {self.item} cannot hold an L of {self.likelihood}, an E + I of {self.escape_and_impact} and an E + I taken in of {self.escape_and_impact_taken_in}")