HF RL Explorer

Management command subparsers don’t retain error formatting Description

Management command subparsers don’t retain error formatting Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). Django management commands use a subclass of argparse.ArgumentParser, CommandParser, that takes some extra arguments to improve error formatting. These arguments are not…

The task

Django management commands use a subclass of argparse.ArgumentParser, CommandParser, that takes some extra arguments to improve error formatting. These arguments are not copied into subparsers, created via CommandParser.add_subparsers().add_parser(). Missing arguments to subparsers thus end as stack traces on the…

Part of Lego-X/Lego-RL-SWE-Bench-Verified.