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

Function parse_args

main.py:18–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16
17
18def parse_args() -> argparse.Namespace:
19 parser = argparse.ArgumentParser(
20 description="Personalization Lab - Memory Evaluation System",
21 formatter_class=argparse.RawDescriptionHelpFormatter,
22 )
23
24 parser.add_argument("-m", "--method", type=str, help="Method config name")
25 parser.add_argument("-d", "--dataset", type=str, help="Dataset name")
26 parser.add_argument("-o", "--output-dir", type=str, default="./outputs", help="Output directory")
27 parser.add_argument("--dry-run", action="store_true", help="Dry run mode")
28 parser.add_argument("-q", "--quiet", action="store_true", help="Quiet mode")
29 parser.add_argument("--list-methods", action="store_true", help="List available methods")
30 parser.add_argument("--list-datasets", action="store_true", help="List available datasets")
31 parser.add_argument("--list-agents", action="store_true", help="List available agent types")
32 parser.add_argument("--resume", action="store_true", help="Resume from checkpoint")
33
34 return parser.parse_args()
35
36
37def list_methods(config_loader: ConfigLoader) -> None:

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected