wger icon indicating copy to clipboard operation
wger copied to clipboard

Dynamic workouts

Open adrianlzt opened this issue 1 year ago • 9 comments

Use case

Be able to select which day (set of exercises) should the client do based on a set of rules.

Proposal

Instead of having a fixed schedule of which exercises should be done each day, introduce a new option to "code" which day you should do.

This decision could be based of the measurements of the last workouts, or in a measurement made that same day after warming up.

Example, if you have a device to measure max strength or speed, you can do some measures after warming up, introduce them as "measurements" and let the dynamic workout choose which "day" (set of exercises) you should be doing.

Code: https://github.com/adrianlzt/wger/tree/feature/dynamic_days https://github.com/adrianlzt/wger-react/tree/feature/dynamic_days

https://github.com/wger-project/wger/assets/3237784/37612863-079d-4df2-8bea-8dfed0a24df2

adrianlzt avatar Jan 24 '24 07:01 adrianlzt

You're on fire :D

So this would activate / deactivate the days based on some custom logic, right? Perhaps you would like to hop in a call sometime? That's probably the easiest to discuss such changes

rolandgeider avatar Jan 24 '24 13:01 rolandgeider

Sure! Maybe friday?

adrianlzt avatar Jan 24 '24 14:01 adrianlzt

Better during the weekend, I should be free any time (I'm in GMT+1)

rolandgeider avatar Jan 25 '24 19:01 rolandgeider

Sunday around 18:00 UTC+1?

El jue, 25 ene 2024 a las 20:09, Roland Geider @.***>) escribió:

Better during the weekend, I should be free any time (I'm in GMT+1)

— Reply to this email directly, view it on GitHub https://github.com/wger-project/wger/issues/1564#issuecomment-1910819540, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYWPGFVDT2VBCVBXCYP63DYQKUV3AVCNFSM6AAAAABCIJF5RSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQHAYTSNJUGA . You are receiving this because you authored the thread.Message ID: @.***>

adrianlzt avatar Jan 26 '24 11:01 adrianlzt

sounds good 💪🏻

rolandgeider avatar Jan 26 '24 11:01 rolandgeider

sounds interesting, but the video doesn't seem to work for me.

Dieterbe avatar May 03 '24 09:05 Dieterbe

Hmm, I was able to download the mp4 and open it with VLC. I have uploaded it to youtube: https://youtu.be/KT18r4THPKY

adrianlzt avatar May 03 '24 13:05 adrianlzt

thanks! interesting idea. so you would test a 1RM for an exercise, and based on that, decide whether to train that exercise on that day? do i get it right? that seems like a fairly "expensive" test, affecting your workout volume. also, if you reach a plateau or poor performance for a few days for whatever reason (e.g. sleep, vacation), it might tell you not to train any of the programs, and you start to get weaker and it will still tell you not to train, starting a vicious circle?

why not do it based on recovery? e.g. suggest exercises or a program if those exercises or muscle groups haven't been hit for a certain amount of days?

Dieterbe avatar May 03 '24 14:05 Dieterbe

I'm not a trainer, just someone who has been training for a while, so I could be wrong.

The idea is to use some measure that could indicate your current state without impacting it. 1rm indeed in too expensive, so you could approximate it measuring velocity ( https://www.vbtcoach.com/blog/1rm-and-velocity-based-training-vbt-a-complete-guide ). Or, for isometric exercises (I do climbing "hangs") measuring the peak force with a dynamometer (like https://tindeq.com/product/progressor/).

If the loss of max strength/speed is higher than x%, probably it's better to avoid training max force and do another kind of exercise until fully recovered.

What happen if you don't reach never again that level of force? Good question, but I guess, in the short term, you will always come close enough to your peak force, if not, maybe to are overtraining.

I think the problem with rest time is that does not take into account all the variables that could affect performance, sleep, stress, eating, over trained, etc.

El vie, 3 may 2024 22:06, Dieter Plaetinck @.***> escribió:

thanks! interesting idea. so you would test a 1RM for an exercise, and based on that, decide whether to train that exercise on that day? do i get it right? that seems like a fairly "expensive" test, affecting your workout volume. also, if you reach a plateau or poor performance for a few days for whatever reason (e.g. sleep, vacation), it might tell you not to train any of the programs, and you start to get weaker and it will still tell you not to train, starting a vicious circle?

why not do it based on recovery? e.g. suggest exercises or a program if those exercises or muscle groups haven't been hit for a certain amount of days?

— Reply to this email directly, view it on GitHub https://github.com/wger-project/wger/issues/1564#issuecomment-2093094244, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYWPGFAGMYHGY3YPTAQN73ZAOKWRAVCNFSM6AAAAABCIJF5RSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJTGA4TIMRUGQ . You are receiving this because you authored the thread.Message ID: @.***>

adrianlzt avatar May 03 '24 14:05 adrianlzt