HF RL Explorer

Write a command-line tool toposort that reads a directed graph definition from a file and outputs either a…

Write a command-line tool toposort that reads a directed graph definition from a file and outputs either a…: a task in termgrade-bandcentral-gemma4-31b-bash: TermGrade Band-Central: the 151-task selection and its splits (Harbor dataset). Input file format: - One edge per line: SOURCE<TAB TARGET -…

The task

**Input file format:** - One edge per line: `SOURCE<TAB>TARGET` - Lines may be empty (skip them) - Lines starting with `#` are comments (skip them) - SOURCE and TARGET are non-empty strings that may contain any Unicode characters except TAB and newline - The graph may contain isolated nodes (nodes with zero in-degree…

Part of ai-and/termgrade-bandcentral-gemma4-31b-bash.