Answer stability round 1: 0 🔴, 2 🟡 (0 misread); score the person's issue in the contract test, and hold scores, moves and exempt apart from blockers

This commit is contained in:
2026-11-18 18:32:38 +01:00
parent f0d99c8141
commit e8255be534
6 changed files with 25 additions and 19 deletions
+1 -1
View File
@@ -490,7 +490,7 @@ def issue_of(raw: object) -> Issue | Failure:
def blocked_by_links(fields: dict[str, typing.Any]) -> tuple[Link, ...]:
"""The "is blocked by" links among an issue's `issuelinks` field; a KeyError, TypeError or AttributeError where it isn't in the shape Jira documents."""
"""The "is blocked by" links among an issue's `issuelinks` field. A field not in the shape Jira documents raises a KeyError or TypeError, which the caller turns into a Failure."""
return tuple(Link(link["inwardIssue"]["key"], link["id"]) for link in fields["issuelinks"] if "inwardIssue" in link and link["type"]["inward"] == "is blocked by")