(v)
| 407 | |
| 408 | |
| 409 | def 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 | |
| 418 | def generate_report(results: list[dict], naive_sizes: dict[str, int]) -> str: |