Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenRaiser/PaperFlow
/ y_pos
Function
y_pos
experiments/human_eval/draw_llm_token_cost_ref_bar.py:100–101 ·
view source on GitHub ↗
(value: float)
Source
from the content-addressed store, hash-verified
98
99
100
def
y_pos(value: float) -> float:
101
return
PLOT_B - (value / Y_MAX) * (PLOT_B - PLOT_T)
102
103
104
def
color_for(group: str, name: str) -> tuple[int, int, int]:
Callers
2
draw_png
Function · 0.70
write_svg
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected