MCPcopy 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
147def 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
151def draw_centered(

Callers 1

draw_wrapped_textFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected