Skip to content

Add deterministic multi-worker evaluation and seeded failure replay - #533

Draft
Victorbares wants to merge 45 commits into
3.0from
vb/better_eval
Draft

Add deterministic multi-worker evaluation and seeded failure replay#533
Victorbares wants to merge 45 commits into
3.0from
vb/better_eval

Conversation

@Victorbares

@Victorbares Victorbares commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator
  • Adds catalog-driven, multi-worker benchmark evaluation with deterministic per-scenario seeds
    and reproducible map selection.

  • Captures evaluation metrics and compact replay data, enabling failure scenarios to be
    replayed and rendered interactively.

Here are a fews commands you can try out:
To Eval and then render failures :

  • puffer eval puffer_drive
    load_model_path=experiments/mimolette/models/model_puffer_drive_003815.pt
    eval.datasets=carla_fast
    eval.render_failures=true
    eval.render_obs=false

To eval and render all scenarios

  • puffer eval puffer_drive
    load_model_path=experiments/mimolette/models/model_puffer_drive_003815.pt
    eval.datasets=carla_fast \
    eval.render_scenarios=true
    eval.render_obs=false

WaelDLZ and others added 30 commits July 6, 2026 15:58
- Simplified file handling in `make_client` function in `render.h`.
- Removed deprecated `compare_episode_metrics.py` script.
- Added `benchmark_comparison.py` to aggregate benchmark results.
- Created `run_all_eval.sh` for streamlined evaluation of experiments.
- Introduced `run_all_latest_eval.py` to execute evaluations on the latest models.
- Implemented `run_failure_scenarios.py` to rerun failed scenarios based on metrics.
- Updated `launch_nightly_best.sh` script comments for clarity.
- Modified `nightly_report.py` to reflect new evaluation metrics.
- Enhanced unit tests in `test_drive_config.py` to validate configuration files.
- Added new test in `test_eval_zlib.py` to ensure agent capacity constraints are enforced.
@Victorbares Victorbares changed the title Vb/better eval Add deterministic multi-worker evaluation and seeded failure replay Jul 23, 2026
@vcharraut
vcharraut self-requested a review July 24, 2026 11:40
Comment thread pufferlib/config/evaluation/benchmark_catalog.yaml Outdated
Comment thread pufferlib/config/evaluation/benchmark_catalog.yaml Outdated
Comment thread pufferlib/config/evaluation/benchmark_catalog.yaml Outdated
Comment thread pufferlib/config/evaluation/benchmark_catalog.yaml Outdated
Comment thread pufferlib/ocean/drive/drive.h Outdated
Comment thread pufferlib/ocean/drive/drive.h Outdated
Comment thread pufferlib/ocean/drive/drive.h
Comment thread pufferlib/ocean/drive/drive.h Outdated
Comment thread pufferlib/pufferl.py Outdated
@Victorbares
Victorbares marked this pull request as ready for review July 24, 2026 12:27
@Victorbares
Victorbares force-pushed the vb/better_eval branch 2 times, most recently from d884549 to f92e951 Compare July 24, 2026 13:34
@Victorbares
Victorbares requested a review from WaelDLZ July 24, 2026 13:37
@Victorbares
Victorbares marked this pull request as draft July 24, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants