MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / convert_numbers

Function convert_numbers

tools/project.py:1799–1802  ·  view source on GitHub ↗
(data: Dict[str, Any])

Source from the content-addressed store, hash-verified

1797
1798 # Convert string numbers (u64) to int
1799 def convert_numbers(data: Dict[str, Any]) -> None:
1800 for key, value in data.items():
1801 if isinstance(value, str) and value.isdigit():
1802 data[key] = int(value)
1803
1804 convert_numbers(report_data["measures"])
1805 for category in report_data.get("categories", []):

Callers 1

calculate_progressFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected