--- title: Pathfinding Leaderboard emoji: 🧭 colorFrom: green colorTo: indigo sdk: gradio app_file: app.py pinned: true license: apache-2.0 short_description: LLM Pathfinding Benchmark - Can language models solve mazes? sdk_version: 5.43.1 tags: - leaderboard - pathfinding - reasoning --- # 🧭 Pathfinding Benchmark Leaderboard This leaderboard tracks Large Language Model performance on pathfinding tasks in ASCII mazes. ## Metrics - **Completion Rate**: % of mazes successfully solved - **Average Efficiency**: How close solutions are to optimal (1.0 = perfect) - **Optimal Rate**: % of mazes solved with the shortest possible path ## Benchmark Details - **90 test mazes** of varying complexity - Generated using different algorithms (Prim's, Recursive Backtracker, Cellular Automata) - Zero-shot evaluation (no examples provided) - Models must output directional moves (N, S, E, W) to navigate from Start to End ## Repository Structure - `src/envs.py` - Configuration (HF org, dataset repos) - `src/about.py` - Task definitions and leaderboard text - `convert_results.py` - Script to convert benchmark results to leaderboard format - `WORKFLOW.md` - Detailed workflow for adding results ## Adding Results See [WORKFLOW.md](./WORKFLOW.md) for detailed instructions. Quick version: ```bash # Run benchmark (in mazesolver repo) bun run benchmark # Convert results python convert_results.py /path/to/mazesolver/results ./output # Upload to HF datasets # (see WORKFLOW.md for details) ``` ## Benchmark Source This leaderboard displays results from the [Maze Solver Benchmark](https://github.com/fallom/benchmarks/mazesolver). To reproduce results or run your own evaluations, see the benchmark repository.