MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / fmt

Function fmt

scripts/eval_v2.py:146–152  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

144
145
146def fmt(v) -> str:
147 try:
148 if math.isnan(v):
149 return " NaN"
150 except (TypeError, ValueError):
151 pass
152 return f"{v:>5.1f}"
153
154
155def main():

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected