Repository navigation
Conversation
A prompt replaces the review baseline unless an edit tool recorded a path, so files changed in other ways since the last Stop review can be in no review. Count them on the next Stop row (changed_files). What is reviewed does not change.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Measure only. What is reviewed does not change.
A prompt replaces the baseline of the Stop review unless an edit tool recorded a path. Files changed in other ways since the last Stop review (commands Claude ran, the user, a pull) can then be in no Stop review. This counts how often.
What is sent
changed_fileson a Stop row, only when it is not 0:1000 * kind + files(reviewable files, at most 999). 10 is added to the kind when HEAD moved as well. -1 when git could not say.No path or name is sent or kept.
What it cannot say
Cost
Nothing on a prompt after a turn that a Stop ended. Otherwise one
git diff --name-onlybetween two commits, at most 1 s in all: 135 to 139 ms for the prompt hook in a small repository, 200 to 204 ms with 40,000 files (Linux, medians). No extra save of the session state.Tests
tests/test_dropped_changes_metric.pyThe sessions use a scripted model. No version bump.
Generated by Claude Code