Update README.md
Browse files
README.md
CHANGED
|
@@ -79,4 +79,48 @@ configs:
|
|
| 79 |
path: puzzle_triangles_test.jsonl
|
| 80 |
size_categories:
|
| 81 |
- 1K<n<10K
|
| 82 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
path: puzzle_triangles_test.jsonl
|
| 80 |
size_categories:
|
| 81 |
- 1K<n<10K
|
| 82 |
+
---
|
| 83 |
+
<p align="center">
|
| 84 |
+
<img src="logo.png" alt="SPaRC Logo" width="128"/>
|
| 85 |
+
</p>
|
| 86 |
+
|
| 87 |
+
# SPaRC Dataset
|
| 88 |
+
|
| 89 |
+
A grid-based puzzle dataset for benchmarking LLMs spatial reasoning capabilities.
|
| 90 |
+
|
| 91 |
+
## Data Schema
|
| 92 |
+
|
| 93 |
+
Each record (JSON) includes:
|
| 94 |
+
|
| 95 |
+
* `id` (string): unique puzzle identifier
|
| 96 |
+
* `difficulty_level` (int) & `difficulty_score` (float)
|
| 97 |
+
* `grid_size`: `{ "height": H, "width": W }`
|
| 98 |
+
* `polyshapes`: JSON string mapping shape IDs to binary grids
|
| 99 |
+
* `puzzle_array`: 2D array with cell codes (e.g., `S`, `E`, `+`, `P-O-112`)
|
| 100 |
+
* `solution_count` (int) and `solutions` list (with `index`, `path`, `pathLength`)
|
| 101 |
+
* `text_visualization`: YAML-style summary
|
| 102 |
+
|
| 103 |
+
## Sample Entry
|
| 104 |
+
|
| 105 |
+
```json
|
| 106 |
+
{
|
| 107 |
+
"id": "10e68dc3a6fbfcdf",
|
| 108 |
+
"difficulty_level": 3,
|
| 109 |
+
"difficulty_score": 2.3261,
|
| 110 |
+
"grid_size": {"height":3,"width":4},
|
| 111 |
+
"polyshapes":"{\"112\":[[0,1,...]]}",
|
| 112 |
+
"puzzle_array":[
|
| 113 |
+
["+","+","+","E"],
|
| 114 |
+
["+","P-O-112","+","o-O"],
|
| 115 |
+
["S","N","+","G"]
|
| 116 |
+
],
|
| 117 |
+
"solution_count": 10,
|
| 118 |
+
"solutions": [ { "index":0, "pathLength":34, ... } ],
|
| 119 |
+
"text_visualization": "..."
|
| 120 |
+
}
|
| 121 |
+
```
|
| 122 |
+
|
| 123 |
+
---
|
| 124 |
+
|
| 125 |
+
Related: [Website](https://sparc.gipplab.org/) • [Solver](https://github.com/lkaesberg/SPaRCSolver) • [Generator](https://github.com/lkaesberg/SPaRCPuzzleGenerator)
|
| 126 |
+
|