© TrailAndKale.com — Training Plan Builder CHANGELOG ============================================================= TAK versioning mirrors AR versioning. The algorithm is identical between the two tools; TAK is rebuilt from the AR file with branding swapped. TAK-2.26 / AR-2.26 (2026-10-18) — full algorithm audit and rebuild Verified with an automated harness (13 scenario plans, 5K to 100-mile, road and trail, miles and km, Friday/Saturday/Monday/Sunday races) plus a headless UI test of the complete form → generate → unit toggle → print → edit flow, run against this TAK file as well as the AR file. ALGORITHM FIXES - Short-race long runs fixed: the 95%-of-race-distance cap now applies only from 25K upward. 5K/10K/half long runs progress properly (5K peaks 5/7/9 mi, 10K 6/8/10, half 10/12/14 by level). - Easy runs capped at 75% of the week's long run (max 12 mi / 19 km); a plan that cannot hold the runner's volume on the chosen days says so in the summary. - 10–15% rule enforced against realized weekly volume; step-backs at 75%; taper as a fraction of the peak actually reached; continuous phase curve. - No step-backs inside short Peak blocks; long run −20% on step-back weeks; trail hill day becomes a steady Hilly Run on step-back weeks. - Peak-volume floors for half (22 mi) and marathon (35 mi); long run start point respects the runner's base. - Weekly elevation equals the sum of the day cells (normalized weights, gradient caps, largest-remainder rounding to 100). Elevation peaks in the last pre-taper week and tapers with volume. - Final seven days handled by calendar day: 1–2 out rest, 3–6 out shakeout, race on the right day; last taper long run relocates to six days out for early-week races (fixes Friday/Monday races). - Run/walk only for beginners under ~16 km (10 mi) per week. - Goal time "1:45" for a half read as 1h45; invalid paces rejected with a message; goal time only used when Time Goal is selected. - Pace model per distance (threshold, 10K reps, race pace); tempo progresses from threshold toward race pace; hill repeats sized as "6 × ~80 m hill"; Base and taper hill days are steady hilly runs. TEXT / UNITS - Interval reps in km for km plans; tempo parts add up to the badge distance; summary peak is the real peak (km double-conversion fixed); race name used on race day; trail time-goal wording; punctuation fixes; "Wk 9" chips. UI - Typing distance/mileage no longer re-renders the form (focus kept); unit toggle regenerates a shown plan in the new unit; dates on screen day cards; print restore via afterprint; calendar opens on race month; validation messages; day of week on race date card and print stats. TAK-SPECIFIC - Header version label corrected (file previously said TAK-2.24 while carrying v2.25 logic). Branding, favicon logo (36px square) and Ghost CSS overrides carried over unchanged. TAK-2.25 / AR-2.25 (2026-05-04) Plan start anchored on Monday of race week. TAK-2.24 / AR-2.24 (2026-05-04) nextMonday() fix; print cell dates. TAK-2.23 / AR-2.23 (2026-04-23) 0.5 snapping; print descriptions; contrast. TAK-2.22 / AR-2.22 (2026-04-23) Race Name field. TAK-2.21 / AR-2.21 (2026-04-23) Race week built around race day of week. TAK-2.20 / AR-2.20 (2026-04-23) Gradient caps; file renamed to -v2. TAK-2.19 … TAK-2.17 (2026-04-23) Elevation and state fixes. TAK-1.0 (2026-03-30) Initial TAK version based on AR v2.16.