HF RL Explorer

Task: Bulk Indent a Python Code Block Using Emacs

Task: Bulk Indent a Python Code Block Using Emacs: a task in Terminal-Lego-15k (Harbor dataset). Write a script that uses Emacs in batch/non-interactive mode to indent (shift right by 4 spaces) a specific block of Python code, simulating the common workflow of wrapping existing code in a…

The task

Write a script that uses Emacs in batch/non-interactive mode to indent (shift right by 4 spaces) a specific block of Python code, simulating the common workflow of wrapping existing code in a try/except block.

Part of PrimeIntellect/Terminal-Lego-15k.