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

Function test_empty_messages_abstains

tests/test_signal_structural.py:88–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86
87
88def test_empty_messages_abstains():
89 sig = StructuralSignal()
90 row = {"messages": []}
91 vote = sig.predict(row)
92 assert vote.abstained
93
94
95def test_uses_last_user_message():

Callers

nothing calls this directly

Calls 2

predictMethod · 0.95
StructuralSignalClass · 0.90

Tested by

no test coverage detected