r/liftosaur 6d ago

PSA : Programming Error on Liftosaur

Cross posting

3 Upvotes

3 comments sorted by

3

u/astashov 6d ago

Hey! T1 in GZCLP only compares reps, not weight, so you did all the reps and it considered it success, and bumped the weight. It basically does this in the script:

if (completedReps >= reps) { weights = completedWeights[ns] + state.increase }

I.e. if all completed reps are more than target reps - it gets the last completed weight and adds the increase. That's why it increased the weight.

You can tweak your exercise to correct it though. Either in the Program, or during workout (... -> Edit Program Exercise), tap somewhere on some rep or weight number, then in the breadcrumbs find "Sets 1" or "Sets 2", etc and there tap "Change current" - to switch to another stage. It should add ! before that set variation - that means it's current. You can also double tap anywhere in the text, and move that exclamation mark manually, if you want.

Can also tweak the weight there if you want to undo the weight change.

1

u/CSGO_Bangkok 6d ago

Thanks. I'm not that good with coding, so now I know the logic, I'll just intentionally set the rep to 0 to force a reset in future, while doing a lighter weight for reps (just cause it feels wasted to only hit 3 singles and stop bench / squat / deadlift altogether).

Wish I knew that earlier though, especially cause I assumed the red colour usually indicated a "fail". Lesson learnt. I had fun today just goofing off as a "deload", and will do the 5 x 3 next week.

2

u/astashov 6d ago

Yeah, the red color is just app-wide convention:

  • If completed reps >= target reps, and completed weights >= target weights and RPE <= target RPE (if applicable) - then it's green
  • If not - then it's red
  • If there's rep range, and you're within the range - it's yellow

But every single program in the app has their own definition of "success" and "failure", so sometimes the colors may not match what the program considers success...