Answer stability round 1: 0 🔴, 4 🟡 (0 misread); refuse an empty blocker or parent, scope the fake's blocker check to the epic, check the link's direction in the e2e, assert the next-step command only
CI / tests (pull_request) Failing after 4m38s

This commit is contained in:
Lilleman
2026-11-19 16:46:27 +01:00
parent 90352d74c4
commit b832c1e669
8 changed files with 64 additions and 7 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ def parsed(words: list[str]) -> Write | None:
return None
taken[option].append(rest[at + 1])
rest = rest[:at] + rest[at + 2:]
if len(rest) != 1 or len(taken[BLOCKED_BY]) > 1 or len(taken[PARENT]) > 1 or any(word.startswith("--") for word in (*rest, *sum(taken.values(), []))):
if len(rest) != 1 or len(taken[BLOCKED_BY]) > 1 or len(taken[PARENT]) > 1 or any(word.startswith("--") for word in (*rest, *sum(taken.values(), []))) or any(not word.strip() for option in (BLOCKED_BY, PARENT) for word in taken[option]):
return None
return Write(words[0], rest[0], tuple(taken[LABEL]), *(taken[option][0] if taken[option] else None for option in (BLOCKED_BY, PARENT)))