HF RL Explorer

Goal

Goal: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Implement a command-line tool /app/backup (written in Python, executable) that performs verified incremental backups and restores of a directory tree. The tool must handle files, empty directories, symlinks, and…

The task

Implement a command-line tool `/app/backup` (written in Python, executable) that performs **verified incremental backups** and **restores** of a directory tree. The tool must handle files, empty directories, symlinks, and metadata. It must compute and store checksums to detect corruption during restore.

Part of ai-and/termgrade-environments.