Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anthropics/defending-code-reference-harness
/ _tail
Function
_tail
harness/patch_grade.py:313–315 ·
view source on GitHub ↗
(s: str, n: int = 40)
Source
from the content-addressed store, hash-verified
311
312
313
def
_tail(s: str, n: int = 40) -> str:
314
lines = s.splitlines()
315
return
"\n"
.join(lines[-n:]) + (
"\n"
if
lines
else
""
)
Callers
1
grade_patch
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected