Given a directory tree of source files, a diff file in unified format, and a target output directory, apply…
Given a directory tree of source files, a diff file in unified format, and a target output directory, apply…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - Source directory: /source — contains original files (UTF-8 text, any directory nesting…
The task
**Input contract:** - Source directory: `/source` — contains original files (UTF-8 text, any directory nesting depth, may be empty, may contain binary files) - Diff file: `/diff.patch` — a unified diff (possibly multi-file, possibly empty, possibly with only file creation/deletion) - Output directory: `/output` —…
Part of ai-and/termgrade-environments.