Graph-Native Infrastructure for Context and Accountable AI Systems
Python agent-memoryaiai-governanceai-infrastructureartificial-intelligencecontext-engineeringcontext-graphsdata-engineeringdecision-intelligencedeveloper-toolsexplainable-aigenerative-aigraph-ragknowledge-graphllmontologyprovenancepythonreasoningsemantic-search
fix(tests): use exact-equality check to clear CodeQL substring-URL false positive (#1183)
Mohd Kaif483f53aaa636
diff --git a/tests/export/test_jsonld_default_graph.py b/tests/export/test_jsonld_default_graph.pyindex c66b9a1a..e9f8dc09 100644--- a/tests/export/test_jsonld_default_graph.py+++ b/tests/export/test_jsonld_default_graph.py@@ -160,7 +160,7 @@ def test_a_url_valued_context_is_not_thrown_away(tmp_path):context = json.loads(path.read_text())["@context"]flattened = context if isinstance(context, list) else [context]- assert "https://schema.org/" in flattened, (+ assert any(entry == "https://schema.org/" for entry in flattened), ("the caller's context was replaced by Semantica's defaults, ""which silently changes how every term expands")