MCPcopy Create free account
hub / github.com/19PINE-AI/ikp / fmt_size

Function fmt_size

scripts/lambda_sensitivity.py:52–55  ·  view source on GitHub ↗
(b)

Source from the content-addressed store, hash-verified

50
51
52def fmt_size(b):
53 if b is None:
54 return "--"
55 return f"{b/1000:.1f}T" if b >= 1000 else f"{b:.0f}B"
56
57
58def main():

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected