[verified] fix: preserve tracker precision eligibility
This commit is contained in:
@@ -14,9 +14,13 @@ def test_sdk_support_helpers_are_deterministic_without_network():
|
||||
"Non-socket coverage for SDK-facing gateway/tracker helper behavior.\n\nTags: gateway, http, sdk"
|
||||
|
||||
address = _payment_address_for_api_key("sdk-key")
|
||||
# Registration always resolves a precision, so a registry node carries one;
|
||||
# coverage counts only nodes that can actually serve the layers they claim.
|
||||
nodes = [
|
||||
_NodeEntry("a", "http://node-a", 0, 15, "stub-model", None, {}, None, 1.0),
|
||||
_NodeEntry("b", "http://node-b", 16, 31, "stub-model", None, {}, None, 1.0),
|
||||
_NodeEntry("a", "http://node-a", 0, 15, "stub-model", None, {}, None, 1.0,
|
||||
quantization="bfloat16"),
|
||||
_NodeEntry("b", "http://node-b", 16, 31, "stub-model", None, {}, None, 1.0,
|
||||
quantization="bfloat16"),
|
||||
]
|
||||
|
||||
assert 32 <= len(address) <= 44
|
||||
|
||||
Reference in New Issue
Block a user