Add matched training signals, daily recovery and performance analysis
This commit is contained in:
@@ -70,6 +70,9 @@ DEFAULT = {
|
||||
"reference": None,
|
||||
"source": "runs",
|
||||
"cohorts": [],
|
||||
"reduce": None,
|
||||
"long_run": 10.0,
|
||||
"route": None,
|
||||
"comparison": "period",
|
||||
}
|
||||
|
||||
@@ -132,6 +135,12 @@ def query_text(q):
|
||||
else:
|
||||
period = f"during last {q['weeks']} weeks"
|
||||
lines = [q["source"], " " + period]
|
||||
if q["reduce"]:
|
||||
lines.append(f" reduce by run min {number_text(q['reduce'])} min")
|
||||
if q["long_run"] != 10:
|
||||
lines.append(f" long run distance >= {number_text(q['long_run'])} km")
|
||||
if q["route"]:
|
||||
lines.append(f" route similar to {q['route']}")
|
||||
for spec in q["derived"]:
|
||||
lines.append(f" let {spec['name']} = {spec['expression']}")
|
||||
if q["end"] and not q["start"]:
|
||||
|
||||
Reference in New Issue
Block a user