MCPcopy Create free account
hub / github.com/apache/maka / compareOperators

Function compareOperators

packages/runtime/src/stream-graph-trace.ts:140–141  ·  view source on GitHub ↗
(a: string, b: string)

Source from the content-addressed store, hash-verified

138 validated.topologicalOrder.map((operatorId, index) => [operatorId, index]),
139 );
140 const compareOperators = (a: string, b: string): number =>
141 topologicalIndex.get(a)! - topologicalIndex.get(b)! || compareAgentGraphIdentity(a, b);
142
143 const replayOperators = new Map(Object.entries(replay.operators));
144 const operators = new Map<string, AgentGraphTraceOperatorState>();

Callers 1

Calls 2

getMethod · 0.65

Tested by

no test coverage detected