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

Function x_pos

experiments/human_eval/draw_llm_token_cost_bar.py:91–92  ·  view source on GitHub ↗
(million_tokens: float)

Source from the content-addressed store, hash-verified

89
90
91def x_pos(million_tokens: float) -> float:
92 return LEFT + (million_tokens / X_MAX) * (RIGHT - LEFT)
93
94
95def draw_png() -> Image.Image:

Callers 2

draw_pngFunction · 0.70
write_svgFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected