MCPcopy Create free account
hub / github.com/CodeClash-ai/CodeClash / get_lines

Function get_lines

codeclash/analysis/code_evolve/main.py:89–90  ·  view source on GitHub ↗
(patch)

Source from the content-addressed store, hash-verified

87 """Jaccard similarity on line-level tokens."""
88
89 def get_lines(patch):
90 return {str(f).splitlines() for f in patch}
91
92 lines1 = get_lines(diff1)
93 lines2 = get_lines(diff2)

Callers 1

compute_code_sim_jaccardFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected