Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
164
def
pct(part: float, whole: float) -> float:
165
return
100.0 * part / whole
if
whole
else
0.0
166
167
168
def
summarise(p: dict, names: dict[str, str]) -> dict:
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected