TokenEnd only saw the real spans, so an instance kept the boundary hour
that its inferred successor also counted. Two adjacent inferred weeks then
both showed the same tokens, which made false past peaks (D7).
One backward walk now yields every instance with the start of the instance
that follows it. Analyze takes its first eight past instances from it and
the reset history uses it for its real instances, so the window charts and
the reset list agree. An instance that resets before a gap keeps its end
hour, as before.
Refs #14
On the developer's data the section counted the running instance as a
reset, showed zeros before anything finished, and drew the skipped time
of five early resets over almost the whole timeline (D12).
The Resets tile now counts finished instances and names the running one.
Unused, Gift and the median say when nothing finished or reset early.
Skipped time is a thin hatched bar below the plot, one lane per overlap,
and the axis no longer runs on to the running instance's reset. Percent
and limit values follow the user's culture, and figures in captions do
not wrap.
The reset tooltip is tall. Where it could not fit above or below the
pointer it slid over it, took the hover from the chart and vanished.
Tall tooltips now open beside the pointer and use the width DataTooltip
asks for.
Refs #14
The developer wants figures for every reset: how long an instance lasted,
its tokens, its final use, its API value, what it left unused and what an
early reset handed out (D12, D13). Instances come from one window series,
so a Codex limit that moves between the primary and secondary slot stays
one history (D7).
Building the spans once also fixes two D7 cases: the hour in which one
instance ends and the next starts goes to the new instance instead of
being lost, and a late sample of an old instance no longer places it after
a newer one.
Refs #14
Refs #9