Evaluation

Score generated artifacts with benchmarks, metrics, and reproducible scorecards.

On this page

Evaluation turns model outputs into reviewable evidence: prepare inputs, generate or import results, score them, and write a scorecard. Model launch details stay in runners; benchmarks consume normalized GenerationResult rows. Scoring and leaderboard claims are separate — a successful framework import is not the same as an official leaderboard run.

For a first end-to-end path, use Quickstart. For flags and discovery commands, see CLI. For per-benchmark layouts, see Benchmark Hub. For metric recipes, see Metrics. For 15-model H200 inference speedups and quality verification, see VideoGen & World Model Acceleration Benchmarks.

What to run

  • Score a directory with a complete benchmark protocol — wf score --benchmark <id> --artifacts <dir> ...
  • Generate from a dataset manifest, then score metric IDs — wf generate-score --model <id> --dataset-manifest <file> ...
  • Reproduce a known model × benchmark configuration — wf reproduce --recipe <recipe.yaml> ...
  • Run a new/custom model on an existing benchmark — wf run --model <id> --model-manifest-dir <dir> --benchmark <id> ...
  • Score existing JSON/JSONL results — wf evaluate --mode existing-results ...
  • Build a request ledger from a task — wf task materialize ...
  • Run one benchmark × model — wf run --benchmark <id> --model <id> ...
  • Import official-shaped results — wf zoo benchmark-run --mode official-validation ...
  • Try a new benchmark manifest — wf run --benchmark-manifest-dir <dir> --benchmark <id> ...
  • List metric IDs — wf metric list

Default user shape is wf run. Use evaluate when you already have materialized requests or results. Use zoo benchmark-run for integrated external benchmarks where you supply the data root, generated artifacts, or official result files.

Choose by intent

The CLI, TUI, and Workspace compile these user intents onto the same two execution requests and share one inference and metric implementation.

  • Official reproduction — Pinned recipe, official sample coverage, model generation settings, and benchmark runtime settings. Classification: reproduction.
  • Model benchmark — In-tree model plus the benchmark's official prompt/data protocol. Classification: protocol_compliant.
  • Score my artifacts — User-provided artifacts plus a benchmark's complete metric protocol. Classification: custom_dataset_metric_evaluation.
  • Generate and score my dataset — Dataset manifest plus selected executable metric IDs. Classification: custom_dataset_metric_evaluation.
  • Score existing results — WorldFoundry JSON/JSONL results plus selected executable metric IDs. Classification: custom_results_metric_evaluation.

A custom-data score is useful evidence, but is not automatically comparable to an official leaderboard. Likewise, a bounded official component run may prove that the integration works without proving full benchmark comparability. prepared_evaluation.json records the classification, resolved request, configuration sources, and preflight diagnostics for every prepared run; model × benchmark plans also cap their claim at the benchmark catalog's checked-in evidence level.

Models and benchmarks meet only through standard artifacts and manifests. The model runner produces GenerationResult rows; the benchmark adapter maps those artifacts strictly into the official layout; the official runner only executes and parses metrics. Adding a model therefore does not mean copying benchmark code, and adding a benchmark does not mean branching inside every model.

Pipeline

  1. Resolve mode, output directory, model/benchmark metadata, metrics, and optional runtime profile.
  2. Normalize inputs into GenerationRequest rows (task YAML, dataset manifest, JSON/JSONL, or benchmark samples).
  3. Produce GenerationResult rows via a WorldModelRunner or by importing existing results.
  4. Score metrics against those rows.
  5. Write the audit trail: run manifest, ledgers, metric summaries, report.md, and scorecard.json.

Common commands

# Materialize a small request ledger
wf task materialize <task-name> \
  --benchmark <benchmark-id> \
  --dataset-manifest /path/to/dataset_manifest.json \
  --num-samples 8 \
  --output-jsonl tmp/requests.jsonl \
  --json

# Score existing results
wf evaluate \
  --mode existing-results \
  --results-path tmp/results.jsonl \
  --output-dir tmp/evaluate_existing \
  --benchmark-id <benchmark-id> \
  --model-id <model-id> \
  --metric artifact_count \
  --json

# Apply VBench's complete protocol to videos generated elsewhere
wf score \
  --benchmark vbench \
  --artifacts /path/to/videos \
  --output-dir tmp/vbench_custom \
  --plan-only \
  --json

# Run an in-tree model over a checksum-verified dataset manifest
wf generate-score \
  --model <model-id> \
  --dataset-manifest /path/to/dataset_manifest.json \
  --metric artifact_count \
  --output-dir tmp/custom_dataset \
  --plan-only \
  --json

# Run one benchmark cell
wf run \
  --benchmark <benchmark-id> \
  --model <model-id> \
  --output-dir tmp/benchmark_run \
  --mode official-run \
  --json

# Import official-shaped results (framework evidence, not a leaderboard claim)
wf zoo benchmark-run \
  --benchmark-id <benchmark-id> \
  --mode official-validation \
  --official-results-path <official_results.json> \
  --generated-artifact-dir <generated_artifacts> \
  --output-dir tmp/benchmark_zoo/official_validation/<benchmark-id> \
  --json

Remove --plan-only after preflight reports ready: true.

Reproduction recipes

Use --recipe for an immutable model × benchmark cell. A reproduction recipe keeps upstream model and benchmark settings separate, so benchmark parameters cannot silently override orchestrator-owned paths or modes. Scope and eligibility are part of the prepared plan rather than inferred from a successful process exit.

schema_version: worldfoundry-reproduction-recipe-v1
id: paper-table-1-vbench
benchmark:
  id: vbench
model:
  id: <model-id>
  variant: <variant-id>
  parameters:
    num_frames: 81
generation:
  num_inference_steps: 30
  guidance_scale: 7.5
evaluation:
  mode: official-run
  parameters: {}
  env: {}
data:
  requests_path: ./official_requests.jsonl
  id: vbench-official-prompts
reference:
  source: <paper-or-official-config-url>
  reported_score: <value>

Run wf reproduce --recipe recipe.yaml --output-dir tmp/reproduce --plan-only --json first. The prepared record includes the recipe and requests SHA-256 values, source fields, model/benchmark revisions, scope, and leaderboard candidacy; execution still verifies the benchmark runner and local assets.

Benchmark-specific layouts and flags are on each Benchmark Hub page.

Outputs

  • report.md — Human-readable first look
  • scorecard.json — Normalized scores and leaderboard eligibility
  • metrics/summary.json — Aggregate metrics for automation
  • results.jsonl — Per-sample status, artifacts, errors
  • run_manifest.json — Run identity, paths, fingerprint

Resume and result integrity

run, evaluate, generate-score, reproduce, and score --results accept --resume and --metric-batch-size (default: 32). Reuse the same output directory to resume matching completed generation and per-sample metric checkpoints. Workspace exposes the same controls. The pipeline runner flushes each complete sample/rollout to results.jsonl; custom runners can implement generate_iter(requests) for incremental persistence without splitting a batch.

Each request and keyed result needs a unique sample_id. For multiple seeds, use distinct sample IDs and keep the shared prompt identity in metadata. Imported results need an explicit successful status; an absent status is unknown. Nonfinite metric outputs are invalid, with their reasons retained in diagnostics and finite metrics preserved.

Shared video artifact staging reads successful artifacts from generation/results.jsonl and retains each benchmark's official file naming. Relative artifact URIs resolve against the generation directory; failed or unknown results are not staged for quality scoring. Run-owned staging is rebuilt for each attempt; directories supplied as existing input are left intact.

Suite resume checks materialized requests, resolved model configuration, benchmark configuration, and required reports/media before reusing a completed cell. Changing request contents at the same path or removing a scorecard triggers execution. Generation checkpoints remain reusable independently of scoring. A failed attempt records a failed/interrupted manifest and removes its root success report; an official subprocess must produce a current scorecard.

Root summaries and suite comparison retain benchmark metric values, directions, and definitions. Generation counts remain diagnostics. Operational success, valid imported scores, bounded integration evidence, and full official verification are distinct: the outer summary can only narrow the child scorecard's leaderboard eligibility. Workspace's explicit existing-results mode remains in-process scoring even with a benchmark ID.

VBench's standard cohort contains five separately seeded videos per prompt: 944 unique prompts, 4,720 requests. A sample limit counts videos, not prompts, and denotes a bounded run. Generation adapters consume supported dataset roots and splits and reject unsupported explicit overrides.

FVD preprocesses each feature-extraction batch separately while computing the final distance over all features. WorldScore averages normalized values across instances per metric, then across metrics per aspect, and reports aspect percentages. Its evaluator retains one metric's models across a batch and releases them before loading the next metric. Embodied cancellation waits for the active rollout worker before cleaning up simulator/model resources.

Limitations

Batch-only custom runners persist results after generate() returns. Resume covers completed generation units and in-process per-sample scoring, not partial state inside a rollout or dimension-level official runtime checkpoints. score --benchmark --artifacts uses the official protocol and does not accept these scoring controls.

Modes

  • existing-results — Score materialized results; no model inference
  • model / generate — Run a model runner, then score
  • official-validation — Import official-shaped results through the benchmark runner
  • official-run — Run the benchmark runtime declared by the manifest

Use official-validation for framework import evidence. Use official-run only after datasets, checkpoints, environment, and official evaluator requirements are satisfied.

Contracts (short)

  • GenerationRequest — Normalized sample input
  • WorldModelRunner — Executes generation → GenerationResult
  • GenerationResult — Per-sample output + artifacts
  • Metric — Turns results into score rows
  • scorecard — Final eligibility / comparison record

Subsystem ownership and data flow: Evaluation core. Flag reference: CLI.

Next