Skip to main content

Module fallback_check

Module fallback_check 

Source
Expand description

Flags added lines in a unified diff that match common fallback patterns.

Structs§

FallbackRecord
Finding

Functions§

added_fallbacks
Added lines of a unified diff (git diff output) that match a fallback pattern. A line that was moved or re-indented is a candidate too: the code around it may have changed, and the fresh review judges it with the rest.
annotate_fallbacks
Annotate each fallback candidate with its verdict and reason when judged by a succeeded review.
flag
One == checks flag for unjudged findings, or None when there are none.
flags_for_review
Flags for fallback candidates given an optional fresh model review result.