Orchestrata Ultimate › Tests › Reference › knowledge_graph › test_context_validator_loop

Tests reference — tests/knowledge_graph/test_context_validator_loop.py

Module of tests/knowledge_graph, split out because the directory page would be too large.

Prose pending.

tests/knowledge_graph/test_context_validator_loop.py

source · 2 tests · 185 lines

Tests for the validator feedback loop (Task 2.6).

Covers: knowledge_graph.context_injector, knowledge_graph.context_validator_loop

Kind Name Line Description
class TestValidatorLoop 46
method TestValidatorLoop.test_loop_retries_once_then_passes 47 A scripted LLM first omits a required citation, then includes it;
method TestValidatorLoop.test_loop_exhausts_max_retries 118 A scripted LLM never cites the required entity; the loop exhausts