Bug Report
Type: Bug
Reporter: shredness_10860
Device: Pixel 9 XL Pro
OS: Android v17
App Version: 0.9.6 (post AMRAP fix)
Repo: Mobile (project-phoenix-mp)
Summary
Completed reps are logged as one short of actually completed. When a user completes ROM reps followed by a working set, the final rep count in the log is off by one.
Steps to Reproduce
- Select any exercise
- Set reps to 7
- Start exercise
- Complete first 3 ROM reps
- Complete the working set of 7 reps
- Review log
Expected Behavior
7 reps should be recorded in the workout log.
Actual Behavior
Only 6 reps are recorded in the workout log.
Impact
Rep counting is inaccurate for exercises with ROM reps followed by working sets. This affects workout tracking accuracy and could impact user progress records. The issue appears to be an off-by-one error in rep counting logic, possibly related to how ROM reps and working set reps are tallied.
Notes
- Reporter mentions this is "post AMRAP fix" — may be a regression from recent AMRAP-related changes
- Affects any exercise when ROM reps are completed before the working set
Original Discord Report
<@1502654170031849644> Completed reps are logged as one short of actually completed.
Device: Pixel 9 XL Pro
OS: Android, v17
App: Version 0.9.6 (post AMRAP fix)
steps to reproduce:
-select any exercise, set reps to 7.
-start exercise, complete first 3 ROM reps, complete the working set of 7 reps.
-review log, only 6 reps recorded.
Bug Report
Type: Bug
Reporter: shredness_10860
Device: Pixel 9 XL Pro
OS: Android v17
App Version: 0.9.6 (post AMRAP fix)
Repo: Mobile (project-phoenix-mp)
Summary
Completed reps are logged as one short of actually completed. When a user completes ROM reps followed by a working set, the final rep count in the log is off by one.
Steps to Reproduce
Expected Behavior
7 reps should be recorded in the workout log.
Actual Behavior
Only 6 reps are recorded in the workout log.
Impact
Rep counting is inaccurate for exercises with ROM reps followed by working sets. This affects workout tracking accuracy and could impact user progress records. The issue appears to be an off-by-one error in rep counting logic, possibly related to how ROM reps and working set reps are tallied.
Notes
Original Discord Report