MCPcopy Create free account
hub / github.com/AQ-MedAI/MedMemoryBench / print_summary

Function print_summary

methods/MIRIX/scripts/clean_cache.py:189–206  ·  view source on GitHub ↗

Print cleanup summary.

(results: List[Tuple[str, int]])

Source from the content-addressed store, hash-verified

187
188
189def print_summary(results: List[Tuple[str, int]]):
190 """Print cleanup summary."""
191 print()
192 print(f"{Colors.GREEN}={'=' * 40}{Colors.NC}")
193 print(f"{Colors.GREEN}✓ Python cache cleanup complete!{Colors.NC}")
194 print(f"{Colors.GREEN}={'=' * 40}{Colors.NC}")
195 print()
196
197 total_items = sum(count for _, count in results)
198 print(f"Total items removed: {Colors.BLUE}{total_items}{Colors.NC}")
199 print()
200 print("Cache types cleaned:")
201 for description, count in results:
202 if count > 0:
203 print(f" {Colors.GREEN}✓{Colors.NC} {description}: {count}")
204 else:
205 print(f" • {description}: 0")
206 print()
207
208
209def main():

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected