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

Function x_pos

experiments/human_eval/draw_llm_token_cost_vertical_bar.py:106–108  ·  view source on GitHub ↗
(idx: int)

Source from the content-addressed store, hash-verified

104
105
106def x_pos(idx: int) -> float:
107 step = (PLOT_R - PLOT_L) / len(ROWS)
108 return PLOT_L + step * (idx + 0.5)
109
110
111def y_pos(million_tokens: float) -> float:

Callers 2

draw_pngFunction · 0.70
write_svgFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected