Tastibase
An IMDb for food. It ranks the dish, not the restaurant, from what real customers wrote.
- Role
- Founder & Data Scientist, built solo end to end
- Live
- tastibase.com ↗
- Coverage
- Indian food in Adelaide, with more cities and cuisines planned
- Stack
- Python, BERT, Next.js, Cloudflare Pages
The problem
A star rating blends a venue's ambience, its service and every dish it makes into one number. A 4-star restaurant can make a brilliant biryani and a forgettable naan, and the average hides that.
People do not order a restaurant. They order a dish. So the useful question is not "which place is good?" but "which kitchen makes the best version of the thing I want?"
How a dish gets its score
Read every review
Publicly available reviews are scanned for every sentence that mentions a specific dish. Only review text counts, never rating-only responses.
Score the sentiment per dish
A BERT model trained on 700,000 restaurant reviews scores how positive each mention is toward that exact dish, handling negation, sarcasm and food language that a keyword counter misses.
Blend in the stars
Quality is 85% review sentiment and 15% star rating. A great dish at an average venue can still rise, and a coasting reputation cannot carry a weak dish.
Shrink toward fair
Bayesian shrinkage pulls dishes with little evidence toward the average for that dish. One glowing or fake review cannot fluke its way to number one.
Weight recent reviews
Only the last three years count, and newer reviews count slightly more. Kitchens change, and the score should too.
quality = 0.85 × sentiment + 0.15 × stars
adjusted = (n × quality + C × prior) / (n + C)
dish score = adjusted × recency × 10Why BERT and not a simple tool
I compared a fine-tuned BERT model against VADER, a standard rule-based sentiment tool. On this task BERT reached 85% accuracy and VADER reached 50%, which is the difference between a ranking you can trust and a coin toss.
What the scores mean
| Score | Meaning |
|---|---|
| 8.5 and above | Exceptional |
| 8.0 to 8.4 | Excellent |
| 7.0 to 7.9 | Very good |
| 6.0 to 6.9 | Good |
| Below 6.0 | Average or mixed |
How it is built
- A Python pipeline with pandas, scikit-learn and Hugging Face Transformers does the extraction and scoring.
- The site is Next.js on Cloudflare Pages, with about 1,250 pre-rendered pages.
- Programmatic SEO creates a page for each dish and location, verified in Google Search Console and Bing.
Rules I set for fairness and privacy
- No paid placements. No restaurant can pay to appear, rank higher or be removed.
- A dish needs at least 4 clean mentions at a restaurant to be scored, and a city ranking lists it only once 2 or more restaurants qualify.
- Only aggregates are published: a score, a sentiment reading and a mention count. Review text and reviewer names are never reproduced.
Current state to future state
Current state: Guesswork
- 4.5★ restaurant
- scroll 300 reviews
- which dish?
- ask a friend
- guess
Future state: Ranked by evidence
- Collect 44K reviews
- Extract dishes
- BERT sentiment
- Bayesian score
- 711 dishes ranked
Where this sits in the story
- Tastibase · Build · Jun 2026–