Skip to content

weight based peak performances not calculated if they precede first athlete weight entry #249

@MrSpock77

Description

@MrSpock77

I have imported data for several athletes from another computer. All activities appear to have been imported correctly as far as I can tell, but I have noticed that peak performances are not calculated for activities created before April 2022. Peak performances for the full time range may look like this on the source device:

Image

The older peaks from 2018 are missing on the destination computer:

Image

When looking at the actual activities on the destination computer, the chilis are still visible:

Image

The issue seems to be related to the first registered date in the user’s weight history. I became a Sauce user in April 2022, so for many of the athletes I follow, their weight was first recorded by Sauce at that time:

Image

On the source computer, peak performances were calculated for activities before that date, even though the weight was not known or manually registered by me. However, the import algorithm appears to depend on a weight recording in order to calculate peak performances. I suggest that Sauce use the oldest known weight value in this case as well.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions