Adaptive set planning
How the planner builds your warm-ups and working sets for Strength, Volume, Peak 1RM and Deload: which history it reads, double progression with a load jump learned from each lift, the volume solver, Intensity and Volume, and how the plan adapts to RPE, missed targets and your week.
When you add an exercise, Logex proposes a full plan: warm-ups, a top set, back-offs or straight sets. You can edit every number. The plan is built by pure functions, so the same inputs always give the same plan, and every proposed load is a pound value rounded only at the display edge.
In plain terms. Logex looks at your last sessions on this exact lift and moves you forward one small step: one more rep, or, at the top of your rep range, a bit more weight that this lift has shown it can take. It builds sets that lose a realistic amount of strength as you go, nudges the set count by at most one if your week needs it, and adapts when a set falls short.
Which choices win
When several sources disagree, the order of precedence (highest first) is:
- Explicit edits in the form.
- The routine’s values.
- Your saved defaults for that exercise and goal (relative loads, stored on the device per account).
- The learned warm-up dose (see Warmups and fatigue).
- Your last confirmed plan. It remembers your usual set count, not today’s nudged one (see below).
- Habits learned from history.
- Profile and starter defaults.
Confirming a plan stores it, but does not log any performed sets.
What history is read
Up to 8 prior sessions within 90 days of the exact exercise, excluding the current workout and any future-dated one. Sessions with a comparable rep range are preferred (the planner buckets reps as up to 6, up to 12, and above that). With fewer than 3 comparable sessions, the latest session is used.
Inferred counts are capped for sanity: at most 4 warm-ups and 6 working sets. You can set more yourself, up to 10 warm-ups and 12 working sets. These caps exist because a duplicated-history bug once produced inferred counts of 8.
Strength: today’s load
The Strength goal opens with reps and effort prefilled (editable). The daily recommendation, recommendStrengthDay, starts from your top set: the heaviest straight set (Working, Volume or Back-off) of each of up to 8 sessions in 90 days.
How hard was last time?
The load comes from the inverse of the effort-aware Epley formula, so it depends on how many reps you had left (RIR):
capacity = topWeight × (1 + (topReps + RIR) ÷ 30) ÷ m_session RIR = clamp(10 − RPE, 0, 3)
weight = capacity × m_today ÷ (1 + (targetReps + (10 − targetRPE)) ÷ 30)
A top set saved without RPE is read at your usual logged RPE on that lift (the median, once there are at least 2), else your target RPE (6 to 9.5, default 8). It used to be read as RPE 10, which planned the next session about 5% lighter for no reason. Without an RPE the plan simply repeats your last top set, and says “Log RPE to let the plan progress you.”
One off day doesn’t drag you down
With at least 3 recent top sets, Logex compares the latest one’s capacity with the median of the last three. If it is under 97% of that median, today plans from the median session instead, and the plan reads “Your usual top set …”. An off day never progresses. Two low sessions in a row move the median, so a real dip is followed after the second one.
Double progression
Today’s target RPE is your profile’s (6 to 9.5, default 8), or the routine line’s. After 21 or more days away it drops to RPE 7 and nothing progresses.
Progression needs a top set with a logged RPE, at least 2 recent sessions, no off day, and freshness today at least 97% of last time’s. With a rep range (a routine line like 3 × 6–8, or your profile’s range when it contains your reps), the logged RPE must be at or under the target; without a range, at or under 7.5. Then:
- Inside the range: one more rep at the same load (reps stay between 3 and 15).
- At the top of the range (or above it on a routine line): add the load jump and drop back to the bottom of the range.
- Last set was hard (RPE at least one above target): keep the reps and ease the load toward the target.
The load jump, learned from the lift
How much weight to add is capped by your level, and learned from the lift itself:
| Level | Ceiling |
|---|---|
| Foundation | 5% of the top set |
| Developing, Established (or no level) | 2.5% |
| Advanced | one load step |
The ceiling is never less than one load step. With 4 or more sessions, Logex measures the lift’s own trend: the median of the pairwise slopes of log capacity across up to 8 top sets (a Theil–Sen fit, which one odd session cannot pull around). The jump is that rate × the top weight × the sessions one rep-range cycle takes (the range’s width plus one, at least 2, or 3 with no range), rounded to a step and kept between one step and the ceiling. With fewer than 4 sessions the jump is the ceiling.
Saved plan outcomes nudge it. If at least 3 of your last strength sessions on the lift were judged against a plan, and at least two-thirds of them beat the planned top set by 2% (or missed it by 2%), the raw jump is multiplied by 1.5 (or 0.5). Misses the missed-target rules below already handled are not counted twice.
Worked example
A routine line of 3 × 6–8 at RPE 8 on a barbell. Six sessions, newest first: 230 × 8, 230 × 7, 230 × 6, 225 × 8, 225 × 7, 225 × 6, all at RPE 8.
- 230 × 8 is the top of the range at the target RPE, so the load goes up and reps drop to 6.
- The trend is +1.21% per session, so the raw jump is 230 × 0.0121 × 3 ≈ 8.3 lb, which rounds to 10.
- Foundation (ceiling 11.5 lb): 240 × 6. Developing (ceiling 5.75 lb): 235.75, planned as 235 × 6.
- If the lift had stalled flat, the jump would be one step: 235 × 6. In kilograms, 100 kg × 8 becomes 102.5 kg × 6.
A lift you have never logged no longer opens on this planner. It opens the adaptive-sets brief (“Lab rat mode”) instead, and each set is paced from the RPE you report (Live Set Coach). That applies when the game plan has no target for the lift and it is a plain external load; bodyweight and assisted lifts still open here. If you tap “Use the planner instead”, or the lift has history but nothing usable in it, the planner uses your stored e1RM for today only, or your starting numbers from setup (Personalization), and with neither it asks you to enter a working weight rather than guess.
Building the plan
The default Strength structure is warm-ups, then a top set, then back-offs (a ramp or straight sets are one tap away, and the choice is remembered per exercise). History never picks the structure for you.
Back-offs: the first unlearned back-off is about 12% lighter (ratio 0.88). Its reps are what that load allows after one hard set, held between your target and two more. Later sets lose the per-set capacity loss from Warmups and fatigue. Straight sets keep the load and lose reps; ramp sets close to the top lower the whole ramp so the top stays the heaviest.
Rounding is deliberately conservative. A generated work load is rounded to a step the equipment can make, but never to more than 2.5% above the estimate, and after rounding no set after the top may need more than the capacity fatigue has left (1% tolerance), so Logex trims reps toward your target and then load. Consecutive generated back-offs never repeat the same load.
Worked example
Target 5 reps at RPE 8, top set 200 lb, 2 warm-ups, 3 work sets:
| Set | Load | Reps |
|---|---|---|
| Warm-up | 110 | 8 |
| Warm-up | 140 | 6 |
| Top | 200 | 5 |
| Back-off | 175 | 7 |
| Back-off | 165 | 7 |
Load steps and the light-load floor
| Equipment | lb step | kg step |
|---|---|---|
| Cable, bodyweight | 2.5 | 1.25 |
| Barbell, Smith, machine | 5 | 2.5 |
| Dumbbell | 5 | 2 |
| Kettlebell | 5 | 4 |
Other equipment uses 5 lb or 2.5 kg. On light loads, where one step is at least 10% of the load, a working set is never planned below the lightest working load of your last 6 sessions (drop sets aside). Fatigue trims reps there instead, by at most 4. A cable lateral raise done at 10 × 12 in a 10–15 range plans 10 × 13, 10 × 11, 10 × 11, not 5 lb. The floor is skipped for Deload and Peak 1RM, a Light day, a typed weight, and after a “too heavy” miss.
Identical consecutive working or back-off rows (same load and reps, none logged or edited) show as one row, like “Backoff ×3”, and two or more warm-ups fold into one row.
Weekly guidance: plus or minus one set
For Strength with an automatic set count, the weekly stimulus can change the count by at most one. It reads the muscles this exercise trains, your logged sets so far (counted as in Weekly volume), the current draft and the working sets of other accepted plans. Warm-up rows reserve nothing, because warm-ups never count as volume.
- If a muscle this exercise trains directly has already reached its target (logged plus reserved at least the target), the count drops by 1, if there is more than one. A synergist at its target never trims a lift: triceps at target does not cut a bench session whose job is the chest.
- Otherwise, if the projection (logged plus reserved plus count × the exercise’s per-set credit, 1 or 0.5) still falls short of a target, it rises by 1, up to 12.
For example, chest at target 10 with 12 already logged gives bench minus 1. Target 10, 2 logged and 3 sets at 1 per set projects 5, which is short, so plus 1. Explicit counts always win, and a failed weekly read changes nothing.
Confirming a plan remembers your usual count, from before today’s weekly +1, Intensity and Volume or a goal seed. Saving today’s nudged count used to make it creep (leg press went 2 → 3 → 4 → 5 sets). A count you change yourself is kept, and a count that had already crept opens at most one above what you actually log.
Intensity and Volume
Before a workout you can pick Intensity (Light, Moderate, Hard) and Volume (Low, Moderate, Large). Moderate and Moderate leave the plan exactly as above.
| Choice | Effect |
|---|---|
| Light | one point under today’s planned RPE, at most RPE 7, two more reps (up to the top of the range), and no light-load floor |
| Hard | one point over today’s planned RPE, at least RPE 9 and at most 9.5 |
| Low | one set fewer, never under one below the range’s minimum (or 1) |
| Large | one set more, never over one above the range’s maximum (or 12) |
A count set this way is fixed, so the weekly plus or minus one can’t undo it, and anything you edit wins. For 225 × 7 at RPE 8, Hard plans 230 × 7 at RPE 9 and Light 215 × 8 at RPE 7.
Adapting while you train
After you log a work set with an RPE, the remaining unedited rows are recalibrated:
calibration = clamp( loggedWeight ÷ plannedWeight × (1 + (targetRPE − actualRPE) × 0.035) , 0.9 , 1.1 )
Logging 200 at RPE 9 against a target of 8 gives 1 × (1 − 0.035) = 0.965, so later unedited loads come down about 3.5%, and are rounded to a loadable step. The row is labelled “adjusted from your RPE”. Rows you edited by hand are never touched, and logged sets are facts: the plan never rewrites them. An extra set you add beyond the plan is suggested from your last work set with a fatigue drop, not as a repeat.
When a set falls short
A ticked target set (not a warm-up, finisher, AMRAP, To failure or 1RM row) is a miss when it has fewer reps than planned, or a load under 98% of the planned load that extra reps don’t make up for. Logex asks why, and the answer changes the rest of today’s unedited rows:
| Reason | Rest of today | Next session |
|---|---|---|
| Too heavy, Form | one step lighter | lighter: the lower of 95% and one step less, same reps |
| Tired | the reps you reached | retry the same target |
| Short rest | unchanged; the rest goal goes up 30 s (to 5:00 at most) and is remembered | same target, more rest |
| Out of time, or no answer | unchanged | retry the same target |
Two misses in a row reset: the lower of 90% and two steps less, with reps at the bottom of the routine’s range. Only the newest session counts and only for the same goal, so a hit ends it. The plan shows a “Missed last time” pill with the reason behind the ⓘ, and tapping it plans as usual. Program days are excluded, because the program owns its own progression (Game plans, routines, programs and gyms). For a 225 × 8 target, “too heavy” plans 215 × 8 next time, and a second miss 202.5, rounded to a step, × 6.
The outcome is saved with the exercise (plan_outcome: the target, and the miss with its reason) and synced, so another phone plans the same way.
Volume: fit a tonnage target
Volume plans aim at working tonnage (weight × reps over work sets, warm-ups excluded). The baseline is either the average of your last 8 sessions in 90 days (“Match average”, default +0%) or your best logged session (“Beat best”, default +3%). Both percentages are editable.
target = baseline × (1 + increase ÷ 100)
The solver then picks reps (inside your range, default 8 to 12), a load and a set count. Every set keeps the same reps. Loads fall set to set by the capacity loss, and the whole thing is scored; the lowest score wins:
score = (shortfall ÷ target) × 3 + (overshoot ÷ target) + |sets − usual sets| × 0.04
+ max(0, 1 − firstLoad ÷ anchor) × 0.3 + |reps − midRange| × 0.002
The anchor is a load that gives mid-range reps at your target RPE (default 8), worked out from the same top-set capacity the strength day plans from (the e1RM only when there is none), so a volume session no longer plans a few percent under the last. The plan may go lighter than that (it is a ceiling) but never below half the anchor, stays near your usual set count (up to 12 when you set the count yourself) and reports a shortfall rather than an impossible plan. Weekly stimulus does not add sets to a volume plan.
Worked example
Average of recent sessions 5,000, usual 4 sets, range 8 to 12, a 160 lb anchor: the best-scoring plan is 140 × 9 for three sets, then 135 × 9, a total of 3 × 1,260 + 1,215 = 4,995, within 0.1% of target. If a target is out of reach, you see “Closest realistic plan reaches X% of your target” whenever the plan lands under 97%.
Peak 1RM: ramp to a single
Peak predicts today’s max from the median of up to three recent session-best estimates. Each qualifying set uses the mean of Epley and Brzycki with bounded RIR, and sets above 10 reps, warm-ups, drop sets and future or current sessions are ignored. An actual maximal single stays its actual load. A stored estimate is used only as a fallback for the current day, and missing evidence produces an editable weight entry rather than an invented max.
sessionBest = max over qualifying sets of ((w × (1 + e ÷ 30)) + (w × 36 ÷ (37 − e))) ÷ 2 e = min(10, reps + min(3, 10 − RPE))
peak = median of up to the 3 most recent sessionBest values
The default progression is 50% × 5, 70% × 3, 90% × 1, then one predicted single, based on the bench-press warm-up protocol in a published load-velocity study. Other counts interpolate the ramp, ratio = 0.5 + 0.4 × i ÷ (count − 1), with reps of 5 up to 55%, 3 up to 75%, 2 up to 85% and 1 above. Rests are 60, 120 and 180 seconds (240 for the single). Applying one protocol across exercises is an app heuristic, not something the study validated, and everything stays editable.
Worked example
Three recent sessions: 200 × 3 at RPE 8, 195 × 5 at RPE 8, 190 × 5 at RPE 9. Session bests are 229.2, 237.3 and 224.3, so the median, and the predicted max, is 229.2. The plan is 115 × 5, 160 × 3, 205 × 1 and then a 1RM single at 230.
Deload
A lighter session built from your usual numbers: anchor about 85% of your usual working weight, reps equal to your usual reps limited to 3 to 8, RPE 6, half your usual working sets rounded up and at most 2 warm-ups. These are editable starting points, not a measured recovery prescription. With usual weight 200, 5 reps and 3 sets the deload is 2 sets of 5 around 170.
Bodyweight and assisted lifts
For pull-ups, dips, push-ups and assisted machines the planner works on the load actually moved (a share of your bodyweight plus the added weight, or minus the assistance; see The exercise catalogue, bodyweight and assisted loads). Only at the end is each proposed load turned back into what you type and snapped to the equipment’s step, so cutting assistance reads as progress, not as a lighter session. These plans start with no warm-up rows.
Limits and edge cases
- Conservative on purpose. Rounding, caps and the plus or minus one rule exist so that a plan is always something a person could actually load and lift.
- Duplicate history. An earlier bug duplicated sets in history. Logex now collapses copies of the same logical set (same exercise row, set number, load, reps and type) when it reads, which keeps counts honest.
- The plan does not know your day. It reads only this exercise. Daily advice is a starting point, not a measure of readiness, and weekly coverage never lowers effort.
- Hard after a break. Intensity is applied after the return-after-21-days easing, so Hard still plans at least RPE 9 on a return.
- Kilograms. Everything is solved in pounds and snapped to steps in your unit, so a kilogram user gets 2.5 kg steps.