Stats: read the effort back — trend, distribution, hard sets, per exercise
Rating a set only paid off inside the set label until now: Stats never looked at rir/rpe at all. It reads them now, in four places. lib/effort.js aggregates everything in RIR and converts back to whichever scale the profile reads. A history that mixes the two — own logs in RIR, an imported file in RPE — has to average as one series or every chart draws half the data, and RIR is the internal unit because its zero is real where RPE's floor of 6 is a convention. - an Effort card: average and share of sets taken near failure, the week-by-week curve with the week's volume in the tooltip, and where the sets land on the scale - the muscle map gains a hard-sets mode: a muscle can lead on volume and still never be trained near failure - Exercise progress carries effort on the top-set dots and as a curve of its own — the same weight with more left in the tank is progress a weight-only line draws flat - LineChart learns an inverted axis (RIR counts down as it gets harder) and per-point marks Every number carries how much of the training it speaks for: rating is optional and off by default, so an unrated set is left out rather than read as failure, and an average waits for five rated sets before it claims to be one.
This commit is contained in:
1 parent
4c829b6d1f
commit
caaf61d91e
7 files changed
+503
-21
No files matched your search
@@ -784,6 +784,9 @@ h4.sec{
|
||||
.mrow .bar{width:74px;height:5px;border-radius:3px;background:var(--surface-2);flex:none;overflow:hidden}
|
||||
.mrow .bar i{display:block;height:100%;background:var(--acc);border-radius:3px}
|
||||
.mrow .v{font-size:12px;color:var(--label-2);min-width:52px;text-align:right;flex:none}
|
||||
/* A headline number inside a card — tile weight without a tile around it, for the pair of
|
||||
readings at the top of the effort card. */
|
||||
.stat-v{font-size:26px;font-weight:600;letter-spacing:-.026em;line-height:1.1}
|
||||
.mchips{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
|
||||
.mchip{font-size:12px;padding:4px 9px;border-radius:99px;background:var(--surface-2);color:var(--label-2)}
|
||||
.mchip.miss{background:color-mix(in srgb,var(--orange) 16%,transparent);color:var(--orange)}
|
||||
|
||||
Reference in new issue
Block a user