Skip to content

Fix distance-per-infraction aggregation using global totals - #553

Merged
Kait0 merged 3 commits into
3.0from
vb/aggregate_avg_dist
Aug 7, 2026
Merged

Fix distance-per-infraction aggregation using global totals#553
Kait0 merged 3 commits into
3.0from
vb/aggregate_avg_dist

Conversation

@Victorbares

@Victorbares Victorbares commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Changes avg_distance_per_infraction from the mean of per-scenario averages to a global average computed from total distance and total infractions.
A small example of the new avg_distance computed compare to the old one :
image

@Victorbares
Victorbares marked this pull request as ready for review August 7, 2026 08:01
Comment thread pufferlib/ocean/drive/binding.c Outdated
@Kait0

Kait0 commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Makes sense. Min 1 infraction per scenario is quite a lot because scenarios are short, especially in nuPlan. Need to recompute metrics with this.

@Kait0
Kait0 merged commit 3fe65ed into 3.0 Aug 7, 2026
12 checks passed
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