MCPcopy Create free account
hub / github.com/FSoft-AI4Code/HyperAgent / checkcover

Method checkcover

src/hyperagent/tools/nav_tools.py:439–447  ·  view source on GitHub ↗
(target, line_ranges_lst)

Source from the content-addressed store, hash-verified

437 returned_source.append(expanded_source)
438 else:
439 def checkcover(target, line_ranges_lst):
440 for _range in line_ranges_lst:
441 if _range is None:
442 continue
443 if target is None:
444 continue
445 if _range[0] > target[0] and _range[1] < target[1]:
446 return True
447 return False
448 if checkcover(line_ranges[i], line_ranges[:i]):
449 continue
450 else:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected