HF RL Explorer

Task: Load, Edit, Run, and Save Python Files in Jupyter Notebook Cells

Task: Load, Edit, Run, and Save Python Files in Jupyter Notebook Cells: a task in Terminal-Lego-15k (Harbor dataset). In this task, you will demonstrate how to programmatically load Python files ( .py ) into Jupyter notebook cells, edit them, execute them, and save the results back to files. You…

The task

In this task, you will demonstrate how to programmatically load Python files (`.py`) into Jupyter notebook cells, edit them, execute them, and save the results back to files. You need to create a Python script that simulates this workflow using the `nbformat` library to manipulate Jupyter notebooks programmatically.

Part of PrimeIntellect/Terminal-Lego-15k.