Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DataArcTech/ToG
/ if_all_zero
Function
if_all_zero
ToG/utils.py:88–89 ·
view source on GitHub ↗
(topn_scores)
Source
from the content-addressed store, hash-verified
86
87
88
def
if_all_zero(topn_scores):
89
return
all(score == 0
for
score in topn_scores)
90
91
92
def
clean_relations_bm25_sent(topn_relations, topn_scores, entity_id, head_relations):
Callers
1
clean_relations_bm25_sent
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected