Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Booking.com Data Science 7 min read Case study easyNovice

A problem well-defined is half solved: Measuring Hypothesis Quality at Booking.com

Booking.com scores A/B test hypotheses with an LLM-based checker that marks five pillars as present or missing: prior evidence, the change, target audience, expected user response, and observable metrics. The result is an advisory 0–3 Hypothesis Quality Score. The checker sits in the experiment creation form and returns feedback in about 10 seconds. It is backed by a Quality Tab, a dashboard for embedded experimentation ambassadors, and a structured hypothesis template. Since launch, the share of product experiments with an "Excellent" hypothesis rose from 62% to about 88%, driven mostly by 13–14 point gains in stated user responses and metrics. The team deliberately avoids auto-rewrites and treats the score as an operational signal, not a measure of decision quality.

Related posts

  • Turbocharging Customer Support Chatbot Development with LLM-Based Automated Evaluation

    Instacart Tech mediumAdept

    Instacart's LACE framework evaluates multi-turn support chatbot sessions with LLM judges, scoring binary True/False criteria across five dimensions: query understanding, answer correctness, chat efficiency, client satisfaction and compliance. Binary scoring proved more consistent and closer to human judgment than 1–10 scales. A debate setup, with parallel customer and support agents feeding a judge, reached near-perfect accuracy on simple criteria and over 90% on Instacart-specific contextual ones. Reasoning in free-form text (e.g. o1-preview) and converting to JSON in a separate step avoided quality loss from constrained decoding. Repeated human-vs-LACE alignment rounds refined the criteria, while subjective measures like conciseness are kept only as directional checks.

  • A guide to setting up your own Hugging Face leaderboard: an end-to-end example with Vectara's hallucination leaderboard

    Hugging Face mediumAdept

    Vectara rebuilt its Hughes Hallucination Evaluation Model (HHEM) leaderboard on Hugging Face's open-source leaderboard template, which lets users submit new LLMs and refreshes the rankings automatically as results arrive. A basic leaderboard only needs a cloned Space plus two datasets, one for 'requests' and one for 'results'. HHEM needed custom backend code: a SummaryGenerator produces summaries and measures answer rate and length, an EvaluationModel scores them for factual consistency and hallucination rate, and Evaluator, run_evaluation and main_backend tie these together to process pending requests and upload results.

  • When Can You Ship on Offline Evals Alone?

    Spotify Engineering hardMaster

    Shipping AI changes on offline evals alone, without A/B tests, can bound the risk of harming online metrics only under strong assumptions: a homogeneous, exchangeable corpus of paired offline/online effects, known measurement error, and LLM-judge bias that doesn't depend on the treatment arm. Ignoring measurement noise badly attenuates the observed offline-online correlation (24% naive R² vs 60% true in the worked example), and pooling heterogeneous experiments can produce Simpson's-paradox false surrogacy. The proposed decision gate ships or kills only on sufficiently strong eval effects, with thresholds that scale with surrogate strength, routes the middle to A/B tests, and keeps a random audit pool to detect drift. Spotify still pairs offline evals with online experiments.

  • Aligning LLM-as-a-Judge with Human Preferences

    LangChain easyNovice

    LangSmith evaluators now store human corrections to LLM-as-a-Judge scores as few-shot examples, optionally with explanations, and inject them into the judge prompt on later runs so the evaluator aligns with team preferences without manual prompt engineering. LLM judges work because they can see information the generator lacked, such as reference answers, and because judging is easier than generating. Common uses are detecting RAG hallucinations, RAG correctness and toxic outputs, in both online and offline evaluation. The design draws on few-shot learning and Shreya Shankar's Berkeley paper "Who Validates the Validators?".

  • Search Quality Assurance with AI as a Judge

    Zalando Engineering mediumAdept

    Zalando validated search quality for new markets (Luxembourg, Portugal, Greece) before launch by using a multimodal LLM-as-a-judge instead of manual expert review. Test queries are drawn from existing markets, clustered by NER-tag sets into intent segments, ranked by traffic share and translated with an LLM. An Airflow pipeline then retrieves results from the search service and has GPT-4o score each result 0–4 using product data and images, with ElastiCache deduplicating product lookups and (query, product) judgements to cut cost. Running 1,500 top segments per market surfaced lemmatization gaps, unrecognized terms such as Portuguese "ténis" and "menina", and missing NER tags in Greek, all fixed before go-live.

The quest for software engineering knowledge.

Look:
Layout: