Game plans, routine variations, programs and gyms

How Build my game plan sizes a session and picks lifts from what each muscle still needs this week, what each routine variation changes, how training programs are recommended and advanced, and why machine lifts compare only with sessions at the same gym or on the same machine.

10 min read

  • game plan
  • weekly needs
  • routine variations
  • swaps
  • programs
  • gyms
  • machines

Besides picking lifts yourself, there are three ways to decide what goes into today’s workout. The game plan builds a session from your week, a routine runs a session you saved (in one of seven variations), and a program follows a published or Logex schedule. Once you’re lifting, the gym you’re in decides which past sessions a machine lift is compared with.

In plain terms. The game plan works out how many sets each muscle in today’s focus still needs this week and fills them with lifts you know, never straying outside today’s focus. Routine variations change a routine for one day only. Programs advance only when you lift what they prescribe. Machines differ from gym to gym, so a machine lift is compared only with sessions on the same machine, or at the same gym.

Build my game plan

How big today is

The session size is your usual number of lifts: the median across recent workouts that had at least 2 lifts, once there are 3 of them, held between 3 and 8. Until then it is 5. Shorter is two fewer (at least 3), Longer two more (at most 9). The set budget is lifts × 3.5, rounded.

Pillars first

Pillars are the lifts the day is built around: lifts you queued from earlier workouts (a PR attempt, a goal step or a load change, newest first, one per lift), then your goal lifts. A lift that is both a goal and queued from last time ranks first. There are at most 3 pillars, and at least one lift is left for the rest. Each gets its target’s sets, else 3. A queued lift joins only if it matches today’s push or pull and directly trains a muscle in today’s focus.

What each muscle still needs

For every muscle in today’s focus:

  • Target: your newest active muscle goal’s weekly sets, else the muscle’s MEV from Weekly volume.
  • Aim: your usual weekly sets if that is higher, up to the top of MAV.
  • Left: aim minus this week’s sets. Under 2 sets left, the muscle counts as covered. Over MRV, it is blocked and you see a warning instead.
  • Today’s share: what’s left spread over the sessions it usually still gets this week, at least 2 and at most 6 sets.
sessionsLeft = max(1, min(usualSessions − sessionsDone, ceil(daysLeft ÷ 2)))      usualSessions defaults to 2
today        = min(ceil(left), clamp(ceil(left ÷ sessionsLeft), 2, 6))

On whole-body days a muscle that got 3 or more direct sets yesterday, or earlier today, rests.

Needs are ranked by what kind of gap they are, with bonuses on top:

Need Score
Overdue (2+ weeks) 62 + 3 per week since, up to 4 weeks
Untouched this week 52
Lagging (usual under 80% of target) 46 + up to 20, by how far under
Not trained often enough 44
Short of target 30
Behind pace 24

Up to +15 for how much of the aim is left, +4 for a big muscle (chest, back, quads, hamstrings, glutes), +25 if it feeds a goal, +15 for a focus muscle from your profile, and +30 for a queued make-up in today’s focus.

Picking the lifts

The highest-scoring need is filled first. Each lift already chosen for a muscle costs it 12 points, so a short session spreads across muscles before it doubles up. A share of more than 4 sets is split in half across two lifts. Every lift’s sets count toward every muscle it trains, so a squat chosen for quads also covers glutes, and pillars count too. When every share is met and there’s room left, each need tops up once, to at most 6 sets.

A lift qualifies only if it directly trains the need and every muscle it trains directly is in today’s focus. That’s how a push day never picks a lift that pulls. Among those, familiar lifts score highest (2 points plus a bonus that grows with how often you’ve logged it), then lifts that also cover another open muscle, lifts built for the muscle, and a compound as the first lift for a big muscle. Repeating a movement already planned costs points, and equipment you don’t have is left out unless you’ve logged the lift before. The next two candidates become the lift’s swap options.

Active goals get up to 2 accessories, goals whose lift is a pillar first. An accessory must directly train a muscle in today’s focus, and a goal whose lift isn’t on today’s plan gets one only while that muscle still needs sets.

Lifts come in the order you usually do them. A lift with no habit yet goes early if it’s a compound, late if not.

Why this plan, and changing it

The “Why this plan” card gives a headline (for example, “Legs haven’t been trained this week, so today leans there”), what drove it, and each muscle’s week before and after today. You can choose Shorter, Usual or Longer, leave a muscle out, or swap any lift.

In the planner, the ⓘ opens How this plan was built: why this lift is here today (with “Use N sets” when the plan counted on a different number), where the numbers start, what was adjusted for today (each with a switch), what it adds up to for the week, and broad changes. The planner’s own rules are in Adaptive set planning.

On the game plan card in a workout, a pillar can be done now, queued for later or skipped today (a skipped queued item is dismissed). An app pick can be turned down with Not for me, which hides it for 21 days. That choice is stored on your phone only.

Separate from the game plan, the first two exercise suggestions of a session lead with a barbell or trap-bar compound (dumbbell or kettlebell if there’s none), as long as it fills at least 60% of the best option’s gap.

Routine variations

Starting a routine offers Today’s version. A variation is a recipe applied when you start. The saved routine is never written, so editing the routine changes every variation with it.

Variation Exercises Effort Sets per lift
Normal as saved your routine’s your routine’s
Quick main lifts only your routine’s your routine’s
Light as saved your routine’s at most 2 main, 1 accessory
Recovery as saved Light (RPE 7) at most 2 main, 1 accessory
Long two extra your routine’s your routine’s
Push it as saved Hard (RPE 9) at least 5 main, 4 accessory
Shuffle about a third swapped your routine’s your routine’s
  • Quick keeps the larger of 3 and 60% of the lines, and only shortens a routine of more than 3. Accessories go before compounds and later lines before earlier ones. The first lift always stays.
  • Long adds up to two lifts, each a different movement for the muscles of an early lift (no second squat after squats), preferring an isolation.
  • Shuffle swaps the larger of 1 and a third of the lines, never the first, for one of the top three “same movement” stand-ins. Picks hold for the day; Re-roll draws again.
  • Light never adds a set and Push it never removes one: a routine line saved at 6 sets stays at 6.

The ⇄ on any line swaps it for today. The swap sheet ranks candidates by 3 points for the same swap group, 1 for the same movement pattern, up to 2 for sharing the original’s direct muscles (indirect ones count half), and +0.5 if you have the equipment (−1 if not), and lists the top 12. A swapped line keeps the original’s sets × reps and superset, but not its cable attachment, sides or tempo, which belonged to the old exercise.

Training programs

Routines → Programs lists nine programs:

Program Days a week Kind
Casual 2-day full body 2 template
StrongLifts 5x5 3 prescribed
3-day full body for size 3 template
GZCLP 4 prescribed
5/3/1 Boring But Big 4 prescribed
PHUL 4 template
Smolov Jr 4 prescribed
5-day upper, lower, push, pull, legs 5 template
Reddit PPL 6 template

Prescribed days store exact loads. Template days store set and rep ranges with an RPE, and the planner picks the weights from your history. Smolov Jr stays locked until your level is above Foundation.

Find my program

Four questions, prefilled from your profile: goal, days a week (2 to 6), experience and time per session. Each has a neutral “Not sure”. The answers score every program:

Answer Points
Days match exactly +40
One spare day +30, minus 6 for each further spare day
One day short −35
Two or more days short −60, and the fit is poor
Goal matches / is adjacent +35 / +12
Level matches / doesn’t +15 / −10
Session fits your time (within 15 min) / runs over +10 / −10
Needs equipment your profile doesn’t list −15

Fit bands sit at 70, 45 and 15 points. With fewer questions answered, the bands scale to the points available. Programs are sorted by fit, then score.

Advancing

A prescribed day advances on prescribed-load work only. Warm-ups and technique sets are ignored, a lift with no logged sets is left out, and a lift done more than 2.5% lighter than prescribed doesn’t count, so the program holds that lift. If nothing counts, the day stays open. A template day completes on any working set. Free and off-program workouts never move a program, and missed-target adjustments are switched off on program days because the program owns its progression.

Skipping moves the schedule on without changing training maxes or stages. A skipped day can be restored while nothing after it is completed. Leaving keeps the history, and starting a new program leaves the active one. Home’s Today card leads with “your next session” for the program, unless you’ve already trained today or you’re drained after two or more days in a row. Program state syncs through its own server functions, newest change wins.

Gyms and machines

A leg press at one gym is not the leg press at another. So each workout can record its gym, set on the setup screen (“Where are you training?”) or in Session details. Machine, cable and Smith exercises (plus, when no implement is set, leg presses, hack squats, pec decks, leg extensions and curls, and rope and pulley lifts) are then compared only with comparable sessions. Free weights and bodyweight lifts compare everywhere.

Today Compared with
At a gym, no machine named Sessions at the same gym, plus sessions with no gym recorded
A machine named That machine at any gym, plus sessions at today’s gym that named no machine

A different machine at the same gym doesn’t count. If nothing comparable has working sets, Logex uses all of your sessions and says so (“First time on … · using all your sessions”, or “Using all your sessions · name the machine”), so you’re never left without a baseline. The scope covers last time, records, the session count, set suggestions and the quality score saved with the workout.

The first time you name a gym, Logex asks which earlier workouts were there: all of them, only those since a date (up to 12 months back), or none. Untagged workouts keep counting at every gym. Under Setup → Machine you can name the machine, starting from your past machines or common brands, and the last machine you named at a gym is filled in next time you’re there. Gym names are up to 40 characters, machine names up to 60, and both match without regard to case or spacing.

Limits and edge cases

  • The game plan only reads what you’ve logged. A muscle trained outside Logex looks untouched.
  • Not for me is per device. Turning a lift down on one phone doesn’t hide it on another.
  • Two cards, one machine. If the same exercise appears twice in a workout, both cards compare using the first card’s machine. Routine lines don’t remember a machine.
  • No gym today. With no gym set, sessions recorded at a named gym drop out of a machine lift’s comparison, unless that leaves none, in which case everything is used.
  • Program numbers that aren’t verified. Some numbers in the published programs (for example Smolov Jr’s later weekly additions and the GZCLP reset ratios) are marked unverified in the code, and the Logex templates and recommender weights are coaching judgement, not research.

Source

Written from these files in the Logex app (release head). Constants and formulas above are copied from them.

  • utils/gamePlan.js
  • hooks/useGamePlan.js
  • components/GamePlanSheet.js
  • components/GamePlanCarousel.js
  • components/ExercisePlanForm.js
  • utils/planningTargets.js
  • utils/lifterFocus.js
  • utils/suggestionRanking.js
  • utils/routineVariations.js
  • utils/exerciseSwap.js
  • utils/sessionKnobs.js
  • app/workout/start.js
  • app/workout/add.js
  • utils/programs/index.js
  • utils/programs/recommend.js
  • utils/programs/template.js
  • services/programService.js
  • services/programSync.js
  • utils/todayPlan.js
  • utils/gymScope.js
  • utils/exerciseTaxonomy.js
  • services/gymService.js
  • components/GymChooser.js
  • services/workoutService.js