Create a command-line tool safe-extract that extracts a given archive file into a target directory while…
Create a command-line tool safe-extract that extracts a given archive file into a target directory while…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Goal: Extract ARCHIVE into OUTDIR (creating OUTDIR if absent) so that the result is safe, deterministic, and…
The task
**Goal:** Extract `ARCHIVE` into `OUTDIR` (creating `OUTDIR` if absent) so that the result is safe, deterministic, and correctly handles the exact input/output contract.
Part of ai-and/termgrade-environments.