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

Function test_no_eval_without_labels

tests/test_shadow.py:103–108  ·  view source on GitHub ↗

Window with no labeled data should not crash or promote.

()

Source from the content-addressed store, hash-verified

101
102
103def test_no_eval_without_labels():
104 """Window with no labeled data should not crash or promote."""
105 tracker = ShadowTracker(eval_window=5, promote_after=1)
106 for _ in range(10):
107 _record(tracker, a_pred=0, b_pred=1, c_pred=0, ens_tier=0, gold=None)
108 assert not tracker.promoted
109
110
111def test_simulate_3sig_tier():

Callers

nothing calls this directly

Calls 2

ShadowTrackerClass · 0.90
_recordFunction · 0.85

Tested by

no test coverage detected