Commit Graph

109 Commits

Author SHA1 Message Date
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
Rene Saarsoo e62359a553 Add maximumIntensity helper 2020-10-02 12:14:48 +03:00
Rene Saarsoo f20976b00b Export intensityToZoneIndex 2020-10-02 12:04:15 +03:00
Rene Saarsoo 53344b22ce Create interface to govern all Intensity classes 2020-10-02 11:59:54 +03:00
Rene Saarsoo 1df9f8e1d7 Move generic tests out of src/ dir 2020-10-02 11:38:11 +03:00
Rene Saarsoo 423012024b Create generic zone-index detection helper 2020-10-02 11:35:04 +03:00
Rene Saarsoo 14930e748e Export totalDuration() 2020-10-01 23:32:29 +03:00
Rene Saarsoo c9e71dc244 Export types 2020-10-01 22:41:04 +03:00
Rene Saarsoo bdba0ecc52 Change main index file to only perform export of functions 2020-10-01 20:32:23 +03:00
Rene Saarsoo 7f35a9a6b1 Add the missing <workout> tag :) 2020-10-01 20:04:21 +03:00
Rene Saarsoo ac126f36da Implement FreeRide intervals 2020-09-30 23:26:01 +03:00
Rene Saarsoo eef96cce92 Switch from # to @ as comment-start character 2020-09-30 22:30:19 +03:00
Rene Saarsoo 49638c6c71 Regression tests for stats and ZWO creation 2020-09-30 22:21:40 +03:00
Rene Saarsoo 819629094e Implement zone-distrubution stats 2020-09-30 20:50:08 +03:00
Rene Saarsoo 0511343f09 Use argparse for parsing command-line options 2020-09-30 15:03:33 +03:00
Rene Saarsoo 53e36cba0c Extract extractRepeatedInterval() helper 2020-09-26 12:57:26 +03:00
Rene Saarsoo 8339163fe5 Rename intervalsToIntensityNumbers to emphasize type of return value 2020-09-25 14:35:11 +03:00
Rene Saarsoo 212df4e748 Introduce Intensity & IntensityRange classes 2020-09-25 14:34:12 +03:00
Rene Saarsoo c516b80aff Rename Duration.value -> Duration.seconds 2020-09-25 13:51:01 +03:00
Rene Saarsoo 61ea726187 Rename Seconds to Duration 2020-09-25 13:50:03 +03:00
Rene Saarsoo 564faf95e7 Fix some basic bugs in ZWO generation 2020-09-25 12:21:25 +03:00
Rene Saarsoo 98f882f9b8 Integrate detectRepeats() with ZWO generation 2020-09-25 12:18:37 +03:00