mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-18 16:12:11 +00:00
fix(labs): stop projecting lab trends from stale or short series
A marker whose newest reading is more than a year old is now reported as of that reading (projection "stale"), with no exit date and no already-outside verdict. The projection horizon is capped at the span the readings cover, so a line is never carried further ahead than the data reaches back. The detail read keeps the newest 2000 readings rather than the oldest.
This commit is contained in:
1 parent
5f563623d7
commit
e482f76508
16 files changed
+165
-30
No files matched your search
+3
-2
@@ -10207,10 +10207,11 @@
|
||||
"high": "If this straight line continued, it would reach the upper end of your reference range around {date}. That is a projection, not a forecast.",
|
||||
"low": "If this straight line continued, it would reach the lower end of your reference range around {date}. That is a projection, not a forecast."
|
||||
},
|
||||
"beyond_horizon": "At this pace the line stays inside your reference range for at least three more years.",
|
||||
"beyond_horizon": "At this pace the line stays inside your reference range for more than {years} years, the span your readings cover.",
|
||||
"no_exit": "The line heads away from the edges of your reference range.",
|
||||
"already_outside": "The line already sits outside your reference range.",
|
||||
"no_clear_trend": "Across these readings the change is not clearly different from no change, so no projection is drawn."
|
||||
"no_clear_trend": "Across these readings the change is not clearly different from no change, so no projection is drawn.",
|
||||
"stale": "The newest reading is from {date}, more than a year ago. The line is shown as of then, without a projection."
|
||||
},
|
||||
"interval": "95 % interval of the yearly change: {lo} to {hi} {unit}."
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user