Skip to content

Test and understand results

Goal: evaluate a completed checkpoint and inspect how it navigates.

Run a validation workload

pixi run test --suite validation

The selected robot's navigation run is preferred over its smoke run. DWARL prints the resolved run, iteration and hash before executing. For explicit selection:

pixi run test --run runs/<run> --checkpoint best --suite validation

best requires completed periodic validation during training. An iteration number pins a checkpoint; latest selects the latest completed checkpoint in the selected run.

Read the result

Open the report after testing. The terminal table is only a summary; the browser report contains controller comparisons, individual outcomes and linked plots.

pixi run dwarl report --open

This opens the latest recorded result for the selected run. To avoid opening an older or interrupted result, use the exact directory printed by the test command:

pixi run dwarl report runs/<run>/tests/<test-id> --open

The page lives at runs/<run>/tests/<test-id>/report/index.html. Check its Status, checkpoint and Completed counts before interpreting it. episodes.json updates during testing; the summary and plotted report are generated at completion or interruption. An interrupted report can contain all cases for the first controller, some for the next, and none for controllers that never started. Missing sections do not mean those controllers passed or failed.

Start with completed cases, success and collision rates. Inspect failed episodes, their trajectory and command/measured-motion plots. Missing measurements are shown as unavailable. A finished workload is not automatically a passed workload.

See the report reading guide and remote-copy instructions.

What an episode plot looks like

Example testbot smoke-run trajectory in a doorway case

This is an illustrative smoke run of the public testbot fixture, not a navigation-quality result.

Exit code Meaning
0 Workload passed
1 Completed workload failed navigation criteria
2 Input or infrastructure failure
130 Interrupted; available partial results retained

Expand evaluation

Choose --suite benchmark for built-in layouts such as doorways, offices and warehouses. Set test.unmapped_obstacles to request a target obstacle count per case in MuJoCo or Gazebo. Obstacle diameter (or the longer side of a box) is 50–90% of robot width, taken from the footprint polygon or the diameter for a circular robot. Placement checks for a short sidestep that rejoins the same path and leaves room for the robot to turn. A route around another aisle does not qualify. Placement can yield fewer or zero; check the episode's actual unmapped_obstacles. Progress output prints placed/requested counts and flags zero-exposure cases. Set test.unmapped_near_doorways=false to enable the conservative doorway exclusion. Use --set test.unmapped_obstacles=0 for a clean-map run.

pixi run dwarl test --show
pixi run dwarl test --case office --show
pixi run dwarl test --case warehouse --show

To watch the same test in Gazebo and RViz, run pixi run dwarl test --sim gazebo --show.

Gazebo shows the robot between obstacles (left); RViz shows its route on the navigation costmap (right).

The visual workflow uses the same cases, scoring and reports as headless testing, and closes the stack after each case. To replay with another controller, use e.g. --controllers rpp. Pin --run and --checkpoint when comparing runs.

These fixed benchmark layouts are separate from the procedural validation and held-out test splits. Use --suite validation for candidate selection.

pixi run test --case doorway --show
pixi run test --sim both --suite validation

Gazebo uses perfect localization unless you pass --external-localization. It requires a checked adapter. Limit the workload per simulator with test.max_cases; for example, --set test.max_cases=3 requests a short check.

Choose candidates on validation. Once the candidate is frozen, run the held-out test suite with an explicit run/checkpoint:

pixi run test --run runs/<run> --checkpoint <iteration> --suite test

Detailed metrics · Compare controllers

Next: deploy the selected checkpoint.