MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / fmt_int

Function fmt_int

benchmarks/run_benchmarks.py:409–415  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

407
408
409def fmt_int(v) -> str:
410 if v is None:
411 return "N/A"
412 try:
413 return f"{int(v):,}"
414 except (TypeError, ValueError):
415 return str(v)
416
417
418def generate_report(results: list[dict], naive_sizes: dict[str, int]) -> str:

Callers 1

generate_reportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected