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-18

Document status

Status
colourGreen
title

DRAFT

FINAL

Document owner
DesignerDuncan
DevelopersSadr Lufti Mufreni (Unlicensed)
QADuncan


Goals

Image RemovedImage Added

  • Motivate the user by showing them how their body is responding to exercise.
  • Show the user what their physiological response is body's adaptive responses are right now and how it changes they change over time.
  • Display the physiological response adaptive responses they can expect to get from a specific Workout Definition.
  • Display the total response they got from completing a Workout Activity
  • workout definition and a specific exercise definition.

Background and strategic fit

The aim of the Afterburner adaptive response system is to model the various physiological responses of the user's body after exercise, allowing them to 'see' what is happening to their body and making the training process more real and tangible.

It is a core feature of Afterburner is - to show the user how their body responds to various types of workout. In reality, our bodies respond in many different ways, making us fitter and more healthy. In Afterburner however, we group these physiological adaptive responses (ARs) into four Response Categories (RCs) AR Types:

  • EPOC (Excess Post-exercise Oxygen Consumption): after intense exercise, your body must replenish the energy stores (phosphocreatine, ATP and glycogen) energy stores that  that were used up during the workout. This causes It must also continue to actively dissipate excess heat to return you to a stable temperature. These processes cause you to burn calories for a period after exercise. This increased calorie-burn causes you to consume more oxygen and this is how the effect is measured in a lab. The effect is very strong immediately after exercise but tails off quickly to a low level that can last for a couple of days.
  • Muscular Strength adaptionsAdaptions: putting your muscles under 'exercise stress' creates micro-tears and causes them to adapt by strengthening themselves. This process is called muscular hypertrophy and can occur for up to 72 hours after exercise. Exercises that put a high resistance on a muscle cause a greater physiological response.
  • Cardio (aerobic) adaptionsCardiovascular Adaptions: in the same way, putting your heart and cardiovascular system under exercise stress cause them to adapt and strengthen. Your heart muscles get stronger and bigger (cardio hypertrophy) and are able to pump more blood per second; veins and arteries get bigger and are able to handle more blood per second; lung capacity increases as the lungs grow more alveoli and are able to pass more oxygen into the blood.
  • Metabolic adaptionsAdaptions: as fitness increases, your body is able to burn fat more effectively. This means fat can be used as the primary fuel at higher exercise intensities, making it easier for you to burn even more fat. The body also becomes better at regulating hormones such as insulin and ghrelin. These are the hormones that govern the body's hunger and fat storage mechanisms.

When a user completes a Workout Activity workout activity, we calculate what these four responses will be - in total and look like over time. Each RC AR type has a 'default shape' when graphed over time. But, depending on the type of exercise performed, the duration of exercise, and the level of intensity with which in it was performed, the magnitude and the user's fitness level, the size and duration of each RC is alteredresponse type will be very different. For example, performing push-ups, planks and lunges will elicit a very different set of physiological responses from jumping jacks, running on the spot and step-ups - even if the intensity and duration are the same.

Specifications

The above concepts are communicated to users in Afterburner in the following ways:

  1. Pie charts and max burn are shown on Workout Definitions. These communicate the max total response available from performing this workout and the ratio between the RCs. The data comes from the constituent Exercise Definitions and durations.
  2. Strength and cardio ratings are shown on Exercise Definitions.
  3. When a Workout Activity is complete, the Workout Activity Detail View is presented immediately. This shows total burn and a total for each of the RCs. These totals represent the total response from this workout and they will not change over time.
  4. The Afterburn View shows the current response (if any). It shows the current overall response and the current response for each category. These values change over time and are recalculated regularly.

...

Image Removed

Image RemovedThe data for the Response Category Pie Chart is calculated by summing all the responses and durations for all the exercises that this Workout Definition contains.

So, if C = ExerciseDefinition.Cardio and D = Exercise.Duration the max total response for a single exercise is:

R1 = C1 * D1

Then we can sum all the exercises to get the total for cardio:

TotalCardio = ∑(R1 + R2 + ... + Rn)

Then, we do this for the other three Response Categories and can create a pie chart that will show the ratios between them.

The Max Burn is simply the square root of the sum of the TotalCardio, TotalStrength, TotalMetabolic and TotalEpoc figures from above:

MaxBurn = √(TotalCardio * TotalStrength * TotalMetabolic * TotalEpoc)

...

We graph an estimation of the user's adaptive responses after a workout activity to allow us to display this data on the main Afterburner screen. Each of the four ARs reacts differently to variations in the mode, duration and intensity of exercise.

Modelling the adaptive responses

We model each AR type by creating base curves that define the typical shape of each response over the time following a workout activity. We then modify the magnitude and halflife of each curve according to the duration and intensity of the work done, and the current fitness level of the user.

This process is completed separately for each of the four AR types and each exercise definition states the effect it has on each type. The responses from separate workout activities are then combined to allow us to output a figure stating the level of a response at any point in time.

Calculation for a single adaptive response from a single workout activity

The diagram below shows the process for calculating a single response (cardiovascular) from a single WA at a specific elapsed time. Note that this is for a single AR type only (cardiovascular). The calculation is repeated for each of the four types. It is the same calculation but uses different inputs for each AR type.

After calculating the amount of response stress produced by the WA, this is used along with workout intensity and the user's fitness level to calculate a magnitude product and a halflife Product. These products are used to modulate the base curve of the response: The magnitude is used to scale the 'size' of the response - how big the response is. The halflife is used to scale the duration of the response.

The following diagram outlines the complete calculation:

Image Added

Tip
A JavaScript Proof of Concept demonstrates the calculations in detail here: http://dev.impossible.am/afterburner/Response%20POC/

Typical response patterns:

The typical pattern of the four AR types after a single workout activity might look like this, when graphed over time:

Image Added

How the adaptive response calculations are used

Image Added

Adaptive response radar chart

The user's current adaptive responses are shown on the main screen of Afterburner and this immediate, ever-changing visual feedback is a central feature of the app.

The chart shows the four responses (combined from all recent workout activities) on a four axis radar diagram, with the pending impact credit figure show in the centre. As time passes, the size of the responses reduce. The user then completes a new workout to boost them back up again.

Workout Impact and credit calculations

The calculations for max / actual workout impact, and pending / realised impact credit all use at least parts of the adaptive response calculations as input.

Requirements

#TitleUser StoryNotes
1Workout Definition Pie Chat and Max Burn

Adaptive response model and calculations

Jira Legacy

showSummaryfalse
serverJIRA (fatcigar.atlassian.net)
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId0698f136-3f0e-3c87-aa9c-4d9605606272
keyAF-

17

19

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.
2how I am affecting my body with exercise.
2

Adaptive response radar chart

Jira Legacy
serverJIRA (fatcigar.atlassian.net)
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId0698f136-3f0e-3c87-aa9c-4d9605606272
keyAF-20

As a user, I want to see how I am affecting my body with exercise.

Questions

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

QuestionOutcome

Not Doing