MCPcopy Create free account
hub / github.com/OpenBMB/ToolBench / edge_count

Method edge_count

toolbench/tooleval/evaluation/dataclass.py:175–179  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

173 return len(self.nodes.keys())
174 @property
175 def edge_count(self):
176 count = 0
177 for k,d in self.edges.items():
178 count += len(d.keys())
179 return count
180
181 def set_init_node(self,node:Union[GID,ExecutionNode]):
182 if isinstance(node,ExecutionNode):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected