Golden eval

From nebius/nebius-physical-ai · View interactive version

Golden eval is an AI agent skill from the GitHub repository nebius/nebius-physical-ai. Use to prove a workbench container image actually works — the per-container hello-world manifest, dry-run/local/serverless execution tiers, batch runs across every image, and the offline manifest validation that gates CI.

How to use this skill

Skill file

Golden eval (does this container actually work?)

A golden eval is the minimal tested rerun that proves one container image is

functional. It answers a narrow, valuable question — *does this image run its own

smoke on a real GPU?* — without standing up a cluster or a workflow. Reach for it

after building or republishing an image, and when triaging whether a failure is

the image or the pipeline around it.

The manifest is npa/src/npa/smoke/golden_evals.yaml

(format npa_golden_evals_v1); every container in CONTAINER_IMAGE_NAMES must

have an entry, enforced by npa/tests/smoke/test_golden_eval_manifest.py.

Inspect before running

npa workbench golden-eval list                 # every container, kind, gpu, status
npa workbench golden-eval list --output json
npa workbench golden-eval show <container>     # full safety + Physical AI record

Read the status column before spending anything:

--include-blocked. A failure here is expected and is not your regression.

before drawing conclusions. It is excluded from default batches; pass

--include-needs-image-update only when exercising a rebuilt candidate.

kind tells you what is actually exercised: container-smoke, server-smoke,

entrypoint-smoke, workflow-smoke, or build-import. A build-import passing

means the package imports, not that the tool works. gpu is required,

optional, or none.

Three execution tiers, cheapest first

npa workbench golden-eval run <container>                      # dry run (default)
npa workbench golden-eval run <container> --execute            # local runtime
npa workbench golden-eval run <container> --serverless         # one GPU, real image
npa workbench golden-eval run <container> --serverless --gpu h200 --timeout 40m

Dry run is the default and prints the command. Use it to see exactly what

would execute — often enough to answer a question without running anything.

--execute runs locally and only works where the container runtime is present;

for a gpu-gated entry on a machine with no GPU it tells you nothing.

--serverless is the useful tier for verification: it submits the eval to a

Nebius Serverless Job in the real container image on a GPU and waits for

PASS/FAIL. No cluster, no node pool, no SkyPilot controller. This is the cheapest

way to get a truthful answer about an image. --gpu overrides the type (for

example h200, h100, l40s, b300) and --timeout defaults to 40m.

Batch across every image

npa workbench golden-eval run-all --serverless --parallel 4 \
  --json-out /tmp/golden-results.json
npa workbench golden-eval run-all lerobot groot --serverless
npa workbench golden-eval run-all --tools-only --serverless
npa workbench golden-eval run-all --include-blocked --serverless
npa workbench golden-eval run-all --include-needs-image-update --serverless

Positional arguments restrict the run to a subset; the default is every manifest

entry. --tools-only skips foundation images. --parallel bounds concurrency

and applies to --serverless and --execute. Always write --json-out for a

batch — the console summary is not something you want to re-derive after a

40-minute sweep.

Like run, run-all defaults to dry-run. A batch with no --execute and no

--serverless costs nothing and validates that every command is well-formed.

The offline gate

npa workbench golden-eval validate

Validates manifest completeness and consistency with no network and no GPU:

every container has an entry, entries map to known images or foundation images,

and each definition points at real Dockerfiles and entrypoints. This is the

nightly CI gate and belongs in any change that adds, renames, or retags an image.

When to run which

Also update the catalogs; see skills/atomic/audit-container-docs/SKILL.md.

--serverless` isolates image from pipeline in one step.

Gotchas

--execute or --serverless only printed a command. Check which tier you

actually used before reporting a result.

blocked-on-upstream failure a regression.

403 here is a pull-secret problem, not a broken smoke; see

skills/atomic/debug-failed-run/SKILL.md.

spec wiring, S3 paths, or multi-stage behavior — that is

npa workbench workflow.

about what the image can do.

Verify

npa/.venv/bin/python -m pytest npa/tests/smoke/test_golden_eval_manifest.py \
  npa/tests/guardrails/test_skills_index.py -q
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.