Answer prose round 3: 0 🔴, 1 🟡; the help's count of 10 names the chunks it counts, and the rewrapped paragraphs
This commit is contained in:
@@ -26,8 +26,8 @@ A chunk is marked `by rebase` where a commit in it has a committer time apart fr
|
|||||||
since a rebase replays a pull request's commits at once, and `never replayed` where none does, since
|
since a rebase replays a pull request's commits at once, and `never replayed` where none does, since
|
||||||
a pushed or fast-forwarded commit may be part of a pull request. A merge's titles are its branch's
|
a pushed or fast-forwarded commit may be part of a pull request. A merge's titles are its branch's
|
||||||
commits'; any other chunk's are its own. Two pull requests merged in the same second read as one
|
commits'; any other chunk's are its own. Two pull requests merged in the same second read as one
|
||||||
chunk. Rebase drops a round's commit that changed no file, so a rebase or push chunk gives its rounds and
|
chunk. Rebase drops a round's commit that changed no file, so a rebase or push chunk gives its
|
||||||
findings as lower bounds, `at least`, and the report ends saying all this.
|
rounds and findings as lower bounds, `at least`, and the report ends saying all this.
|
||||||
|
|
||||||
Given L, E and I, on the levels ~/.claude/rules/todo-items.md defines, and S, it works out R from
|
Given L, E and I, on the levels ~/.claude/rules/todo-items.md defines, and S, it works out R from
|
||||||
L, E and I, as rank_todo.py does, and lists the 5 finished items whose guesses sit closest, closest
|
L, E and I, as rank_todo.py does, and lists the 5 finished items whose guesses sit closest, closest
|
||||||
@@ -40,12 +40,13 @@ E and I, read from the checkout's working tree, each line as above, or that no c
|
|||||||
file that cannot be read, a row that does not hold a level on its scale and a list of IDs, or a
|
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.
|
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
|
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
|
findings, S against lines changed. And how well L, E and I each order chunks by review rounds past
|
||||||
past each pass's first and by 🔴 findings: Spearman's rank correlation, from -1 to +1, where +1
|
each pass's first and by 🔴 findings: Spearman's rank correlation, from -1 to +1, where +1 orders
|
||||||
orders them exactly; none where every chunk held the same level, or the same outcome. It counts only chunks that
|
them exactly; none where every chunk held the same level, or the same outcome. It counts only chunks
|
||||||
shipped one item, since a chunk measures all its items at once. It leaves out the chunks never replayed, which may
|
that shipped one item, since a chunk measures all its items at once. It leaves out the chunks never
|
||||||
hold only part of a pull request. It reports a score only once 10 such chunks hold it and its outcomes.
|
replayed, which may hold only part of a pull request. It reports a score only once 10 of the chunks
|
||||||
|
it counts hold it and its outcomes.
|
||||||
|
|
||||||
Exit 1, saying why, on bad arguments, when git cannot start, finds no checkout or reads a shallow
|
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; or, after the rest of the report, when the anchors are
|
clone, or the default branch cannot be read; or, after the rest of the report, when the anchors are
|
||||||
@@ -71,7 +72,7 @@ UNMERGED = [
|
|||||||
"",
|
"",
|
||||||
"- Each is the run of commits on the default branch that share one commit time, since a rebase merge replays a pull request's commits at once. Its guesses come from the todo.md before its first commit.",
|
"- Each is the run of commits on the default branch that share one commit time, since a rebase merge replays a pull request's commits at once. Its guesses come from the todo.md before its first commit.",
|
||||||
"- Two pull requests merged in the same second read as one chunk, so a pull request that shipped nothing adds its lines, files and rounds to the chunk it shares a time with.",
|
"- Two pull requests merged in the same second read as one chunk, so a pull request that shipped nothing adds its lines, files and rounds to the chunk it shares a time with.",
|
||||||
"- A run whose commits all kept their author time was never replayed: pushed or fast-forwarded as committed. It may hold only part of its pull request, so the medians and the rank correlations leave it out.",
|
"- A run whose commits all kept their author time was never replayed: it was pushed or fast-forwarded as committed. It may hold only part of its pull request, so the medians and the rank correlations leave it out.",
|
||||||
"- Rebase drops a round's commit that changed no file, so their rounds and findings are at least what history shows, and the medians count the rebased ones as shown.",
|
"- Rebase drops a round's commit that changed no file, so their rounds and findings are at least what history shows, and the medians count the rebased ones as shown.",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -306,7 +306,7 @@ class ScoreOutcomesTool(unittest.TestCase):
|
|||||||
_, item_4, _, _, _ = self.run_on_rebased_history()
|
_, item_4, _, _, _ = self.run_on_rebased_history()
|
||||||
self.assertTrue(item_4.startswith("- Item 4, R 1, S 3, C 10: "), item_4)
|
self.assertTrue(item_4.startswith("- Item 4, R 1, S 3, C 10: "), item_4)
|
||||||
|
|
||||||
def test_leaves_the_reading_cost_record_out_of_a_rebase_chunk_lines(self):
|
def test_leaves_the_reading_cost_record_out_of_a_rebase_chunks_lines(self):
|
||||||
_, item_4, _, _, _ = self.run_on_rebased_history()
|
_, item_4, _, _, _ = self.run_on_rebased_history()
|
||||||
self.assertIn(": 3 lines in 1 file, ", item_4)
|
self.assertIn(": 3 lines in 1 file, ", item_4)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user