HF RL Explorer

Goal: Implement a single-file Python script /app/pathfind.py that computes the shortest path through a 2D…

Goal: Implement a single-file Python script /app/pathfind.py that computes the shortest path through a 2D…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Exact I/O contract: - Usage: python3 /app/pathfind.py <input file - Input file: UTF-8 encoded text. Each line…

The task

Exact I/O contract: - Usage: `python3 /app/pathfind.py <input_file>` - Input file: UTF-8 encoded text. Each line is a row. Lines may end with LF (`\n`) or CRLF (`\r\n`). The file may or may not have a trailing newline. Empty lines (zero-length after stripping line ending) must be ignored. Rows may have different…

Part of ai-and/termgrade-environments.