MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / test_medium_prompt

Function test_medium_prompt

tests/test_signal_structural.py:80–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78
79
80def test_medium_prompt():
81 sig = StructuralSignal()
82 row = {"messages": [{"role": "user", "content": "Write a Python function that reverses a string"}]}
83 vote = sig.predict(row)
84 assert 0 <= vote.tier_id <= 3
85 assert 0.0 <= vote.confidence <= 1.0
86
87
88def test_empty_messages_abstains():

Callers

nothing calls this directly

Calls 2

predictMethod · 0.95
StructuralSignalClass · 0.90

Tested by

no test coverage detected