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

Function x_pos

experiments/human_eval/draw_model_eval_numberline.py:95–96  ·  view source on GitHub ↗
(score: float)

Source from the content-addressed store, hash-verified

93
94
95def x_pos(score: float) -> float:
96 return AXIS_L + (score - X_MIN) / (X_MAX - X_MIN) * (AXIS_R - AXIS_L)
97
98
99def read_rows() -> list[dict[str, object]]:

Callers 2

draw_axisFunction · 0.70
draw_plotFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected