MCPcopy Create free account
hub / github.com/idank/explainshell / _audit_snippet

Function _audit_snippet

tests/evals/render/render_eval.py:1133–1134  ·  view source on GitHub ↗
(line: str, start: int, end: int, pad: int = 12)

Source from the content-addressed store, hash-verified

1131
1132
1133def _audit_snippet(line: str, start: int, end: int, pad: int = 12) -> str:
1134 return line[max(0, start - pad) : min(len(line), end + pad)]
1135
1136
1137def _audit_scan_quad_star(markdown: str, html: str) -> list[tuple[int, str]]:

Callers 2

_audit_scan_quad_starFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected