# HarnessEval-W

> Agentified evaluation of visual world models, where every score comes with its evidence tree

- Category: Evaluation & Production Ops / Benchmark Harnesses
- Language: Python
- Licence: Apache-2.0
- Repository: https://github.com/MirroS-Lab/HarnessEval-W
- Website: https://mirros-lab.github.io/HarnessEval-W/
- Canonical page: https://ai-tldr.dev/tools/harnesseval-w/
- Updated: 2026-08-17

## In short

HarnessEval-W is an evaluation pipeline for visual world models from MirroS Lab. It sits in the Benchmark Harnesses category of the Evaluation & Production Ops tools and is open-source, written in Python and licensed Apache-2.0. To get started: clone and create the environments.

## Overview

HarnessEval-W is an evaluation pipeline for visual world models from MirroS Lab. Its argument is that a benchmark should deliver more than a scalar: judging a video rollout means deciding whether physics, causality and world state evolve correctly, and a brute-force metric leaves no reasoning chain anyone can examine. HarnessEval instead brings the harness paradigm from the LLM ecosystem to world-model benchmarking, so each result arrives with the evidence that produced it.

The pipeline runs in three stages. A planner routes each case — an initial world, an action and a probe intent — to the skills that can legitimately evaluate it, recording an evidence-grounded reason for every skill it skips. Each selected skill then decomposes its evaluation into measurable sub-questions, and a dedicated sub-agent answers each one against the rollout evidence. Finally the parent agent validates the collected evidence and aggregates it into the case score. Routing depends only on the case context and never on the model under test, so every model faces the same questions on the same cases.

The repository ships the benchmark, the evaluation code and the metric backends, with a bundled demo under runs/example that can be scored immediately after setup. A completed run writes summary.json with overall and per-family scores alongside leaderboard files in JSON, CSV and Markdown, with per-case artifacts and metric caches kept under the run directory. A 100-case public set and a leaderboard are published on Hugging Face and the project page, and the benchmark is designed to be extended with new cases and new evaluation skills. The code is Apache-2.0; the accompanying paper is arXiv 2608.16859.

## What it does

- Agentic evaluation: a planner routes cases to skills, sub-agents answer measurable sub-questions, and a parent agent validates and aggregates
- Every score is backed by an auditable case card — the full trace of questions, answers, scores and supporting frames
- Skipped skills are recorded with an evidence-grounded reason, not silently dropped
- Routing depends only on case context, never on the model under test, so models are compared on identical questions
- Bundled demo run that produces scores immediately after installation, plus verification of a completed run
- Outputs summary.json with overall and per-family scores plus leaderboard files in JSON, CSV and Markdown
- Extensible with new cases (world, action, probe family) and new evaluation skills

## Getting started

Installation creates three conda environments — the launcher/CLI, the metric backends and the physical-plausibility backend — then you configure credentials and can score the bundled demo straight away.

1. Clone and create the environments

   Three separate environments keep the CLI, the metric backends and the physical-plausibility backend from fighting over dependencies.

```bash
git clone --branch main --single-branch https://github.com/mirros-lab/harnesseval-w.git
cd harnesseval-w
conda env create -f docs/installation/main.environment.yml
conda env create -f docs/installation/metrics.environment.yml
conda env create -f docs/installation/pavrm.environment.yml
conda activate harnesseval-main
```

2. Configure credentials and paths

   Copy the example env file and export it into your shell.

```bash
cp config/example.env harnesseval.env
set -a; . ./harnesseval.env; set +a
```

3. Evaluate a model's generated results

   Point the CLI at the generated videos plus the run manifest and plan root; it writes the run outputs under --run-root.

```bash
harnesseval eval \
  --results runs/example/results_example/generation \
  --model-id seedance-2.0-standard \
  --run-root runs/example/results_example/run \
  --manifest runs/example/results_example/manifest.json \
  --plan-root benchmark/plans
```

4. Verify a completed run

   Checks that an existing run has all the expected scores.

```bash
harnesseval verify run \
  --eval-root runs/example/results_example/run/harnesseval/models/seedance-2.0-standard/evaluation \
  --manifest runs/example/results_example/manifest.json \
  --model seedance-2.0-standard
```

5. Read the outputs

   A completed evaluation writes overall and per-family scores plus leaderboard files; per-case artifacts and metric caches sit alongside them.

```text
runs/example/results_example/run/harnesseval/models/<model-id>/evaluation/
├── summary.json
├── leaderboard_latest.json
├── leaderboard_latest.csv
└── LEADERBOARD.md
```

## When to use it

- Score a video world model on physics, causality and world-state consistency instead of a single opaque quality metric
- Audit why a model lost points on a case by reading the evidence tree behind the score
- Compare several world models on identical routed questions, with per-family breakdowns and a generated leaderboard
- Extend a benchmark with your own cases or evaluation skills rather than writing a harness from scratch

## Version history

- 2026-08-17: MirroS Lab released HarnessEval-W — the benchmark, the evaluation code and the metric backends — with results over 18 world models and 330 cases, each score shipping with its reasoning trace.
