Answer stability round 1: ship item 83 out of the plan, test both scores-file refusals, mark a pass past the cap and only a pass, say how to retry a refused scores file, and sort the allowlist and mypy's modules
This commit is contained in:
@@ -30,7 +30,8 @@ def record_ruling(votes_file: pathlib.Path, scores_file: pathlib.Path | None = N
|
||||
scoring = None
|
||||
notes = []
|
||||
if not fell and scores_file:
|
||||
return Failure("a worse ruling takes no scores file" if ruled == "worse" else f"no dimension fell in this {ruled} ruling, so it takes no scores file")
|
||||
why = "a worse ruling takes no scores file" if ruled == "worse" else f"no dimension fell in this {ruled} ruling, so it takes no scores file"
|
||||
return Failure(f"{why}; run record-ruling again with the votes file alone")
|
||||
if fell and not scores_file:
|
||||
print(f"Fell: {', '.join(fell)}, in a {ruled} ruling. Launch the four scoring seats on {heading_read.label} at {heading_read.commit}, write their lines to a scores file, and run this again with both files.")
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user