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:
2026-10-22 16:26:03 +02:00
parent 12a1ffd77f
commit c257e9fe88
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -988,7 +988,7 @@ class KnowledgeExpert:
charge_llm()
heading = f"== Tables == (table {frag['table_idx']}, part {frag['part']}/{frag['of']})"
raw = self.extract(question=question, heading=heading, text=text)
if raw.stop:
if raw.stop_table:
stopped.add(frag["table_idx"])
self._log(f"extractor STOP_TABLE: table {frag['table_idx']} "
f"({frag['caption'][:40]!r}) not relevant — "