Write-path prior-art precision: own threshold + payload floor #85

Merged
bvandeusen merged 2 commits from dev into main 2026-07-30 08:07:48 -04:00
Showing only changes of commit 05b64ccacb - Show all commits
+6
View File
@@ -120,6 +120,12 @@ def _location_clause(parts: dict[str, str]):
# the verdict's: jsonpath compares the two fields within the row, so this stays # the verdict's: jsonpath compares the two fields within the row, so this stays
# one index-served predicate rather than a post-filter that would make the # one index-served predicate rather than a post-filter that would make the
# pagination total a lie. # pagination total a lie.
#
# Same two-dialect discipline as the location filter above, and the same hazard:
# THE TWO MUST CHANGE TOGETHER. tests/test_snippet_drift_check.py is the guard —
# it walks both dialects over the same cases, including the one that motivated
# `attention` existing (an ok verdict whose code_sha has gone stale, which is
# neither `drifted` nor `unverified` yet plainly needs looking at).
def verification_matches(data: dict | None, value: str) -> bool: def verification_matches(data: dict | None, value: str) -> bool:
"""Python dialect of the verification predicate. """Python dialect of the verification predicate.