Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page Properties


Target release0.2
Epic

Jira Legacy
serverJIRA (fatcigar.atlassian.net)
serverId0698f136-3f0e-3c87-aa9c-4d9605606272
keyAF-23

Document status

Status
colourGreen
title

DRAFT

FINAL

Document owner
Designer
Developers
QA


...

To find the MWI for a workout definition, we calculate the magnitude product for the workout as if it was performed at max intensity. We do this for the cardio and strength responses separately, then average them together. We ignore the other two responses because they do not add any useful information to the picture - a workout will not elicit a metabolic or EPOC response without an equivalent cardio or strength response.

Info
iconfalse

CardioMagnitudeProduct = 0.23

StrengthMagnitudeProduct = 0.76

MWI = (CardioMagnitudeProduct + StrengthMagnitudeProduct) / 2

MWI => 0.495

Actual Workout Impact (AWI)

Image RemovedImage Added

The actual workout impact figure is a property of the workout activity. If is a measure of the total adaptive response that the user actually got when they completed the workout, considering their fitness level and the intensity with which they completed it.

...

The AWI is calculated in the same way as the MWI, but uses the intensity from the workout activity instead.

Impact Credit (IC)

Image RemovedImage Added

The user's impact credit is the sum of all AWI they have earned since their last fitness test. Each time they complete a workout activity, their IC increases and, when they complete a fitness test, their IC is reset to zero.

However, impact credit is not awarded instantly after a workout activity. The AWI from each workout is added to their impact credit bar over time, as the adaptive responses from the activity play out. So therefore, we have a concept of pending IC and realised IC - credit yet to be added to the bar and credit already added to the bar. Note that the IC from multiple workout activities may be being added to the bar at the same time.

Calculations:

Image Added

To calculate the user's pending and realised impact credit at any given time, we can calculate the pending and realised impact for each workout activity that is still delivering an adaptive response, then sum them up.

To do this, we calculate how much of the response has passed and how much is in the future. We do this for the cardiovascular and strength responses only.

The details of the calculation can be seen in the POC but the outline is:

  1. Calculate the 'total response' for cardio by finding the time delta (in hours) where the response 'ends' (reaches 0.01). Do this for strength too.
  2. Estimate the area under the response curve between time delta = 0 and the end. Do this for strength too and add them together.
  3. Estimate the area under the curve between time data = 0 and now. Do this for strength too and add them together.
  4. Use the ratio between these two figures to determine the fraction of actual workout impact that has been realised and is pending.

Impact Credit Attrition

If the user does not complete a workout activity for 7 days, their realised impact credit starts to reduce.

Info
iconfalse

TBC


Workout Response Type Fractions

For display and for other calculations, we need to calculate a breakdown of the relative-size of each of the four adaptive responses expected from a workout definition. This breakdown must consider the user's current fitness level - specifically their cardio fitness bias. and therefore must use magnitude products as inputs. The calculation below shows how we do this for the cardiovascular response only:

Info
iconfalse

CardioMagnitudeProduct = 0.13

StrengthMagnitudeProduct = 0.76

MetabolicMagnitudeProduct = 0.54

EpocMagnitudeProduct = 0.43


TotalProduct = CardioMagnitudeProduct + StrengthMagnitudeProduct + MetabolicMagnitudeProduct + EpocMagnitudeProduct

TotalProduct => 1.86


CardioFraction = CardioMagnitudeProduct / TotalProduct

CardioFraction => 0.0699

Image Added

This data is used to create the workout response type pie charts.

...

In addition, we can combine the response type fractions and the AWI to show the specific AWI of a specific response - for cardio for example:

Info
iconfalse

AWI = 0.385

CardioFraction = 0.0699


CardioAWI = CardioFraction / AWI

CardioAWI => 0.1816

...


These breakdown figures are shown around the workout response type pie chart on the Workout Activity View.

Requirements

 
#TitleUser StoryImportanceNotes
1Workout Impact Calculations
Jira Legacy
showSummaryfalse
serverJIRA (fatcigar.atlassian.net)
serverId0698f136-3f0e-3c87-aa9c-4d9605606272
keyAF-24
As a user, I want to know the effects of my workout activities.
2   Impact Credit Calculations
Jira Legacy
showSummaryfalse
serverJIRA (fatcigar.atlassian.net)
serverId0698f136-3f0e-3c87-aa9c-4d9605606272
keyAF-25
As a user, I want to be motivated by seeing the effects of the work I am doing.
3

Workout Definition Pie Chart and MWI display

Jira Legacy
showSummaryfalse
serverJIRA (fatcigar.atlassian.net)
serverId0698f136-3f0e-3c87-aa9c-4d9605606272
keyAF-17

Jira Legacy
showSummaryfalse
serverJIRA (fatcigar.atlassian.net)
serverId0698f136-3f0e-3c87-aa9c-4d9605606272
keyAF-26
As a user, I want to see the benefits of a workout before I choose to perform it.
  • These figures are displayed on the Workout Definition Detail View and on the WD Tile on the WD List View.
4Workout Activity Pie Chart and AWI display
Jira Legacy
showSummaryfalse
serverJIRA (fatcigar.atlassian.net)
serverId0698f136-3f0e-3c87-aa9c-4d9605606272
keyAF-27
As a user, I want to see the effect of a workout activity after I have completed it.
  •  These figures are shown on the Workout Activity View.

Questions

Below is a list of questions to be addressed as a result of this requirements document:

...