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

Function _record

tests/test_shadow.py:6–15  ·  view source on GitHub ↗

Helper to record with full signal data.

(tracker, a_pred, b_pred, c_pred, ens_tier, gold,
            a_conf=0.8, b_conf=0.7, c_conf=0.8)

Source from the content-addressed store, hash-verified

4
5
6def _record(tracker, a_pred, b_pred, c_pred, ens_tier, gold,
7 a_conf=0.8, b_conf=0.7, c_conf=0.8):
8 """Helper to record with full signal data."""
9 tracker.record(
10 signal_a_pred=a_pred, signal_a_conf=a_conf,
11 signal_b_pred=b_pred, signal_b_conf=b_conf,
12 signal_c_pred=c_pred, signal_c_conf=c_conf,
13 ensemble_2sig_tier=ens_tier,
14 gold_tier=gold,
15 )
16
17
18def test_not_promoted_initially():

Calls 1

recordMethod · 0.45

Tested by

no test coverage detected