MCPcopy 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
100def y_pos(value: float) -> float:
101 return PLOT_B - (value / Y_MAX) * (PLOT_B - PLOT_T)
102
103
104def color_for(group: str, name: str) -> tuple[int, int, int]:

Callers 2

draw_pngFunction · 0.70
write_svgFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected