Write-path prior-art precision: own threshold + payload floor #85
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user