HF RL Explorer

Implement a command-line tool at /usr/local/bin/depsort that reads a directed dependency graph from stdin as…

Implement a command-line tool at /usr/local/bin/depsort that reads a directed dependency graph from stdin as…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format (stdin): A single JSON object with the following structure: - "nodes" : a JSON array of…

The task

**Input format (stdin):** A single JSON object with the following structure: - `"nodes"`: a JSON array of strings (the node labels) - `"edges"`: a JSON array of objects, each with `"from"` and `"to"` keys whose values are strings that appear in `"nodes"`

Part of ai-and/termgrade-environments.