summaryrefslogtreecommitdiff
path: root/plugins/code-modernization/hooks
diff options
context:
space:
mode:
authorMorgan Lunt <morganl@anthropic.com>2026-09-24 20:34:21 -0700
committerMorgan Lunt <morganl@anthropic.com>2026-09-24 20:34:21 -0700
commit5b8ec4b30f45b5e8b4c8a6efd63719730cf1a5ad (patch)
tree5b9369e8b74682eb3bb54d39618d2bffbb7c6d9f /plugins/code-modernization/hooks
parent4672eac1e36ff37394189376217bdc6f2b2e2e4a (diff)
code-modernization: harden the numeric tolerance and say what Rehost and Replace mean
Follow-ups from review of the tolerance check: an absolute tolerance above 1e-6 is refused like a relative one above 1%, numbers are compared as exact decimals rather than doubles, dotted runs such as 1.2.3 or 10.0.0.1 are text that must match exactly, and the self-check now changes the leading digit of every sampled number to prove the tolerance cannot hide a real change. The business-rules header says how many rules there were at extraction, since later steps add rules. The assessment says what to do when it recommends Rehost or Replace, which change no code and so have no build command.
Diffstat (limited to 'plugins/code-modernization/hooks')
0 files changed, 0 insertions, 0 deletions