Commit e9b8244
committed
docs(internal): correct the reference-graph ranking comment
_GRAPH_HIT_SCORE said fuzzy scores are capped at 100, so a confirmed reference
ranks at or above every fuzzy name match. The cap lives in _search_in_dict and
bounds the config-body score. The fuzzy name score comes from
_calculate_entity_score, which accumulates its bonuses with no ceiling, so a
name echoing the queried entity's words can pass 100 on its own and outrank a
graph hit's fixed 100.
The exact-mode half of the claim holds and stays. The comment now states what
fuzzy mode does, scoped to graph-ONLY hits (_merge_graph_hits leaves an
already-scored record's score alone) and to the case where visibility
enforcement does not scrub the record.
Also name the scene caller in _individual_fetch_budgeted's deprioritize
paragraph: it passes the set too, alongside automation and script.1 parent 9fdac79 commit e9b8244
2 files changed
Lines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
364 | 370 | | |
365 | 371 | | |
366 | 372 | | |
| |||
0 commit comments