trustgraph/tests/unit/test_concurrency
cybermaggedon db7fdbc652
feat: direction-aware reranker text in GraphRAG hop-and-filter (#1016)
The reranker document text now reflects the traversal direction,
showing only the new information relative to the frontier entity:
- From S (subject is frontier): text = "{predicate} {object}"
- From O (object is frontier): text = "{subject} {predicate}"
- From P (predicate is frontier): text = "{subject} {object}"

This eliminates duplicate reranker texts when traversing inward
from shared object nodes (e.g. 18 CPUs all producing identical
"hasSubcategory Processors" text when the subject was dropped).

execute_batch_triple_queries now returns (triple, direction)
tuples so hop_and_filter can select the appropriate text format.

Updates tech spec to document the direction-aware approach.
Adds unit tests for direction tracking and reranker text
construction.
2026-07-02 21:14:47 +01:00
..
__init__.py Updated test suite for explainability & provenance (#696) 2026-03-13 14:27:42 +00:00
test_consumer_concurrency.py fix: suppress Pulsar C++ client log noise (#936) 2026-05-18 22:08:52 +01:00
test_dispatcher_semaphore.py Update rev-gateway for IAM integration (#940) 2026-05-19 21:45:43 +01:00
test_graph_rag_concurrency.py feat: direction-aware reranker text in GraphRAG hop-and-filter (#1016) 2026-07-02 21:14:47 +01:00