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

Function fmt

experiments/human_eval/draw_interest_drift_heatmap.py:107–110  ·  view source on GitHub ↗
(value: float)

Source from the content-addressed store, hash-verified

105
106
107def fmt(value: float) -> str:
108 if value >= 10:
109 return f"{value:.2f}"
110 return f"{value:.4f}"
111
112
113def is_best(values: list[float], row_idx: int, direction: str) -> bool:

Callers 2

draw_pngFunction · 0.70
write_svgFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected