All projects NLP · LLMs · Microservices

FlawFinder: from app reviews to actionable feedback

Product teams get thousands of reviews, and most of them say nothing useful. FlawFinder collects them, keeps the ones worth reading, sorts them by topic and summarises what users actually complain about.

Context
MSc integration project, HES-SO
Team
2 students (me + 1 teammate)
Period
2025
My role
The whole machine-learning pipeline
Overview

At a glance

130k+
reviews labelled automatically with an LLM
0.87
F1-score for detecting useful reviews
6
feedback categories, from bugs to UX
5
containerised microservices
My part: the machine-learning pipeline
  • Data collection: 130,000+ reviews across seven app categories
  • LLM labelling: prompt design and relevance / topic labelling with Qwen2.5-32B
  • Embeddings and the two XGBoost classifiers: training, tuning, evaluation
  • LLM summaries per category
  • MLOps: experiment tracking, dataset versioning, ML services
Teammate
  • Web front-end
  • Kubernetes deployment

Paste a Google Play link and FlawFinder returns a structured report: the useful reviews, grouped into bugs, feature requests, design & UX, performance, login/account and other, with an LLM-written summary for each category.

Pipeline

Five services, one flow

ScrapeGoogle Play
Vectoriseembeddings
Filteruseful / noise
Categorise6 classes
SummariseLLM

Scraping

Takes a Google Play app URL and collects its reviews as structured JSON.

Multilingual embeddings

Each review is encoded with a sentence-transformer model that handles 50+ languages and is robust to typos and emojis, which are common in app reviews.

Useful-review filter

A classifier on the embeddings separates actionable reviews from noise like "great app!" or one-word ratings.

Topic categorisation

A second classifier assigns each useful review to one of six product-relevant categories.

Summaries

A local LLM writes a concise summary per category, so a product owner can read the whole picture in a minute.

Demo

See it in action

From a Google Play link to a categorised, summarised report, end to end.

Full walkthrough of the pipeline (2 min 43 s).
Models

LLM-labelled data, fast classifiers

No labelled dataset existed, so we built one. We collected 130,000+ reviews across social networks, transport, streaming, mobile games, retail and banking apps. A local Qwen2.5-32B model (via Ollama) gave each review a relevance score from 0 to 100, and reviews above 80 counted as useful. A second pass labelled about 70,000 useful reviews by category.

The production models are XGBoost classifiers on the embeddings. They are fast, handle class imbalance well and work well with dense vectors. They were tuned with cross-validation and Bayesian hyperparameter search. The LLM is only needed to create training data, not at inference time, which keeps the service cheap and quick.

0.856
accuracy (useful-review filter)
0.870
F1-score (useful-review filter)
0.891
recall (useful-review filter)
0.66
macro F1 on the 6-class categoriser
Design choice

LLM as a teacher, small model as the worker: a large model labels the data once, and a light classifier does the daily job in milliseconds.

Engineering

Built like a product

Microservices

Each step is an independent FastAPI service plugged into the Swiss AI Center Core Engine, so they can be chained into pipelines.

Containers

Every service ships as a Docker image. My teammate handled the Kubernetes deployment.

Experiment tracking

Training runs tracked with Weights & Biases; models exported with joblib; datasets versioned.

Tested

Unit tests with coverage reports for every service.

Stack

Tools & techniques

NLP & ML
  • sentence-transformers
  • XGBoost
  • scikit-learn
  • Bayesian search
LLMs
  • Ollama
  • Qwen2.5-32B
  • Prompt engineering
Services
  • FastAPI
  • Docker
  • pytest
MLOps
  • Weights & Biases
  • joblib
  • Dataset versioning
Next project

Swiss public transport delays