LLM preference data: Preference Data Without Vanity Accept Rates

Day 42: Preference Data Without Vanity Accept Rates
5 views
This guide focuses on LLM preference data for production systems, with practical trade-offs for reliability, security, and cost. Thumbs-up rates climb when the model is agreeable and wrong. Preference data for coding assistants must prefer correct diffs and cited answers, not nicer tone. Day 42 defines pairwise rows grounded in CI and merges.
⚡ TL;DR: Collect (prompt, chosen, rejected) from real tickets where chosen passed CI/human merge. Demote UI thumbs to secondary. Audit for sycophancy. Feed DPO-style trainers only after validators pass.

LLM preference data: production guidance

json
{
  "id": "pref-9182",
  "prompt": "Fix flaky auth middleware test",
  "chosen": {"type": "diff", "text": "...", "ci": "passed", "merged": true},
  "rejected": {"type": "diff", "text": "...", "ci": "failed"},
  "policy_tags": ["correctness", "minimal_diff"]
}
Good sources: agent patch vs human final patch; cite-gated answer vs uncitable waffle; two candidates judged by offline tests. Rater guidelines: prefer smaller correct diffs, existing style, no drive-by refactors; reject invented files and deleted tests.

Production checklist

  • [ ] Preference schema versioned
  • [ ] CI outcome attached when available
  • [ ] Thumbs UI demoted
  • [ ] Inter-rater audits monthly
  • [ ] Sycophancy probes in eval pack
  • [ ] Holdout never shown model identity (Day 49)

Series navigation

← Day 41 · Day 43 → Last updated September 11, 2026 Related: AI Pair Programming Metrics: Cycle Time Without Vanity Accept Scores; Day 46: Synthetic Data That Doesn’t Clone GitHub Noise; Day 48: License and Training-Data Risk.

Watch: 100 Days of AI on YouTube

Short videos from CheatCoders, one AI engineering topic per day.

Open the playlist on YouTube · CheatCoders on YouTube

Deep-dive PDF

Get the expanded guide for this post — extra diagrams-style checklists, failure modes, and a production walkthrough. Free when you subscribe to CheatCoders.

Already subscribed? or open the subscribe page.


Discover more from CheatCoders

Subscribe to get the latest posts sent to your email.

Comments

No comments yet. Why don’t you start the discussion?

Leave a comment

No account needed. Name and email are optional.