# Repository Briefing: InfRec-Cardinal/AAAWorld
> Source: https://repoforai.com/repo/InfRec-Cardinal/AAAWorld (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/InfRec-Cardinal/AAAWorld
- **Official Docs / Website**: https://bench.cardinal-agi.com/aaaworld/
- **Category**: LLMs & Inference (大模型与推理微调)
- **Primary Language**: Python
- **License**: Apache-2.0
- **Engineering Health**: B+ (69/100 · Maintenance 35/35 · Adoption 3/25 · Releases 11/20 · License 20/20)
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: CLI, GPU, API
- **Momentum**: 82 ★ total (+17 24h / +82 7d) · 2 forks
- **When to Use**: Best for: Teams benchmarking LLM-generated HTML games, comparing revision strategies from a shared starting build, or checking how automated and human reviewers differ. Skip if: You need native game-engine coverage, a deterministic regression suite for an existing game, or a hosted annotation workflow you can assume is included in local deployment.

## Overview
```text
### Architecture & Core Mechanics
AAAWorld separates task-driven generation from evaluation of playable HTML builds. The Python CLI in `generation/` uses stable task IDs from `prompts/open-set.json` and produces a playable `index.html` in the run directory. Revision experiments can branch from a shared first-round build via `--from-run`. The build is also the integration boundary: teams can bring games from their own generators without adopting AAAWorld's generation loop.

`scoring/` separates Chromium-based Auto checks from Game Review Agent (GRA) judgments. Replay-based GRA review uses the task and sampled playthrough frames; the live runner can request more play in Chromium before scoring. The hosted arena handles blind comparisons, while the studio exposes a separate human-annotation workflow tied to a specific server-generated build.

### Key Capabilities & Differentiators
The open set contains 135 tasks: 30 Easy, 40 Medium, 50 Hard, and 15 Challenge. Single uses only the first prompt; Fixed follows the four predefined prompts. Self-Corr uses Auto feedback, HITL-Dev uses developer comments, HITL-Player collects one overall and four dimension ratings plus optional feedback, and Sub-RSI makes the same model generate, play, score, and revise its game.

Auto checks six gates and scores a 41-item rubric with evidence. Replay review supports a frontier multimodal API, local Qwen3.5-35B-A3B, and the same base model with the published AAAWorld LoRA. The ladder combines human, Gemini, base Qwen, and trained AAAWorld GRA Elo ratings with equal weight. Per-build GRA reference results cover 1,053 builds.

### Trade-offs & Limitations
Compared with a browser regression suite, AAAWorld adds a fixed task set, controlled revision branches, and multiple ways to judge playability. It is less suitable for simple deterministic checks on an existing game, and its public evaluation harness targets playable HTML rather than arbitrary game-engine artifacts. A shared first-round build helps isolate revision strategy; a shared replay helps compare reviewers, but only shows what that playthrough captured.

API review avoids hosting the reviewer model but adds per-run provider costs and sends the task and playthrough frames outside the local environment. Local Qwen avoids that reviewer API dependency at the cost of GPU capacity planning. Live review can gather more evidence, but those trajectories are not the same fixed input used in replay comparisons. The equal-weight ladder is useful as a summary; inspect its component ratings when reviewer disagreement matters.

### Hardware & Deployment Guide
Run the generation CLI from the repository root with Python 3.10 or newer. The documented API path sets `OPENAI_BASE_URL` to `https://openrouter.ai/api/v1` and supplies `OPENAI_API_KEY`. Use `python3 -m generation list --tier Easy` to select a task, then `python3 -m generation run --task game-0071 --model YOUR_MODEL --mode single --out runs/first` to generate a build and open `runs/first/index.html`.

Provision Chromium for browser-based evaluation. Gemini GRA uses OpenRouter; base Qwen and the LoRA reviewer run on a local GPU. No exact VRAM floor is specified, so size the deployment against the actual model configuration, frame workload, and concurrency. The hosted annotation path requires sign-in and a completed studio run. There is no tagged release to pin, so record the repository commit and reviewer configuration for repeatable comparisons.
```

## Key Capabilities
```text
- Task suite: 135 open-set tasks across four difficulty tiers, with stable IDs and original four-round prompts.
- Controlled revisions: `--from-run` reuses the first-round build when comparing feedback strategies.
- Objective scoring: Chromium execution checks six gates and returns evidence for a 41-item rubric.
- Reviewer comparison: Frontier API, base Qwen, and LoRA-adapted Qwen can judge the same replay.
- Live review: The Game Review Agent can request more play in Chromium, inspect frames, and then score.
- Reference ladder: Per-build GRA scores cover 1,053 builds; the Average leaderboard weights four Elo ratings equally.
```

## Quick Start / Clone
```bash
export OPENAI_BASE_URL=https://openrouter.ai/api/v1
export OPENAI_API_KEY=your-provider-key
python3 -m generation list --tier Easy
python3 -m generation run --task game-0071 --model YOUR_MODEL --mode single --out runs/first
```
