Case study: compare dispatch rules in the Asteria simulation¶
A free vehicle can take the nearest pickup or travel farther for urgent work. Asteria makes that tradeoff visible in a fictional three-floor factory with mobile vehicles, stations, lifts, charging, finite buffers, faults and rework. This case study compares three authored dispatch policies using the same model and five matched seeds, then checks how much their outcomes vary.
What was compared¶
The public catalog/asteria_factory/ package contains the simulator, grader,
three policies and their source provenance. Each policy receives the same public
observation and action mask. The visible task window contains the 16 oldest
unassigned tasks; it is not prefiltered to favor a deadline-based rule. Decisions
occur every two simulated seconds during a one-hour episode.
The compare-normal Study uses normal demand, three candidates and five
repetitions. Every candidate receives the same seed for a given instance and
repetition. A fresh local run completed 15/15 trials successfully on macOS
arm64 with CPython 3.12.12 and the package's locked NumPy 2.4.6 dependency.
| Policy | Successful trials | Shipped lots/hour, mean (min–max) | On-time percentage, mean | Ending WIP, mean |
|---|---|---|---|---|
| Urgency first | 5/5 | 16.6 (11–21) | 81.32% | 49.8 |
| Travel first | 5/5 | 19.2 (5–33) | 92.83% | 47.2 |
| Balanced service | 5/5 | 9.6 (2–21) | 90.84% | 56.8 |
These means reproduce the package README's normal-demand table. The range is the observed minimum and maximum across five trials, not a confidence interval. On-time percentages are averaged per trial; they are not a pooled percentage over every shipped lot. WIP is measured at the end of the episode.
Travel first had the highest sample mean throughput, with a wide 5–33 range. Balanced service shipped fewer lots and used less estimated energy in this run; its on-time percentage was higher than urgency first's, but lower than travel first's. A percentage among shipped lots is not a substitute for the number shipped. The sanitized evidence record contains the per-trial scores for all reported metrics, so a reader can inspect the tradeoffs without treating one mean as a universal policy ranking.
Reproduce the normal-demand comparison¶
From the development checkout root, with Python 3.11 or newer:
uv sync --locked --project catalog/asteria_factory
uv run --locked --project catalog/asteria_factory optpilot validate \
catalog/asteria_factory/optpilot.experiment.yaml
uv run --locked --project catalog/asteria_factory optpilot experiment run \
--project catalog/asteria_factory --study compare-normal \
--store ./asteria-case-records --run-id asteria-normal-case
uv run --locked --project catalog/asteria_factory optpilot experiment report \
asteria-normal-case --project catalog/asteria_factory \
--store ./asteria-case-records --output ./asteria-normal-case.html
Use a new ledger directory and run ID for an independent run. run --study
reviews the selected source and then executes the frozen review. The package's
uv configuration links Core from the surrounding checkout. The report command
is a development feature, not a claim about published Core 0.2.0.
The actual verification used an isolated environment synced from the package lock and an isolated resource registry. It ran from a temporary copy of the current development sources, avoiding local cloud-storage placeholders. The public example contains no 3D assets; the commands above run the headless model.
Identify the recorded experiment¶
| Item | Recorded identity |
|---|---|
| Run | readiness-normal-20261201 |
| Review | study-d2d6bd03a54094d0aa6001ede9a7d0765fabf29409f242377cf78a7f4bfa84b0 |
| Study seed | 0; five derived seeds matched across policies |
| Manifest SHA-256 | 94e6ddb930fa897802045ae14c1b8c06233c13b9d46e29ff484353e9454b62b6 |
| Simulator SHA-256 | e85e9ac6ae5b8ac5e798de93e1feaeb33684d2452b208908d4b8eb3c455b101a |
| Policy source SHA-256 | a8ddfbbd19e8eba8c9bb5c01dc6fa77692f017fd4ca6d23f5d530a66d64a45ba |
| Complete local result SHA-256 | a60ad65377a7fbc1254d63c8e82037e2581eb072612a1f38e273164e2efa2a04 |
The evidence JSON includes the grader, research contract and provenance-file
digests, frozen candidate IDs, trial coordinates and runtime dependency versions.
It omits local paths, process IDs and logs. The complete-result digest identifies
the local record used for this page, not a public signed attestation; new run
IDs and timestamps make a new complete result differ. Source was a development
worktree based on 353c5e594d1d72a8935258b5e6321b53b542adad, with readiness
changes applied. The recorded Core version string alone does not name that
unreleased source state.
Limits and the video¶
Five seeds offer a small illustrative comparison. This model is not calibrated plant data, rigid-body physics, collision certification or an industrial controller. Energy is an authored estimate. Neither the highest sample mean nor matched seeds alone establishes a statistically significant or generally best policy. More representative scenarios, a justified sample size and an analysis plan would be needed for a stronger claim.
The package also defines a high-demand saturation case. It was not rerun for this case study; the normal-demand evidence above must not be presented as a fresh verification of that case. The existing website video illustrates a Desktop workflow and a separate recorded session. Its individual shipment counts and 3D views are not measurements from this headless verification run.
See the package's source provenance and model scope. The simulator was redistributed with permission and attribution; this does not make the separate Desktop application's source public.