Commit 8657914
committed
feat: Allow more progressive overload strategies
This change introduces more progressive overload strategies.
Many times, people have asked about disabling progressive overload and the answer has always been "just set it to zero". With this change, there is now an explicit "None" option.
Additionally more complex behaviours can now be encoded. The existing behaviour was this:
If all sets have hit their min reps then:
- Increase all set's weight by the amount specified
The action that gets completed is now more configurable:
Type: None
If all sets have hit their min reps then:
- Leave weight alone
Type: Evenly
If all sets have hit their min reps then:
- Increase all set's weight by the amount specified (this is the original behaviour)
Type: Lowest set/s
Increase strategy: Every lowest
If all sets have hit their min reps then:
- Find the lowest weight in all the sets, and increase all sets with this weight by the amount
Type: Lowest set/s
Increase strategy: First lowest
If all sets have hit their min reps then:
- Find the lowest weight in all the sets, and increase the first set which has this weight by the amount
Type: Lowest set/s
Increase strategy: Last lowest
If all sets have hit their min reps then:
- Find the lowest weight in all the sets, and increase the last set which has this weight by the amount
Type: Lowest set/s
Increase strategy: Middle lowest
If all sets have hit their min reps then:
- Find the lowest weight in all the sets, and increase the set closest to the middle which has this weight by the amount
These new types and strategies are useful for when you generally don't increase all your sets when you overload, for instance with dumbbell shoulder press where the increase is a bit much. I would use the Middle Lowest strategy where if I succeed it will increase a single set by the amount, starting with the middle set.1 parent 2af0d77 commit 8657914
74 files changed
Lines changed: 4212 additions & 1850 deletions
File tree
- .github/workflows
- app
- models/storage/versions/v1
- modules/workout-worker/android/src/main/java/expo/modules/workoutworker/utils
- scripts
- src
- app/settings
- ai
- manage-workouts/[programId]/manage-session/[sessionIndex]
- components/presentation
- foundation
- editors
- summary
- workout-editor
- workout/weighted
- db
- drizzle
- meta
- i18n
- models
- blueprint-models
- session-models
- __test__
- storage
- versions
- migrations
- steps
- v2
- services
- store
- current-session
- settings/__snapshots__
- stats
- stored-sessions
- utils
- backend/LiftLog.Api
- Migrations/UserData
- Models
- Validators
- docs
- schemas
- v1
- workout-worker
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
389 | 388 | | |
390 | 389 | | |
391 | 390 | | |
| 391 | + | |
| 392 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
| |||
This file was deleted.
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
| |||
80 | 84 | | |
81 | 85 | | |
82 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
83 | 93 | | |
84 | 94 | | |
85 | 95 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 10 | | |
22 | 11 | | |
23 | 12 | | |
24 | 13 | | |
25 | 14 | | |
26 | 15 | | |
27 | 16 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 17 | | |
37 | 18 | | |
38 | 19 | | |
| |||
106 | 87 | | |
107 | 88 | | |
108 | 89 | | |
| 90 | + | |
109 | 91 | | |
110 | 92 | | |
111 | 93 | | |
| |||
0 commit comments