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

Function x_pos

experiments/human_eval/draw_model_eval_ggbench_minimal.py:87–88  ·  view source on GitHub ↗
(x: float)

Source from the content-addressed store, hash-verified

85
86
87def x_pos(x: float) -> float:
88 return PLOT_L + (x - X_MIN) / (X_MAX - X_MIN) * (PLOT_R - PLOT_L)
89
90
91def y_pos(y: float) -> float:

Callers 2

draw_pngFunction · 0.70
write_svgFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected