trustgraph/tests/unit/test_provenance
cybermaggedon c387670944
Fix incorrect property names in explainability (#698)
Remove type suffixes from explainability dataclass fields + fix show_explain_trace

Rename dataclass fields to match KG property naming conventions:
- Analysis: thought_uri/observation_uri → thought/observation
- Synthesis/Conclusion/Reflection: document_uri → document

Fix show_explain_trace for current API:
- Resolve document content via librarian fetch instead of removed
  inline content fields (synthesis.content, conclusion.answer)
- Add Grounding display for DocRAG traces
- Update fetch_docrag_trace chain: Question → Grounding → Exploration →
Synthesis
- Pass api/explain_client to all print functions for content resolution

Update all CLI tools and tests for renamed fields.
2026-03-16 14:47:37 +00:00
..
__init__.py Updated test suite for explainability & provenance (#696) 2026-03-13 14:27:42 +00:00
test_agent_provenance.py Enhance retrieval pipelines: 4-stage GraphRAG, DocRAG grounding (#697) 2026-03-16 12:12:13 +00:00
test_explainability.py Fix incorrect property names in explainability (#698) 2026-03-16 14:47:37 +00:00
test_triples.py Enhance retrieval pipelines: 4-stage GraphRAG, DocRAG grounding (#697) 2026-03-16 12:12:13 +00:00
test_uris.py Updated test suite for explainability & provenance (#696) 2026-03-13 14:27:42 +00:00
test_vocabulary.py Updated test suite for explainability & provenance (#696) 2026-03-13 14:27:42 +00:00