atlasbot: require numeric metric facts

This commit is contained in:
Brad Stein 2026-02-04 14:54:04 -03:00
parent f7123a08b8
commit c09cfc09b5

View File

@ -2349,7 +2349,7 @@ def _reply_matches_metric_facts(reply: str, metric_facts: list[str], tokens: lis
for match in value_pattern.findall(line): for match in value_pattern.findall(line):
fact_numbers.add(match) fact_numbers.add(match)
if not fact_numbers: if not fact_numbers:
return True return False
return bool(reply_numbers & fact_numbers) return bool(reply_numbers & fact_numbers)