trustgraph/tests
SAY-5 0ed5ec00b3 fix(ontology): guard against empty query string in SPARQL generator
Closes #870.  query.split()[0] in _generate_with_llm raised IndexError
when the LLM response 'query' field passed the keyword-startswith guard
but split to an empty list (e.g. if the guard is ever weakened during
refactoring).  Compute parts once, return None when empty, and reuse
parts[0] for the query_type read.

Signed-off-by: SAY-5 <saiasish.cnp@gmail.com>
2026-05-07 02:47:15 -07:00
..
contract release/v2.4 -> master (#844) 2026-04-22 15:19:57 +01:00
integration release/v2.4 -> master (#844) 2026-04-22 15:19:57 +01:00
unit fix(ontology): guard against empty query string in SPARQL generator 2026-05-07 02:47:15 -07:00
utils Add agent explainability instrumentation and unify envelope field naming (#795) 2026-04-13 16:16:42 +01:00
__init__.py Test suite executed from CI pipeline (#433) 2025-07-14 14:57:44 +01:00
conftest.py Feat: TrustGraph i18n & Documentation Translation Updates (#781) 2026-04-14 12:08:32 +01:00
pytest.ini Fix tests broken by the recent RabbitMQ/Cassandra async fixes (#815) 2026-04-16 10:00:18 +01:00
requirements.txt Test suite executed from CI pipeline (#433) 2025-07-14 14:57:44 +01:00