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

Function x_pos

experiments/human_eval/draw_model_eval_ggbench_labeled.py:129–130  ·  view source on GitHub ↗
(value: float)

Source from the content-addressed store, hash-verified

127
128
129def x_pos(value: float) -> float:
130 return PLOT_L + (value - X_MIN) / (X_MAX - X_MIN) * (PLOT_R - PLOT_L)
131
132
133def y_pos(value: float) -> float:

Callers 3

draw_axesFunction · 0.70
draw_chartFunction · 0.70
write_svgFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected