MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / x_pos

Function x_pos

experiments/human_eval/draw_llm_token_cost_ref_bar.py:95–97  ·  view source on GitHub ↗
(idx: int)

Source from the content-addressed store, hash-verified

93
94
95def x_pos(idx: int) -> float:
96 step = (PLOT_R - PLOT_L) / len(ROWS)
97 return PLOT_L + step * (idx + 0.5)
98
99
100def y_pos(value: float) -> float:

Callers 2

draw_pngFunction · 0.70
write_svgFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected