Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Xm/test #77

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
Binary file added .github/.DS_Store
Binary file not shown.
57 changes: 57 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

62 changes: 59 additions & 3 deletions testdata/text.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,59 @@
Determinisitic result is important.

colour # <= Check -locale
<?xml version="1.0"?>
<workout_file>
<uniqueId>ce0a2667-6b8e-4b9b-b76d-e7a57042cea2</uniqueId>
<legacyIdHash>2043826971</legacyIdHash>
<author>Zwift</author>
<categoryOverride>Endurance</categoryOverride>
<name>The Long Ride</name>
<category>Fondo</category>
<subcategory>Week 2</subcategory>
<categoryIndex>3</categoryIndex>
<description>Long base ride to give the endurance needed to tackle the Zwift Fondo. We will increase the overall duration of this workout each week while maintaining a similar structure for the workouts. The focus here is on foundational fitness which will support the shorter and harder mid-week intervals.</description>
<sportType>bike</sportType>
<tags/>
<workout>
<Warmup Duration="600" PowerLow="0.50449997" PowerHigh="0.75449997" pace="0">
<textevent timeoffset="30" message="Hii and welcome to the Week 2 Long Ride of the Zwift Fondo Training Plan." locIndex="1"/>
<textevent timeoffset="150" message="We have a great workout here for you today." locIndex="2"/>
<textevent timeoffset="240" message="We will start out with some intervals at 95% to open up the legs and the main set for this workout is 4x4min build 1-4 from 90% to 105% FTP with strong aerobic recovery." locIndex="3"/>
<textevent timeoffset="400" message="Long workout today building on last weeks. Almost 90min here today for you." locIndex="4"/>
<textevent timeoffset="500" message="Nice warm up here to get loose before we wind up these intervals." locIndex="5"/>
</Warmup>
<SteadyState Duration="300" Power="0.75449997" pace="0">
<textevent timeoffset="106" message="A bit of steady state here to really get warmed up before the intervals. 5min at 75%." locIndex="6"/>
</SteadyState>
<IntervalsT Repeat="7" OnDuration="120" OffDuration="60" OnPower="0.95449996" OffPower="0.55449998" pace="0">
<textevent timeoffset="66.00032" message="7 times two minute intervals here to open up the pipes before the longer work around threshold." locIndex="7"/>
<textevent timeoffset="150" message="And just some nice relaxed easy spinning here between the reps." locIndex="8"/>
<textevent timeoffset="734" message="Goal is to be nice and steady across these reps. Just find a good pace and settle in." locIndex="9"/>
</IntervalsT>
<SteadyState Duration="360" Power="0.75449997" pace="0">
<textevent timeoffset="30" message="Alright a good long block of strong aerobic endurance here. The 4min around threshold is the hard stuff. But this steady stuff makes it really count." locIndex="10"/>
</SteadyState>
<SteadyState Duration="240" Power="0.90449995" pace="0">
<textevent timeoffset="30" message="Nice and strong here. Just under FTP for this one." locIndex="11"/>
</SteadyState>
<SteadyState Duration="360" Power="0.75449997" pace="0">
<textevent timeoffset="30" message="And another strong aerobic block here. Great work. This is a long workout. Keep that focus." locIndex="12"/>
</SteadyState>
<SteadyState Duration="240" Power="0.95449996" pace="0">
<textevent timeoffset="30" message="Bumping it up a bit here. Getting closer and almost touching threshold for this one." locIndex="13"/>
</SteadyState>
<SteadyState Duration="360" Power="0.75449997" pace="0">
<textevent timeoffset="30" message="And step it back down, but keep it strong for here all the way through." locIndex="14"/>
</SteadyState>
<SteadyState Duration="240" Power="1.0044999" pace="0">
<textevent timeoffset="30" message="And 4min right at threshold. Nice and firm on the pedals." locIndex="15"/>
</SteadyState>
<SteadyState Duration="360" Power="0.75449997" pace="0">
<textevent timeoffset="30" message=" into the meat of this workout here. Great job." locIndex="16"/>
</SteadyState>
<SteadyState Duration="240" Power="1.0545" pace="0">
<textevent timeoffset="30" message="And great strong pace here at 105% for this last solid effort." locIndex="17"/>
</SteadyState>
<Cooldown Duration="540" PowerLow="0.75449997" PowerHigh="0.50449997" pace="0">
<textevent timeoffset="417" message="And we are pretty much down. Spinning it out here to finish." locIndex="18"/>
<textevent timeoffset="153" message="Stepping it down and cooling down. Fantastic. This is a long workout. You did awesome." locIndex="19"/>
</Cooldown>
</workout>
</workout_file>