Goal: Implement a command-line tool that reads a dependency specification file and outputs either a valid…
Goal: Implement a command-line tool that reads a dependency specification file and outputs either a valid…: a task in termgrade-bandcentral-gemma4-31b-bash: TermGrade Band-Central: the 151-task selection and its splits (Harbor dataset). Exact input/output contract: - The tool is a Python script at…
The task
Exact input/output contract: - The tool is a Python script at `/app/toposort.py`. - It accepts exactly one argument: the path to the input file. - Input file format: - Each line is either empty (ignored) or has the form `TASK < DEPENDENCY1, DEPENDENCY2, ...` or `TASK < ` (no dependencies). - Task and dependency names…