Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TaskingAI/TaskingAI
/ check_order
Function
check_order
inference/test/utils/utils.py:332–333 ·
view source on GitHub ↗
(lst, key)
Source
from the content-addressed store, hash-verified
330
331
332
def
check_order(lst, key):
333
return
all(lst[i][key] >= lst[i + 1][key]
for
i in range(len(lst) - 1))
334
335
336
def
is_unit_vector(vector, tolerance=1e-3):
Callers
1
test_rerank
Method · 0.50
Calls
no outgoing calls
Tested by
1
test_rerank
Method · 0.40