Repository navigation
Replies: 4 comments 3 replies
|
Thanks for putting this up for comment before building it, and for treating sweetness as a field of its own. It fits how I use the data: I currently keep a personal "Dosage" key for sparkling wines, which this would replace. My view on the open questions, mostly from a cellar with a lot of German Riesling and some Champagne and Sekt:
Happy to test the migration against my cellar when it is ready. Albert |
|
One more open question before building: does the word leave the name? When the migration moves a sweetness word into Several hundred names in the registry carry one today ("Riesling Kabinett trocken", "… Brut Nature"). Champagne names have already lost their dosage word, because it isn't part of the cuvée's name. Proposal: yes, it leaves the name, with three limits:
Why: the fact lives in one place. If the word stays in the name as well as the field, the two can disagree, and duplicate matching would have to strip it from the name anyway. What it costs: the name no longer matches the label word for word, and API clients see shorter names for these wines, with the field carrying the term. The dry run lists every name it would change before anything is written. Does anyone know a case where the word has to stay in the name? |
|
I think moving it out of the name makes sense, and showing the term right next to the name (as you propose) covers the display side. It’s a tricky one, because it’s done both ways. But in the very most cases I’d say it isn’t part of the name. It ended up there because there was no other place for it. That goes for the labels, but even more for cellar apps and shops: the sweetness was stored in the name because the data layer offers no field of its own for it, and it is relevant information. It says a lot about the character and taste of a Champagne or wine, and sometimes it is what keeps two wines from the same vineyard apart. (That is actually a bigger problem with Kabinett/Spätlese/Auslese, like Zilliken Rausch, which exists in all three tiers.) Maybe this is the rule: if the data layer allows it (Cellarion’s does), split it. Good online wine shops do the same. And showing the term right next to the name is definitely the best solution for display. I also agree that where it is really part of the name, it should stay (like Méa La Sig’Nature). I’m less sure about Champagne, where the dosage sometimes sits in between. I always tended to keep it in the name, but often learned that this isn’t the official name in the catalogue. In general, a solution might be to take it out first and allow adding it back with a good reason. |
|
One more addition before the next part: a second field for the style a wine is known by, a sugar value, and a question about filters
A second field:
|
| Sparkling band | Filter category |
|---|---|
| brut nature, extra brut, brut | dry |
| extra dry, sec | off-dry |
| demi-sec | medium-sweet |
| doux | sweet |
It would be worked out, never stored, and separate from band, whose values stay as documented. It would be taken from the label term, else the style, else a sparkling wine's sugar figure, else a tier that is sweet by law (Beerenauslese, Trockenbeerenauslese, Eiswein, Ausbruch).
The question: should a Kabinett or Spätlese without any term count as medium-sweet in that filter, and a Grosses Gewächs as dry, by convention? It would put more wines in the filter and be wrong for some. The stored fields stay as decided either way: no term, no value.
Comments welcome, on the field name above all: it is decided once.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The registry has no place for the sweetness a label states. This proposes one, before any code is written, because it touches the wine record, duplicate matching and the public API — the parts that are hard to change later. Comments are very welcome, especially from people who hold German, Austrian and sparkling wines.
Why
Proposal
A new field on the wine record that points at a curated list of sweetness terms, the same way a classification points at a curated list of tiers. Each term row holds:
Bands. Still wines: dry, off-dry, medium-sweet, sweet (the EU categories: up to 4 g/l, or up to 9 with enough acidity; up to 12/18; up to 45; above 45). Sparkling: brut nature, extra brut, brut, extra dry, sec, demi-sec, doux (under 3 g/l, 0–6, under 12, 12–17, 17–32, 32–50, above 50).
Terms to start with, by language: trocken, halbtrocken, feinherb, lieblich, süß · sec, demi-sec, moelleux, doux · secco, abboccato, amabile, dolce · seco, semiseco, semidulce, dulce · seco, meio seco, meio doce, doce · dry, off-dry, medium dry, medium sweet, sweet · and the sparkling scale, including pas dosé and dosage zéro as brut nature. Feinherb has no legal definition; it would sit in off-dry as the closest band.
One term per wine, at the wine level, like the rest of the identity. A sweetness that changes between vintages (a dosage changed between disgorgements, say) is rare; see the open questions.
Duplicate matching
Two records with the same producer and name but a different sweetness term — or a different ripeness tier — are different wines, not duplicates. Duplicate matching would take both into account, so a member adding a Kabinett trocken is not matched to the Kabinett already in the registry. This changes how records are keyed, so it comes with a migration.
Where it is read and written
The label scan and back-label scan read the term as printed; imports map a sweetness column; the admin and member forms use a picker (the same kind of control as for classification); the MCP tools get the field, plus a tool that lists the terms; and the Registry Bridge carries it between servers.
What moves
API impact
GET /api/bottles,GET /api/bottles/{id}andGET /api/inventorygains one field, e.g.labelSweetness: { term, band }(ornull). That is an addition, allowed under the API's stability rules at any time; existing fields keep their meaning. In particularprofile.sweetnesskeeps meaning the taste estimate — the new field gets its own name. The bands are documented as an enum: values may be added later, never renamed or removed. The field name and the band names are therefore decided once — which is one reason for asking now.Open questions
labelSweetness,sweetnessTerm, or something better?Changes after the first review
labelSweetness.Decision on the name (2026-11-04)
The word leaves the name (the comment of 2026-10-31, agreed in the thread), with these rules:
All reactions