GameAtlas / README.md
AllSpark-Team's picture
Link arXiv paper (arXiv:2611.36351) in README
4fd7dd2 verified
|
Raw History Blame Contribute Delete
5.88 kB
---
pretty_name: GameAtlas
size_categories:
- 100M<n<1B
language:
- en
- zh
tags:
- benchmark
- harbor
- visual-coding
- spatial-reasoning
- game-development
- rl-environment
viewer: false
---
# GameAtlas
**AllSpark Team** · [Paper](https://arxiv.org/abs/2611.36351) · [Project page and interactive examples](https://allspark-research.github.io/GameAtlas/)
GameAtlas evaluates how well a coding agent can infer geometry, motion and spatial relationships from visual references and reproduce them through code. Its 91 independently verifiable tasks cover eight disciplines in professional game development. Each task supplies a production context, specifies a deliverable and scores the submitted artifact using executable criteria. No LLM judge is required.
![GameAtlas’s 91 tasks across eight disciplines, illustrated with mesh reconstruction, retopology, UV maps, animated poses, scene and camera reconstruction, lighting, and layered artwork.](./task-overview.webp)
## Task collection
Task directories use stable identifiers from `gameatlas_001` to `gameatlas_091`. The table shows what the agent receives and what it must deliver. Each task's `task.toml` records its discipline, submission files and resource limits.
| Discipline | Task IDs | Count | Given → required delivery |
| --- | --- | ---: | --- |
| Image-to-mesh | 001–026 | 26 | Orthographic views → reconstructed mesh in binary FBX |
| Retopology | 027–036 | 10 | High-poly mesh and a triangle budget → low-poly FBX |
| UV unwrapping | 037–046 | 10 | Mesh → FBX with a single-tile UV layout |
| Animation | 047–066 | 20 | Rigged character and reference video → animated Blender project |
| Scene layout | 067–076 | 10 | Reference image, fixed camera and asset pool → placement code |
| Camera reconstruction | 077–086 | 10 | Reference image and furnished scene → camera parameters |
| Rendering | 087–089 | 3 | Starter renderer and target views → renderer implementation or repair |
| PSD composition | 090–091 | 2 | Layered 16:9 artwork → editable 4:3 PSD and matching PNG |
## Download and inspect
Clone the dataset, fetch the assets and verify their checksums. The companion harness pins the dataset revision used for evaluation.
```bash
GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/datasets/AllSpark-Research/GameAtlas
cd GameAtlas
git lfs install --local
git lfs pull
sha256sum -c SHA256SUMS # macOS: shasum -a 256 -c SHA256SUMS
cat tasks/gameatlas_091/instruction.md
```
A single-stage package has the following layout:
```text
tasks/gameatlas_091/
task.toml # task definition, budgets and submission contract
instruction.md # agent-facing requirements and output paths
environment/ # working image, starting assets and tools
tests/ # verifier entry point, scoring code and references
```
The two Sponza tasks (`087` and `088`) provide four stage-specific prompts in `steps/<stage>/instruction.md`. Read the stages in the order declared in `task.toml`. Keep `tests/` on the evaluator side during agent runs.
## Try a verifier with Docker
Task **091** asks the agent to adapt a layered illustration from 16:9 to 4:3. To check the verifier installation, score the bundled reference PSD and PNG. Run the following from the dataset root with Docker and a network connection for the initial build.
```bash
task=tasks/gameatlas_091
demo=$(mktemp -d)
mkdir -p "$demo/artifact" "$demo/logs"
cp "$task/tests/hidden/target.psd" "$demo/artifact/final.psd"
cp "$task/tests/hidden/target.png" "$demo/artifact/final.png"
docker build --platform linux/amd64 -t gameatlas-091-verifier "$task/tests"
docker run --rm --platform linux/amd64 --network none \
-v "$demo/artifact:/artifact:ro" \
-v "$demo/logs:/logs/verifier" \
gameatlas-091-verifier sh /tests/test.sh
cat "$demo/logs/reward.json"
```
Expected output in `reward.json`:
```json
{"reward": 1.0}
```
To evaluate your own artwork, copy your PSD and PNG to `$demo/artifact/final.psd` and `$demo/artifact/final.png`, then repeat the container run. During an agent attempt, the starting artwork comes from `environment/workspace/`.
## Run an agent with iterative feedback
To reproduce the iterative setting, use the [GameAtlas evaluation harness](https://github.com/AllSpark-Research/GameAtlas/tree/main/gameatlasharness) with Python 3.11+, Docker with Linux/AMD64 support, and a vision-capable model endpoint. The runner supplies `submit_score`, enforces the submission budget and performs final evaluation. The task packages and their verifiers are distributed here. Run the commands below from a checkout of the companion runner.
Copy `gameatlasharness/model.example.json` to `model.local.json`. Set `tasks_dir` to the absolute path of the downloaded `GameAtlas/tasks` directory, `tasks` to `["gameatlas_091"]`, and `model` and `base_url` to your provider settings. Set the credential in the environment variable named by `api_key_env`. For a single concurrent task, allocate about 16 GiB to Docker.
```bash
python3 -m gameatlasharness.run --config model.local.json --prepare
python3 -m gameatlasharness.run --config model.local.json --check
python3 -m gameatlasharness.run --config model.local.json --output runs/first-task
```
During an attempt, the agent edits its workspace and can call `submit_score` for feedback before revising. There are five online submissions for 89 tasks and six for each Sponza task. Final scoring uses the task's own verifier. For Sponza, the stage gates and final reward are defined separately from online feedback. Inspect `runs/first-task/gameatlas_091/attempt-001/result.json` for the terminal status, score and ranking validity. The dataset contains task packages only; run histories are produced locally.
## Asset attribution
For asset licenses and attribution, see the notices in the task packages.