HF RL Explorer

Build a command-line tool /app/topo that reads a directed acyclic graph specification from a file and…

Build a command-line tool /app/topo that reads a directed acyclic graph specification from a file and…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input file format (UTF-8, LF line endings): - Each non-empty line is an edge: SOURCE TAB TARGET - Node names are…

The task

**Input file format (UTF-8, LF line endings):** - Each non-empty line is an edge: `SOURCE` `TAB` `TARGET` - Node names are non-empty strings of printable ASCII (0x21-0x7E), max 255 chars - Lines starting with `#` are comments and must be ignored - Empty lines (including lines with only whitespace) must be ignored -…

Part of ai-and/termgrade-environments.