Under the hood
How Logex works
Every number the app shows comes from a small, readable piece of code. These posts explain each one in plain language, then show the real formula, the constants, a worked example and where it stops being reliable.
New here? Start with the map of the engines.
- The map of the enginesHow one logged set flows through Logex: which sets count, how it becomes an estimated 1RM, and which engines read it to grade your session, plan the next one and track your week.7 min
- Estimated 1RM and rep bandsThe one number behind almost everything in Logex: the Epley estimate of your one-rep max, how it is stabilised across a session, the three rep bands, and where effort-aware variants take over.6 min
- Strength standards and tiersHow Logex turns a lift, your bodyweight and your sex into a tier from Untrained to Elite: the reference tables, the nearest-bodyweight lookup, which number is compared, and the known rough edges.5 min
- Set quality, baselines and badgesHow Logex scores a session against your own history: the baseline it picks, the set and exercise quality formulas, the 14 positive-only badges and their thresholds, plateau-aware badges and badge latching.9 min
- The Live Set CoachHow the card under your sets grades today against last session and your best, estimates what you have left in the tank, and solves for the next set that beats a target.8 min
- Warmups and fatigueHow Logex models tiredness and warmth: capacity lost per hard set, the exercise-order fatigue multiplier, dynamic warm-up trims and learning from your own logs. The multiplier scales expectations only. PRs never scale.12 min
- Weekly volume and sub-musclesHow Logex counts fractional sets per muscle (1 for the muscles that move the load, 0.5 for synergists), which sets count, the volume landmarks (MV, MEV, MAV, MRV) and zones, and how sub-muscles such as triceps heads and upper chest are tracked.11 min
- Smart suggestions and routinesHow Logex picks the next exercise (gaps, projected coverage, familiarity and your usual order) and how it checks, completes and scores a routine: capture, stimulus analysis, gap priority and today's set counts.9 min
- Adaptive set planningHow the planner builds your warm-ups and working sets for Strength, Volume, Peak 1RM and Deload: which history it reads, the daily strength recommendation, the volume solver, and how the plan adapts to RPE and your week.9 min
- The Progress hub: PRs, plateaus, goals and projectionsHow the Progress tab turns your history into session series, PR flags, plateau detection, trend lines, goal status and projected dates, a ranked 'worth a look' feed, balance ratios, monthly recaps and the home insights.11 min
- Personalization: how your profile changes the knobsExactly what each profile answer changes in Logex: volume ranges, plateau windows, strength defaults, starter splits, equipment filters, starting-weight hints and goals. An empty profile gives the plain defaults.7 min
- Units, storage and syncWhy every weight is stored in pounds, where kilograms and plate rounding happen, what lives in the local SQLite database versus on the device versus your account, how pushes reach Supabase directly, and how the retry queue and its safety guardrail work.9 min
- The exercise catalogue, bodyweight and assisted loadsWhere each exercise's muscles come from (direct, indirect and stabilizer roles backed by cited studies or stated biomechanics), how the 316 built-in exercises are generated, and what the weight field means for pull-ups, dips, push-ups and assisted machines.8 min
- Set types, attachments and supersetsWhat each set type counts toward, how drop sets and rest-pause are proposed from your own history, why a cable attachment changes which sessions you're compared with, and how supersets alternate exercises without cramming them onto one screen.5 min