Rene Saarsoo
6bbdea1908
Generate <Ramp> tags in ZWO
...
- When range-interval at start: generate <Warmup>
- When range-interval at end: generate <Cooldown>
- Otherwise use <Ramp>
2021-03-21 15:04:18 +02:00
Rene Saarsoo
cec3c57477
Recognize "Ramp" intervals
2021-03-21 14:51:32 +02:00
Rene Saarsoo
93684069f0
New meaning of negative offsets (breaking change)
...
Instead of always being relative to interval end,
negative offsets are now relative to next comment
(or the interval end, when there is no next comment).
2021-03-02 23:32:05 +02:00
Rene Saarsoo
574272602f
Positive comment offset syntax: +01:00
2021-03-02 21:58:34 +02:00
Rene Saarsoo
ba92dd50d1
Use separate offset token for comments instead of duration
2021-03-02 21:37:51 +02:00
Rene Saarsoo
99dd16199d
Simplify normalizedIntensity calculation
2021-01-27 12:53:27 +02:00
Rene Saarsoo
22f71ba51f
Skip uninteresting snapshots
2020-12-26 17:50:10 +02:00
Rene Saarsoo
9012a38917
Check that comments don't extend past interval end
2020-12-26 17:48:29 +02:00
Rene Saarsoo
dd6410d896
Ensure comments are at least 10 seconds apart
2020-12-26 17:41:53 +02:00
Rene Saarsoo
bfae2b12e0
Detect overlapping comments
2020-12-26 17:31:01 +02:00
Rene Saarsoo
6200dc75c1
Assign the same TSS score to FreeRide as Zwift does
2020-12-25 20:25:54 +02:00
Rene Saarsoo
9a2e3dafc9
Add missing loc props to tests
2020-12-25 20:19:20 +02:00
Rene Saarsoo
f2b293ba21
Expose ValidationError.loc
2020-12-25 19:59:21 +02:00
Rene Saarsoo
7b30277143
Export also ValidationError & combined exception union
2020-12-25 19:55:25 +02:00
Rene Saarsoo
effa11ad75
Expose SourceLocation data type
2020-12-25 15:43:04 +02:00
Rene Saarsoo
c958e5e007
Expose ParseError publicly
2020-12-25 15:33:01 +02:00
Rene Saarsoo
c6aa02bb06
Expose SourceLocation in ParseError object
2020-12-25 15:31:08 +02:00
Rene Saarsoo
7910e74367
Remove chunkRangeIntervals() export
2020-11-23 05:27:59 +02:00
Rene Saarsoo
a0bf62998e
Expose intensityValueToZoneType() function
2020-11-22 22:34:46 +02:00
Rene Saarsoo
38fb79b2a3
Additional Range interval tests
2020-11-22 20:39:06 +02:00
Rene Saarsoo
92b21d2095
Additional Freeride test data
2020-11-22 20:33:28 +02:00
Rene Saarsoo
798b05c014
Validate negative offsets
2020-11-21 21:27:05 +02:00
Rene Saarsoo
90e1664ed6
Support negative comment offsets
2020-11-21 21:22:29 +02:00
Rene Saarsoo
ea00d550fe
Use comment source location in validation error
2020-11-21 21:04:58 +02:00
Rene Saarsoo
2f7b11d4ac
Add source location data to comments
2020-11-21 21:01:40 +02:00
Rene Saarsoo
1a720c2b21
Validate comment offsets
2020-11-21 20:58:00 +02:00
Rene Saarsoo
51590f1f61
Additional Range-interval test data
2020-11-21 18:30:49 +02:00
Rene Saarsoo
cb7e439a90
Additional Freeride test data
2020-11-21 18:28:43 +02:00
Rene Saarsoo
b269a77219
Include xp data to stats() output
2020-11-20 17:56:19 +02:00
Rene Saarsoo
410edccf66
Order XP checks from highest to lowest XP yield
2020-11-20 17:52:16 +02:00
Rene Saarsoo
7d20ed3ced
Tests for FreeRide intensities XP
2020-11-20 17:50:45 +02:00
Rene Saarsoo
8d0446756c
Fill some gaps in steady-state interval test data
2020-11-20 17:40:34 +02:00
Rene Saarsoo
61a4837afe
More precise repeated interval XP calculations
2020-11-20 17:39:01 +02:00
Rene Saarsoo
e3ed1a2e0d
XP calculation for repeated intervals
2020-11-20 14:14:24 +02:00
Rene Saarsoo
f134c4cf97
Initial XP calculations
2020-11-20 13:21:54 +02:00
Rene Saarsoo
8e4c72233c
Add tags to generated ZWO XML
2020-10-06 16:47:48 +03:00
Rene Saarsoo
30a5e3b42b
Parsing of tags
2020-10-06 16:39:28 +03:00
Rene Saarsoo
77661ca6d7
Add tags field to Workout interface
2020-10-06 16:29:53 +03:00
Rene Saarsoo
919996dd09
Avoid instanceof RangeIntensity checks
2020-10-06 13:27:11 +03:00
Rene Saarsoo
98f10971b3
Avoid instanceof FreeIntensity operation
2020-10-06 13:22:08 +03:00
Rene Saarsoo
265ae5db1b
Allow any interval type to be without power target
2020-10-06 13:19:35 +03:00
Rene Saarsoo
0d6f61913c
Allow untitled workouts
2020-10-04 13:20:04 +03:00
Rene Saarsoo
adebc3d460
Handle short workouts when calculating normalized intensity
2020-10-04 13:13:52 +03:00
Rene Saarsoo
77c6a721d4
Separate formatting of stats
2020-10-03 17:35:09 +03:00
Rene Saarsoo
c1a435e4d0
Classify free intensity duration to separate zone
2020-10-03 17:15:47 +03:00
Rene Saarsoo
c69a24c0e3
Tests for zoneDistribution
2020-10-03 17:05:53 +03:00
Rene Saarsoo
2be2c9254c
Add freeride to zone types
2020-10-03 16:40:58 +03:00
Rene Saarsoo
dcf851294d
Rename tss2 to tss
2020-10-02 16:39:56 +03:00
Rene Saarsoo
d274ea69a9
Delete old alternative TSS calculation system
2020-10-02 16:38:55 +03:00
Rene Saarsoo
72a02f2d19
Implement chunkRangeIntervals() utility
2020-10-02 13:38:17 +03:00