Skip to content

v1.13.1

Choose a tag to compare

@TomSchmidtDev TomSchmidtDev released this 04 Jun 23:46
· 47 commits to main since this release

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):

  1. Same profile & bean — profileTitle + beanBrand + beanType must all match (most accurate baseline)
  2. Fallback: same profile — if fewer than 2 shots match on profile+bean, match by profile only
  3. No context — if no profileTitle is 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