Files
graphify/graphify
ayushcodes10 f7092b45d5 Extend the provenance tiebreak to source_location too
source_location is richness ignored the same way source_file already
is, so two candidates that both carry a source_file could still be
ordered by field count alone, letting a record with no real location
out score one that also knows exactly where in the file it lives. The
codebase genuinely emits source_location as None on some records, so
this is a real distinction, not a hypothetical one. The tiebreak now
checks source_location as a second provenance step, after source_file
and before richness, and only changes the outcome when the two sides
disagree on having one.

Fixes review finding on PR 3786.

(cherry picked from commit 1d33a488e0)
2026-09-25 16:01:47 +01:00
..
2026-09-21 19:19:26 +01:00
2026-09-21 19:19:26 +01:00