Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
91
def
x_pos(million_tokens: float) -> float:
92
return
LEFT + (million_tokens / X_MAX) * (RIGHT - LEFT)
93
94
95
def
draw_png() -> Image.Image:
Callers
2
draw_png
Function · 0.70
write_svg
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected