Spaces:
Runtime error

File size: 1,724 Bytes
d812522
a315f68
c50a1d2
d812522
 
 
 
 
 
c50a1d2
d812522
 
a315f68
c50a1d2
 
d812522
 
c50a1d2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d812522
c50a1d2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d812522
c50a1d2
d812522
c50a1d2
d812522
c50a1d2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
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.