MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / pct

Function pct

scripts/memwaste-report.py:164–165  ·  view source on GitHub ↗
(part: float, whole: float)

Source from the content-addressed store, hash-verified

162
163
164def pct(part: float, whole: float) -> float:
165 return 100.0 * part / whole if whole else 0.0
166
167
168def summarise(p: dict, names: dict[str, str]) -> dict:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected