Answer prose round 1: 0 🔴, 8 🟡; say every way the anchors are left out, name what a missing file shows, and untangle the scoring rule's lists
This commit is contained in:
@@ -31,8 +31,8 @@ measured, which items shipped with it, and its tagline.
|
||||
|
||||
Then the project's anchors, the shipped items its docs/score-anchors.md names for each level of L,
|
||||
E and I, read from the checkout's working tree, each line as above, or that no merge shipped it. A
|
||||
row that names no level on its scale, a level named twice, or an Items cell that is not a list of
|
||||
IDs leaves the anchors out, saying why, and exits 1 after the rest of the report.
|
||||
file that cannot be read, a row that does not hold a level on its scale and a list of IDs, or a
|
||||
level named twice leaves the anchors out, saying why.
|
||||
|
||||
Then the median of the outcome R and S each predict at each value they were guessed at: R against
|
||||
🔴 findings, S against lines changed. And how well L, E and I each order chunks by review rounds
|
||||
@@ -42,7 +42,8 @@ item, since a chunk measures all its items at once, and reports a score only onc
|
||||
hold it and its outcomes.
|
||||
|
||||
Exit 1, saying why, on bad arguments, when git cannot start, finds no checkout or reads a shallow
|
||||
clone, or the default branch cannot be read.
|
||||
clone, or the default branch cannot be read; or, after the rest of the report, when the anchors are
|
||||
left out.
|
||||
"""
|
||||
import pathlib
|
||||
import re
|
||||
@@ -79,7 +80,6 @@ def main(argv: list[str]) -> int:
|
||||
return failed(outcomes)
|
||||
anchored = read_anchors()
|
||||
print(report_text(outcomes, anchored, dict(zip(GIVEN, map(int, argv))) if argv else None))
|
||||
# Anchors the tool cannot read leave the rest of the report standing, and still fail the run.
|
||||
return failed(anchored) if isinstance(anchored, Failure) else 0
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user