MCPcopy Create free account
hub / github.com/RightNow-AI/autokernel / main

Function main

orchestrate.py:820–838  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

818
819
820def main() -> None:
821 parser = build_parser()
822 args = parser.parse_args()
823
824 state = get_or_create_state()
825
826 if args.command == "status":
827 cmd_status(state)
828 elif args.command == "next":
829 cmd_next(state)
830 elif args.command == "record":
831 cmd_record(state, args.kernel_file, args.throughput_tflops, args.status, args.description)
832 elif args.command == "report":
833 cmd_report(state)
834 elif args.command == "plan":
835 cmd_plan(state)
836 else:
837 parser.print_help()
838 sys.exit(1)
839
840
841if __name__ == "__main__":

Callers 1

orchestrate.pyFile · 0.70

Calls 7

build_parserFunction · 0.85
get_or_create_stateFunction · 0.85
cmd_statusFunction · 0.85
cmd_nextFunction · 0.85
cmd_recordFunction · 0.85
cmd_reportFunction · 0.85
cmd_planFunction · 0.85

Tested by

no test coverage detected