---
title: "Teaching Sidekick to say no: automated data curation with LLM judge consensus"
description: "Production training data for Shopify's Sidekick segmentation skill contained only successful queries, so the fine-tuned model never learned to refuse impossible requests and instead generated queries returning zero results."
url: "https://swe.quest/articles/teaching-sidekick-to-say-no-automated-data-curation-with-llm-judge-consensus-cbd8b5202d7ba316"
canonical: "https://shopify.engineering/sidekick-curation"
source: "Shopify Engineering"
published: "2026-06-15"
difficulty: "medium"
kind: "Case study"
reading_minutes: 9
tags: ["model-training","llms","evals","ai-agents"]
---

# Teaching Sidekick to say no: automated data curation with LLM judge consensus

A post on [Shopify Engineering](https://swe.quest/sources/shopify.md), published 2026-06-15, 9 min read, Case study. Original: [https://shopify.engineering/sidekick-curation](https://shopify.engineering/sidekick-curation)

## Summary

Production training data for Shopify's Sidekick segmentation skill contained only successful queries, so the fine-tuned model never learned to refuse impossible requests and instead generated queries returning zero results. Naively merging a small human-annotated refusal dataset (~1,200 examples from Toloka) with the production corpus produced contradictory labels, so the team used that seed to calibrate four frontier LLM judges. Labels are accepted only on unanimous agreement on both verdict and reasoning, using a mutually exclusive taxonomy: solvable with more context, missing capability, wrong skill, or ambiguous. The curated data raised the segmentation pass rate from 0.762 (naive merge) to 0.798, with 86.3% refusal accuracy at a 4.6% false positive rate and judge kappa above 0.75. The pipeline now runs as a flywheel that feeds new production traffic back into training.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)

## Prerequisites

- LLM fine-tuning ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- LLM-as-judge evaluation ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))

## Keywords

Sidekick, Shopify, Toloka, LLM-as-judge, Cohen's kappa

## Related posts

- [Building production-ready agentic systems: Lessons from Shopify Sidekick](https://swe.quest/articles/building-production-ready-agentic-systems-lessons-from-shopify-sidekick-338be221de1210c1.md): Shopify Engineering · 2025-08-26 · Medium · 6 min read · AI agents, Evaluation, Model training, LLMs
  Shopify's Sidekick merchant assistant outgrew a monolithic system prompt once its tool count passed ~50, so the team moved to just-in-time instructions returned alongside tool results, which kept prompt caches intact and improved maintainability and metrics.
- [Stop Building Models. Start Building Systems.](https://swe.quest/articles/stop-building-models-start-building-systems-12c2ba76d9e8ec33.md): Scribd Tech · 2026-07-11 · Medium · 8 min read · LLMs, Evaluation, Data pipelines, Machine learning
  A repeatable human-in-the-loop pipeline let a three-person team (engineer, SME, data scientist) classify roughly 25M Slideshare slideshows and 350M Scribd documents for adult content in about two months.
- [Aligning LLM-as-a-Judge with Human Preferences](https://swe.quest/articles/aligning-llm-as-a-judge-with-human-preferences-ffa838b947416549.md): LangChain · 2026-08-26 · Easy · 6 min read · Evaluation, LLMs
  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.
- [Fine-tuning open LLM judges to outperform GPT-5.2](https://swe.quest/articles/fine-tuning-open-llm-judges-to-outperform-gpt-5-2-fdf1c14f4206aa6b.md): Together AI · 2026-02-02 · Medium · 10 min read · Evaluation, Model training, LLMs
  DPO fine-tuning open-weight LLM judges on RewardBench 2 preference data lets them match or beat GPT-5.2 at agreeing with human preference labels.
- [Turbocharging Customer Support Chatbot Development with LLM-Based Automated Evaluation](https://swe.quest/articles/turbocharging-customer-support-chatbot-development-with-llm-based-automated-1b9441967ec3317f.md): Instacart Tech · 2025-06-11 · Medium · 12 min read · Evaluation, LLMs, AI agents
  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.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
