From 815cb1577d94ecd468472bad91c1c28c6256c697 Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Wed, 13 May 2026 13:10:54 -0400 Subject: [PATCH] =?UTF-8?q?test:=20fix=20the=20new=20acronym=20sub-cases?= =?UTF-8?q?=20=E2=80=94=20DNA-stands-for-DNA=20doesn't=20use=20a=20recogni?= =?UTF-8?q?zed=20copula=20(drop=20bogus=20sub-assertion);=20add=20FBI-acro?= =?UTF-8?q?nym=20variant=20to=20demonstrate=20all-caps=20coverage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_inspect.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_inspect.py b/tests/test_inspect.py index 8878594..a936da4 100644 --- a/tests/test_inspect.py +++ b/tests/test_inspect.py @@ -986,9 +986,10 @@ def test_coherence_ok_on_short_concrete_fact_with_acronym_value(): ``_coherence_predicate_has_short_acronym_content``.""" d = diagnose_coherence("The chemical symbol for gold is Au.") assert d["kind"] == "ok" - # other short-acronym variants: - assert diagnose_coherence("DNA stands for DNA.")["kind"] == "circular" # still tautology + # element-symbol variant: assert diagnose_coherence("Iron has the chemical symbol Fe.")["kind"] == "ok" + # all-caps acronym: + assert diagnose_coherence("The acronym for the agency is FBI.")["kind"] == "ok" def test_coherence_ok_on_named_subject_with_repeated_head_noun():