HF RL Explorer

Task: Refactor Bare Exception Handlers to Use Specific Exception Types

Task: Refactor Bare Exception Handlers to Use Specific Exception Types: a task in Terminal-Lego-15k (Harbor dataset). In Python, using bare except: clauses (without specifying an exception type) is considered poor practice because it catches all exceptions, including system-exiting exceptions like…

The task

In Python, using bare `except:` clauses (without specifying an exception type) is considered poor practice because it catches all exceptions, including system-exiting exceptions like `KeyboardInterrupt` and `SystemExit`, which can make debugging difficult and hide real errors.

Part of PrimeIntellect/Terminal-Lego-15k.