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_vertical_bar.py:106–108 ·
view source on GitHub ↗
(idx: int)
Source
from the content-addressed store, hash-verified
104
105
106
def
x_pos(idx: int) -> float:
107
step = (PLOT_R - PLOT_L) / len(ROWS)
108
return
PLOT_L + step * (idx + 0.5)
109
110
111
def
y_pos(million_tokens: float) -> float:
Callers
2
draw_png
Function · 0.70
write_svg
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected