HF RL Explorer

Write a command-line tool /app/patch tool.py that applies a unified diff patch to a target file, handling…

Write a command-line tool /app/patch tool.py that applies a unified diff patch to a target file, handling…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Usage: python3 /app/patch tool.py <patchfile <targetfile

The task

**Usage:** ``` python3 /app/patch_tool.py <patchfile> <targetfile> ```

Part of ai-and/termgrade-environments.