HF RL Explorer

Implement a command-line tool that performs topological sorting on a dependency graph read from a file. The…

Implement a command-line tool that performs topological sorting on a dependency graph read from a file. The…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input file format: - Each line defines one node and its dependencies. - Syntax: node name:dep1,dep2,dep3 -…

The task

**Input file format:** - Each line defines one node and its dependencies. - Syntax: `node_name:dep1,dep2,dep3` - If a node has no dependencies, the line is just `node_name:` - Node names are case-sensitive, may contain any printable ASCII characters except colon and comma, and are trimmed of leading/trailing…

Part of ai-and/termgrade-environments.