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

Function test_light_tools_predicts_mid

tests/test_signal_metadata.py:61–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59
60
61def test_light_tools_predicts_mid():
62 msgs = [
63 {"role": "user", "content": "Read the file"},
64 {"role": "assistant", "content": "ok", "tool_calls": [{"id": "t1"}]},
65 {"role": "tool", "content": "content", "tool_call_id": "t1"},
66 ]
67 sig = MetadataSignal()
68 vote = sig.predict(_make_row(messages=msgs))
69 assert 1 <= vote.tier_id <= 2
70
71
72def test_no_benchmark_field_works():

Callers

nothing calls this directly

Calls 3

predictMethod · 0.95
MetadataSignalClass · 0.90
_make_rowFunction · 0.85

Tested by

no test coverage detected