MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / compare

Function compare

scripts/test-impact/profile_map_v2.py:661–663  ·  view source on GitHub ↗
(left, right)

Source from the content-addressed store, hash-verified

659
660def _id_wire(row, out, gate):
661 def compare(left, right):
662 gate.step()
663 return (left > right) - (left < right)
664
665 ordered = _sort(row.ids, compare, gate)
666 for index, ident in enumerate(ordered):

Callers 2

_mergeFunction · 0.70
_sort_uniqueFunction · 0.70

Calls 1

stepMethod · 0.45

Tested by

no test coverage detected