Write a Python CLI tool that reads a dependency specification from a file and outputs a valid topological…
Write a Python CLI tool that reads a dependency specification from a file and outputs a valid topological…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format: A file containing lines of the form TASK: DEP1, DEP2, ... . The colon separates the task name…
The task
**Input format:** A file containing lines of the form `TASK: DEP1, DEP2, ...`. The colon separates the task name from its dependencies. Task names and dependency names are non-empty strings of printable ASCII (0x20-0x7E) except colon, comma, and the hash character `#`. Whitespace around task names, commas, and colons…
Part of ai-and/termgrade-environments.