Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CommonstackAI/UncommonRoute
/ test_record_with_embedding
Function
test_record_with_embedding
tests/test_telemetry.py:83–90 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
81
82
83
def
test_record_with_embedding():
84
rec = telem.TelemetryRecord(
85
predicted_tier=1,
86
embedding=[0.1] * 384,
87
)
88
d = rec.to_dict()
89
assert
"embedding"
in d
90
assert len(d[
"embedding"
]) == 384
91
92
93
# ─── Embedding Noise ───
Callers
nothing calls this directly
Calls
1
to_dict
Method · 0.95
Tested by
no test coverage detected