adds_network_call now reads only the new side of each hunk (context and
added lines): removing a fetch, a base URL constant or a config field no
longer makes a PR high. The Haut table only names an added call or a
change to what an existing call sends; the script was stricter.
Calibration replayed on #14-#161: same level for every PR.
Refs #143
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
review-levels.py --check now sorts each row of the Haut table by its
Condition column (always high when it starts with "toujours", conditional
otherwise) and compares each class with the script: a pattern that moves
from always to a condition on one side only fails the check.
adds_network_call reads each hunk with its context lines, on the new and
the old side: a fetch( split over two lines counts when either line is
changed, the neighbour being changed or context and not matching alone.
Calibration replayed on #14-#138: same level for every PR. Recorded in
REVIEW.md.
Fixes#143
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>