HF RL Explorer

Jupyter Notebook Exception Handler Magic Command

Jupyter Notebook Exception Handler Magic Command: a task in Terminal-Lego-15k (Harbor dataset). Create a custom Jupyter magic command that automatically handles exceptions in notebook cells. When an exception occurs during notebook execution, the magic command should capture the exception and…

The task

Create a custom Jupyter magic command that automatically handles exceptions in notebook cells. When an exception occurs during notebook execution, the magic command should capture the exception and execute a user-defined callback function (such as sending a notification email or logging the error).

Part of PrimeIntellect/Terminal-Lego-15k.