Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/THUDM/AgentBench
/ get_root
Function
get_root
src/server/tasks/knowledgegraph/utils/logic_form_util.py:510–514 ·
view source on GitHub ↗
(var: int)
Source
from the content-addressed store, hash-verified
508
count = False
509
510
def
get_root(var: int):
511
while
var in identical_variables_r:
512
var = identical_variables_r[var]
513
514
return
var
515
516
for
i, subp in enumerate(sub_programs):
517
i = str(i)
Callers
1
lisp_to_sparql
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected