Lap averages are calculated in a funny way

Hey,

I noticed that intervals.icu calculates lap-averages on the activity page in a funny way. So not sure if this is a bug-report or a feature request (sorry!).

Look at this 20min over-under-intervall I did today, consisting of five times 3min over, 2min unde sections:

Average power for the hole 20min was 340W, however if I select every 3min- and 2min-lap of the total 20min-effort intervals.icu claims that average power is 325W. That is true in the sense that this is indeed the average of the average-lap-powers. However, this information is not very intresting :upside_down_face: or at least not what I am looking for…

…What I really like to look at when anlysing over-under-intervalls is the total average power / hr /… for all the laps selected. In this case the ‘correct’ answer would be 340W. I hope this makes sense. This total average power / hr / … information is, as far as I can tell, not easily attainable on intervals.icu and the moment. It would be nice if it was :smile:

I really enjoy using this app. It is so useful for my training, I keep recommending it! Thank you very much for your work.

Kind regards

What´s the average if you make a ´selection´ of those 20min?
Selection metrics are top left.
And if you merge all intervals together, is it then what you expect?
You can easily get your initial intervals back when re-analysing.
Not to say that this would be the solution, just to check the behaviour in those cases.

EDIT: In fact, what is happening here is that the list view gives you an average of the averages without taking into account that the lower ones are shorter. That’s why the total average in this way is lower.
So, all in all, I think this should be considered correct, not ‘funny’. If you want the average of the total 20 min, make a 20 min Interval. Otherwise, averages of non adjacent intervals would return very ‘funny’ results…
If you label the intervals, you could use the ‘Power for Work Intervals’ plots. Those will summarize the over’s and under’s separately.
Or the average of the selected intervals should be configurable to take duration of the intervals into account or not.