MCPcopy Create free account
hub / github.com/THUDM/AgentBench / count_function

Function count_function

src/server/tasks/knowledgegraph/utils/logic_form_util.py:324–325  ·  view source on GitHub ↗
(G, start)

Source from the content-addressed store, hash-verified

322
323
324def count_function(G, start):
325 return '(COUNT ' + none_function(G, start) + ')'
326
327
328def none_function(G, start, arg_node=None, type_constraint=True): # type_constraint is false for WebQSP

Callers 1

Calls 1

none_functionFunction · 0.85

Tested by

no test coverage detected