HF RL Explorer

Create a command-line tool /root/extractor.py that safely extracts a tar archive to a specified output…

Create a command-line tool /root/extractor.py that safely extracts a tar archive to a specified output…: a task in termgrade-bandcentral-gemma4-31b-bash: TermGrade Band-Central: the 151-task selection and its splits (Harbor dataset). Goal : Given a path to a tar file and a destination directory…

The task

**Goal**: Given a path to a tar file and a destination directory, extract the contents safely without path-traversal vulnerabilities, preserving symlinks and permissions exactly as in the archive (except where safety rules override).

Part of ai-and/termgrade-bandcentral-gemma4-31b-bash.