Adaptive routing initial version
Some checks failed
CI / test (3.10) (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled

This commit is contained in:
2026-05-18 11:38:12 +02:00
parent 14838ae968
commit a27945101c
7 changed files with 476 additions and 89 deletions

View File

@@ -0,0 +1,26 @@
"""
Tests for the public llm_connect package surface.
"""
import llm_connect
def test_wp_0004_primitives_are_exported_from_package_root():
expected_names = [
"AdaptiveRoutingPolicy",
"BaselineGrader",
"EmbeddingSimilarityJudge",
"ExactMatchJudge",
"GradingResult",
"Judge",
"LLMJudge",
"PairedGrader",
"QualityLedger",
"QualityObservation",
"ShadowingAdapter",
"is_stale",
]
for name in expected_names:
assert hasattr(llm_connect, name)
assert name in llm_connect.__all__