v1.13.1
Bug Fix
AI analysis: profile- and bean-scoped historical baseline
Previously the historical context (avg pressure, flow, temperature shown at the bottom of the analysis prompt) was computed from all shots in the time window — mixing completely different profiles. A Turbo shot and a Blooming Flow shot have fundamentally different extraction characteristics, making cross-profile averages meaningless.
New behaviour (tiered matching):
- Same profile & bean —
profileTitle+beanBrand+beanTypemust all match (most accurate baseline) - Fallback: same profile — if fewer than 2 shots match on profile+bean, match by profile only
- No context — if no
profileTitleis set, or fewer than 2 matching shots exist
The prompt now labels which tier matched, e.g.:
History (14 shots, same profile & bean): pres=9.1bar · flow=1.9ml/s · temp=93.2°C