bytkim's picture
AgentGridWorld Hard: nine rule-pressure gridworld tasks, with a local player
4a372d3 verified
Raw History Blame Contribute Delete
623 Bytes
"""Small command router; each command owns one interface."""
import argparse
import runpy
import sys
COMMANDS = {'generate': 'pool', 'check': 'check', 'run': 'run',
'preview': 'preview', 'review': 'review', 'evaluate': 'evaluate', 'release': 'release'}
def main():
parser = argparse.ArgumentParser(description='Generate and qualify native Harbor gridworld tasks.')
parser.add_argument('command', choices=COMMANDS)
args, rest = parser.parse_known_args()
sys.argv = [sys.argv[0] + ' ' + args.command, *rest]
runpy.run_module('agentgridworld.' + COMMANDS[args.command], run_name='__main__')