JevMade Sign in
← Back to guides

JevMade field notes / Production lessons

Find coffee without guessing a reader's budget

Sam French describes a coffee recommender that uses Jev to interpret preferences, while database rules remove coffees that cannot meet the reader's requirements.

Original by Sam FrenchClassification

Listen to this guide

JevMade’s plain-English explanation

0:00 /

Our summary

Choosing coffee can mean sorting through thousands of bags with different tastes, prices and roast levels. Sam French describes a website where a reader writes one sentence about what they want. Jev interprets those preferences and helps choose coffees from a smaller list prepared by the site's code.

The first version guessed a budget even when the reader never mentioned money. French reports adding a question about whether a budget was stated. He describes database rules enforcing requirements such as decaf before ranking: an earlier test confidently selected ordinary coffee from a list containing no decaf.

If the model fails or takes too long, the site falls back to keyword matching and labels it that way. French's timings and costs come from small reported runs, not an independent test. The reader's words and candidate descriptions go to hosted AI services, so this is not private, on-device matching.

Key takeaways

  1. Ask whether a preference was stated before using a guessed preference to remove options.
  2. Enforce firm requirements before asking AI to rank a list. A confident winner can still be unsuitable if every option is wrong.
  3. Label the backup method honestly and test database rules on the database used in production. A substitute test database missed real failures here.

Production use and fixes are French's account; no public implementation was available to inspect or run. The article calls decaf a firm filter, but the companion page says it may show non-decaf coffees after disclosing a relaxed request. Do not treat this as an absolute decaf guarantee. The budget cutoff of 0.5 is not shown to be calibrated. Article metadata dates publication and revision to September 30, 2026. A read-only companion visit did not test recommendations.

Sam French's Programming Blog · Original published

Read the original guide Opens the author’s site in a new tab.

Keep this for later

Sign in to bookmark experiments, guides and videos, and keep notes only you can see.

Continue to sign in

We’ll bring you back to this listing.