Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenRaiser/PaperFlow
/ wrap_lines
Function
wrap_lines
experiments/human_eval/draw_error_analysis_figure.py:147–148 ·
view source on GitHub ↗
(text: str, chars: int)
Source
from the content-addressed store, hash-verified
145
146
147
def
wrap_lines(text: str, chars: int) -> list[str]:
148
return
textwrap.wrap(text, width=chars, break_long_words=False, break_on_hyphens=False)
149
150
151
def
draw_centered(
Callers
1
draw_wrapped_text
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected