Cellar v5.0

Wine tasting log, cellar inventory, bottle photos, lookup, and probability-based drinking-window intelligence.

Your Cellar Memory
Saved locally first, then synced to Cloudflare D1 when cloud sync is enabled.
Cloud Sync
Cloud storage not checked yet.
ML data sync not checked yet.
Wine Catalog Lookup
Search by wine, winery, vintage, varietal, or region. Selection will autofill bottle details and photo when available.
Connect this to your Cloudflare Worker endpoint in Settings.
Bottle Photo
Bottle photo preview
Uploaded photos are automatically resized and compressed before cloud sync so D1 does not reject the entry.
Bottle Details
Appearance
Hold the glass by the stem and raise it to eye level. Judge core, rim, color accuracy, viscosity, and opacity.
85
Consistency / Mouthfeel
Nose / Aroma / Bouquet
85
Taste Structure
Development Over Time
Score flavor and finish at open, 30, 60, and 120 minutes.
Final Judgment
85
85
Calculated Overall Rating
Weighted from appearance, nose, complexity, varietal representation, flavor, and finish.
85
Smart Alerts & Opening Queue
Cellar continuously evaluates your inventory for decline risk, approaching-prime opportunities, and bottles that deserve intentional opening priority.
Immediate Attention
Late plateau or declining bottles that should move to the front of the queue.
Approaching Prime
Bottles entering their projected optimal window.
Protected Holdings
Rare/high-aging-potential bottles Cellar thinks you should avoid casually opening.
ML Dataset Export & Training Readiness
Convert Cellar data into model-ready training rows. This is where inventory predictions, opened-bottle outcomes, and maturity feedback become usable for future drinking-window models.
0Cellar Records
0Evolution Reviews
0Training Rows
0%Labeled Maturity Coverage
Export Controls
JSON preserves full records. CSV is better for quick modeling, spreadsheets, and inspection.
ML dataset ready. Click Refresh ML Dataset to rebuild the preview and metrics.
Training Row Preview
Each row combines wine identity, predicted maturity, and actual opened-bottle feedback when available.
Data Quality & Model Confidence
Cellar audits your inventory for missing fields that weaken drinking-window predictions. This is the cleanup layer that keeps the model from producing confident-looking garbage.
Average Data Quality
0High-Confidence Records
0Needs Cleanup
0Missing Critical Data
Most Important Cleanup Items
Fix these first. Vintage, varietal, region, producer tier, and vintage quality have the biggest impact on Phase 1 drinking-window estimates.
Opening Plan
Turn Cellar intelligence into a practical drinking roadmap. Build a plan from maturity stage, decline risk, bottle count, and occasion value.
Plan Builder
No plan generated yet.
Recommended Opening Queue
Saved Opening Plan
Saved locally for now. Future version can persist this to D1 alongside inventory and evolution data.
Collection Intelligence Engine
Cellar now synthesizes your entire collection into strategic intelligence: maturity distribution, collection strength, concentration risk, and future opportunity signals.
Intelligence engine ready.
Collection Health
0
Overall collection intelligence score
0%
Collection currently in projected prime window
Strategic Signals
Most Important Bottles
Consumption Forecasting
Forecast how long your cellar inventory will last based on your estimated drinking pace and bottle priorities.
Consumption Assumptions
Forecast ready.
Cellar Runway
0
Projected months of inventory remaining
0
Projected years of inventory remaining
Priority Consumption Signals
Collection Goals & Acquisition Targets
Define what you want your cellar to become over time — not just what it currently contains.
Goal Builder
No collection goals saved yet.
Active Collection Goals
Predictive Cellar Timeline
Forecast how your cellar evolves over time based on projected maturity windows and decline risk.
Timeline ready.
Strategy Profiles & Adaptive Recommendations
Cellar adapts recommendations based on how you prefer to experience wine maturity.
Choose Your Strategy
No strategy selected yet.
Adaptive Bottle Recommendations
Cellar re-ranks bottles based on your selected strategy profile.
Cellar Intelligence Feed
A centralized strategic feed that surfaces the most important things happening inside your cellar right now.
Insights ready.
Cellar Analytics Dashboard
Portfolio-level intelligence for your cellar: maturity distribution, decline risk, opening timeline, varietal/region exposure, value, and the bottles that deserve attention first.
Analytics ready.

What Cellar is optimizing for

  • Open bottles when they are likely to deliver the most value.
  • Protect bottles that are too young or too rare to waste.
  • Surface decline risk before the bottle becomes a regret.
0Total Bottles
0%Prime Readiness
0Drink Soon Bottles
0Decline Risk
Avg Aging Potential
$0Estimated Cellar Value
0Opened Reviews
Highest Peak Year
Maturity Distribution
Aging Potential Distribution
Varietal Exposure
Region Exposure
Optimal Opening Timeline
Projected by peak-start year and current maturity status.
Most Urgent Bottles
Bottles most likely to need attention based on stage, peak end, and bottle count.
Most Age-Worthy Bottles
Evolution Learning Signals
Cellar Inventory
Track what you actually own: quantity, location, purchase price, drink window, and whether a bottle has been consumed. If you leave Drink From / Drink By blank, Cellar estimates the window using the Phase 1 model.
0Total Bottles
0Unique Wines
$0Estimated Value
0Drink Now
Phase 1 Drinking Window Visuals
A fast read on which bottles are too young, approaching prime, currently prime, or at decline risk.
0Drink Soon / Approaching Prime
0Prime Window Bottles
0Declining Risk Bottles
0Too Young / Hold
Add Bottle to Cellar
What Should I Open Tonight?
Cellar ranks your bottles using maturity stage, bottle count, occasion, meal pairing, style preference, and opening strategy.
Tonight's Context
Choose tonight's context and generate a recommendation.
Bottle Evolution Tracking
Every opened-bottle review teaches Cellar whether the Phase 1 drinking window was too early, too late, or directionally right. This is the beginning of the feedback loop that turns Cellar from a rule-based app into a learning cellar intelligence system.
Evolution Summary
0Total Opened Reviews
0Opened Too Young
0Confirmed Prime
0Past Peak Signals
Review an Opened Bottle
Opened Bottle History
Cellar Methodology

This documents the Phase 1 probability-based drinking timeframe model used in the Cellar inventory tab.

What Cellar Is Estimating

Cellar estimates a likely drinking window, not a guaranteed expiration date. The model is designed to help you decide what to hold, what to open, and what may be at risk of fading. It is intentionally explainable, conservative, and built from fields you can realistically enter.

APSAging Potential Score, 0–100
WindowEstimated peak start and end
StageToo Young, Prime, Late, Declining
ConfidenceCompleteness of available data
Phase 1 Weightings
VariableWeightWhy It Matters
Varietal Aging Potential30%Grape structure strongly influences ageability through tannin, acidity, sugar, and phenolic density.
Region / Appellation15%Climate, tradition, and appellation standards affect structure and longevity.
Vintage Quality15%Weather conditions influence ripeness, acidity, concentration, and balance.
Producer Tier15%Better producers tend to deliver better fruit selection, structure, consistency, and historical aging performance.
Wine Style10%Structured and traditional wines usually age longer than soft, fruit-forward, early-drinking wines.
Alcohol Balance5%Balanced alcohol supports longevity; excessive or poorly integrated alcohol can shorten the useful window.
Price Proxy5%Price is imperfect, but it often proxies fruit quality, oak program, vineyard source, and production intent.
Bottle Age Context5%The current age helps classify the wine as too young, approaching prime, mature, or declining.
Aging Potential Score Formula
APS =
  varietalScore * 0.30 +
  regionScore * 0.15 +
  vintageScore * 0.15 +
  producerScore * 0.15 +
  styleScore * 0.10 +
  alcoholBalanceScore * 0.05 +
  priceScore * 0.05 +
  bottleAgeScore * 0.05

Every input is normalized to a 0–100 score before the weighted formula is applied.

Score-to-Window Mapping
APSPeak StartPeak End
0–20Vintage + 0 yearsVintage + 3 years
21–40Vintage + 2 yearsVintage + 6 years
41–60Vintage + 4 yearsVintage + 10 years
61–80Vintage + 8 yearsVintage + 20 years
81–100Vintage + 12 yearsVintage + 35 years
Drinking Stage Labels

Too Young More than two years before estimated peak start.

Approaching Prime Within two years of estimated peak start.

Prime Window Inside the first 65% of the estimated window.

Late Plateau Inside the final 35% of the estimated window.

Declining Past estimated peak end.

Current Limitation

Phase 1 does not yet use community tasting notes, critic re-tastings, bottle condition, storage temperature history, cork variation, or producer-specific vertical tasting data. That is the future moat. This version is the disciplined foundation, not the final intelligence layer.

Settings
Backup / Restore

Export JSON as your master backup. CSV is for spreadsheet review.

Deployment History
A clean changelog for Cellar. Product tabs stay focused on functionality; deployment details live here.
v3.5

Phase 1 Drinking Window Engine

Introduced the Cellar name and added the first probability-based drinking-window model.

  • Aging Potential Score.
  • Estimated peak start/end years.
  • Drinking-stage labels and model confidence.
  • Methodology tab foundation.
v3.6.1

Visual Intelligence Layer

Added visual maturity cues so drinking-window predictions became easier to understand at a glance.

  • Maturity curve visualization.
  • Drink Soon / Prime / Decline / Too Young cards.
  • Inventory-card model bindings fixed.
v3.7.1

Open Tonight Recommendations

Added a decision engine to recommend which bottle to open based on context.

  • Occasion, meal, style, and strategy inputs.
  • Ranked bottle recommendations.
  • Recommendation reasons and last-bottle warnings.
v3.8

Bottle Evolution Feedback Loop

Added opened-bottle review tracking so Cellar can compare predicted maturity against actual bottle experience.

  • Maturity, fruit, structure, tertiary, and open-again signals.
  • Opened-bottle history.
  • Inventory quantity reduction after review.
v3.9

ML-Ready Data Persistence

Added durable D1 storage for tasting entries, cellar inventory, drinking-window outputs, and evolution reviews.

  • wine_entries: tasting log and scoring data.
  • cellar_inventory: bottle inventory, model scores, drink windows, and status.
  • bottle_evolution_reviews: opened-bottle feedback for future prediction refinement.
v4.0.1

Analytics Dashboard

Added portfolio-level cellar intelligence and fixed Analytics button feedback.

  • Prime readiness, decline risk, drink-soon count, and cellar value.
  • Maturity, aging-potential, varietal, and region distributions.
  • Optimal opening timeline, urgent bottles, and learning signals.
v4.1

Smart Alerts & Opening Queue

Added alert queues that turn analytics into immediate action.

  • Immediate attention queue.
  • Approaching-prime queue.
  • Protected holdings queue.
v4.2.1

Opening Plan Layer

Added planning tools that rank bottles by maturity stage, decline risk, bottle count, aging potential, and selected planning style.

  • Planning-window selector.
  • Openings-per-month control.
  • Saved opening plan.
v4.3

Data Quality & Model Confidence Audit

Added audit tools that identify missing high-value fields that reduce drinking-window confidence.

  • Average data quality score.
  • High-confidence and cleanup-needed counts.
  • Per-bottle missing-field issue tags.
v5.0

Collection Intelligence Engine

Cellar evolves from a tracking application into an intelligent cellar operating system capable of evaluating collection quality, maturity balance, concentration risk, and strategic opportunity.

  • Collection health scoring.
  • Strategic maturity signals.
  • Priority bottle intelligence.
  • Portfolio-level cellar analysis.
v4.9

Consumption Forecasting Engine

Added inventory runway forecasting so Cellar can estimate how long the cellar will last and identify which bottles should be prioritized first.

  • Monthly consumption modeling.
  • Projected cellar runway.
  • Priority-consumption signals.
  • Inventory longevity forecasting.
v4.8.6

Guaranteed Goal Delete UI Fix

Rebuilt delete-button behavior with explicit button types, inline event prevention, and hardened localStorage removal logic.

v4.8.5

Hard Goal Deletion Fix

Rebuilt goal deletion logic with direct localStorage removal and hardened button bindings.

v4.8.4

Database Goal Deletion

Deleting a collection goal now removes the entry from the UI, local storage, and the D1 database.

v4.8.3

Functional Goal Edit/Delete Actions

Fixed non-responsive Edit and Delete buttons on the Goals tab by replacing fragile delegated handlers with direct button bindings.

v4.8.2

Goal Management Enhancements

Added goal editing, deletion, and target-vintage tracking for more advanced collection planning.

  • Edit existing goals.
  • Delete collection goals.
  • Target vintage support.
  • Vintage-aware duplicate detection.
v4.8.1

Goal Duplicate Entry Fix

Fixed duplicate goal creation caused by overlapping button bindings and added duplicate-goal prevention logic.

v4.8

Collection Goals & Acquisition Targets

Added long-term cellar objective tracking so Cellar can guide future purchasing and collection shaping.

  • Varietal and region targets.
  • Aging-potential goals.
  • Inventory growth targets.
  • Progress tracking against cellar objectives.
v4.7

Predictive Cellar Timeline

Added year-by-year cellar forecasting so Cellar can project future maturity opportunities and decline risk across the collection.

  • Future peak-window forecasting.
  • Upcoming maturity milestones.
  • Projected decline-risk visualization.
  • Long-term cellar trajectory modeling.
v4.6

Strategy Profiles & Adaptive Recommendations

Added personalized drinking strategies so Cellar can adapt recommendations based on collector behavior and maturity preference.

  • Balanced Collector profile.
  • Aggressive Early Drinker profile.
  • Peak Window Maximizer profile.
  • Long-Term Cellarer profile.
  • Special Occasion Saver profile.
v4.5

Cellar Intelligence Feed

Added a centralized insight engine that synthesizes alerts, maturity data, inventory concentration, and evolution feedback into actionable intelligence.

  • Critical decline-risk insights.
  • Prime-window opportunities.
  • Collection concentration warnings.
  • Age-worthiness and evolution signals.
v4.4.1

ML Dataset Refresh Fix

Fixed the Refresh ML Dataset button so it visibly rebuilds metrics, preview rows, status text, and last-refreshed timestamp.

v4.4

ML Dataset Export & Training Readiness

Added tools to convert Cellar data into exportable model-ready rows for future drinking-window machine learning.

  • Training CSV export.
  • Training JSON export.
  • Raw cellar and evolution JSON exports.
  • Training-row preview and labeled-coverage metrics.
v4.3.2

Deployments Tab Fix

Fixed the Deployments tab so the changelog renders as a dedicated top-level view instead of appearing blank or leaking into product tabs.