glacials / splits-io

a speedrunning data store and analysis engine
https://splits.io
GNU Affero General Public License v3.0
132 stars 26 forks source link

Segment group durations artificially short when a split is skipped #819

Open glacials opened 2 years ago

glacials commented 2 years ago

We calculate segment group durations based on the sum of their segments' durations, but if a segment was skipped its duration is 0 so the group's duration is artificially low. Example: Discord report, splits

We should probably instead calculate the duration based on the group's last split end time, if present.

Relevant code