Skip to content

Evaluate your policy ​

Submit a run to score your policy against a benchmark. Manifold runs the benchmark on its own GPUs, split across many machines in parallel, and records each episode.

Before you start ​

Serve your policy, or ensure that your Manifold cloud policy has been registered first. Then check the names of your policy and of the benchmark you want:

bash
manifold policy list
manifold benchmark list

Submit a run ​

bash
manifold run submit POLICY:VERSION BENCHMARK --name NAME
Argument or optionWhat it does
POLICY:VERSIONThe policy version to evaluate, for example my-policy:0.0.1. For a self-hosted policy, use the version that you started with manifold policy serve. For a Manifold cloud policy, you can leave out :VERSION to use the newest version.
BENCHMARKThe benchmark to run against, as BENCHMARK:VERSION. Leave out :VERSION to use the newest version.
--nameRequired. A label for the run in the runs list and in the app.
--shardsSplits the episodes into this many parallel shards. Leave it off to use the benchmark's default.
--orgThe organization that owns the run. You need it only if you belong to more than one.

The command prints the versions that the run uses:

text
✓ Run queued RUN_ID
  POLICY:VERSION x BENCHMARK:VERSION, EPISODES episodes
Follow it with: manifold run watch RUN_ID
View it at: https://app.manifold.bifrost.ai/ORG/runs/RUN_ID

Self-hosted policies

The run goes to the manifold policy serve command that you started for that version. If that command is not running, run submit stops and tells you how to start it:

text
Run rejected: my-policy:0.0.1 is not ready yet.
Start it with: manifold policy serve my-policy:0.0.1 -- COMMAND

Follow the run ​

Open the link that run submit prints to follow the run in the Manifold app. You can also follow it from the command line:

CommandWhat it does
manifold run watch RUN_IDFollows the run until it finishes.
manifold run get RUN_IDShows the run's progress and score.
manifold run listLists your organization's runs, newest first.
manifold run cancel RUN_IDStops the run. Finished episodes stay recorded.