knowledge: rename ExtractSignature.stop -> stop_table (his review)
The field's purpose was unclear from its name; stop_table says what it stops. Renamed across the signature, its desc/docstring, the caller (raw.stop_table), the wiki.py legacy note, and the test fakes.
This commit is contained in:
@@ -191,7 +191,7 @@ def part_of(frag: dict) -> str:
|
||||
|
||||
def parse_stop_table(out_text: str) -> bool:
|
||||
"""LEGACY textual STOP_TABLE detector — kept only for tests. Production
|
||||
code reads the typed `stop: bool` field of ExtractSignature."""
|
||||
code reads the typed `stop_table: bool` field of ExtractSignature."""
|
||||
return "STOP_TABLE" in (out_text or "").upper()[:80]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user