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

Function y_pos

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

Source from the content-addressed store, hash-verified

89
90
91def y_pos(y: float) -> float:
92 return PLOT_B - (y - Y_MIN) / (Y_MAX - Y_MIN) * (PLOT_B - PLOT_T)
93
94
95def pearson(xs: list[float], ys: list[float]) -> float:

Callers 2

draw_pngFunction · 0.70
write_svgFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected