Coders In Hoods
  • Courses
  • Roles
  • Blog
  • Setup

Coders In Hoods AI Academy

Every course is free. Sign in to start, and your progress, quiz scores and bookmarks follow you.

AI Academy

  • Courses
  • Paths
  • Setup guides
  • How we teach

Role roadmaps

  • AI Engineer
  • Forward Deployed Engineer
  • Machine Learning Engineer
  • All roles

Coders In Hoods

  • The agency
  • Coaching for teams
  • Blog
  • LinkedIn
  • X (Twitter)

Contact

codersinhoods@gmail.com

© Coders In Hoods · since 2019

Course overview

Human Feedback at Scale

Free · sign in to start and track progress

1 · Human judgement at scale

  • 1Designing human evaluations
  • 2Agreement and disagreement among many raters
  • 3Pairwise preferences and rankings

2 · Signals from real use

  • 4Feedback from users

    Exercise answers

    • Answer: Measure four feedback signals and correct a satisfaction rate
    • Answer: Wire feedback to traces in a live help-centre stub
  • 5Understanding usage at scale, privately

3 · Closing the loop with few labels

  • 6Estimating quality from few labels
  • 7Review queues and the dataset loop
CapstoneBuild a feedback system for a support assistantReference implementation

Module 2 · Signals from real use · Lesson 4

Feedback from users

Instrument thumbs, edits, retries and complaints so every signal links to a trace and a denominator, measure each signal's validity against expert labels, and correct a feedback-based rate for who chose to give feedback.

75 min 2 videos 3 exercises 8-question quiz Answers
Setup for the exercises:Install Claude CodePython with uvTrace LLM calls with OpenTelemetry and Langfuse

By the end of this lesson you can

  • Design a feedback event schema that links explicit signals, implicit signals and the exposures behind them to the trace, the rated answer and the prompt version
  • Measure a signal's validity the way you would a judge's, with TPR and TNR against expert labels from a sample designed for that signal
  • Compute a naive and a stratum-reweighted feedback rate, with its effective sample size, and state what reweighting cannot correct
  • Explain how optimising for user approval produces sycophancy, and choose counter-metrics that users cannot move by being pleased

On this page

  • Intuition: the comment card at the hotel desk
  • The signals as instruments
  • Instrumenting: a trace and a denominator for every signal
  • Validity: a signal is a judge you didn't design
  • Design the labelled sample for the signal
  • Worked example: thumbs and edits against the expert
  • Selection bias: who leaves a thumb
  • Worked example: last month's thumbs
  • Comparing versions with feedback
  • Complaints inside the conversation
  • Optimising for approval: how sycophancy is made
  • Misconceptions and limits
  • Connections
  • Summary
  • Sources & further reading
  • Quiz

In this lesson

  1. 01Intuition: the comment card at the hotel desk
  2. 02The signals as instruments
  3. 03Instrumenting: a trace and a denominator for every signal
  4. 04Validity: a signal is a judge you didn't design
  5. 05Selection bias: who leaves a thumb
  6. 06Complaints inside the conversation
  7. 07Optimising for approval: how sycophancy is made
  8. 08Misconceptions and limits
  9. 09Connections
  10. 10Summary

Sources & further reading

  • Correcting Selection Bias in Sparse User Feedback for Large Language Model Quality Estimation: A Multi-Agent Hierarchical Bayesian ApproachPaper · Andrea Morandi, Mahesh Viswanathan · 2026The clearest recent statement of the problem: thumbs sit in the tails, a naive average can miss true quality by 40–50 points, and without a prior on the feedback channel topic-level statistics can't separate selection from quality. Validated on simulated bias over UltraFeedback, not a live product, so read it for the model, not the numbers.
  • Unbiased Learning-to-Rank with Biased FeedbackPaper · Thorsten Joachims, Adith Swaminathan, Tobias Schnabel · Cornell · 2017The foundation for inverse-propensity weighting of implicit feedback: position bias decides which results get clicked, and weighting each observation by one over its propensity removes it. Sections 2–3 carry over directly to who sees and uses a feedback widget.
  • Naturally Occurring Feedback is Common, Extractable and UsefulPaper · Shachar Don-Yehiya, Leshem Choshen, Omri Abend · 2024Finds explicit feedback written into as much as 30% of chats in a standard corpus, and extracts it automatically. The evidence that complaints inside the conversation are a far denser signal than buttons.
  • Towards Understanding Sycophancy in Language ModelsPaper · Mrinank Sharma, Meg Tong, Tomasz Korbak et al. · Anthropic · 2023ICLR 2024. Shows that humans and preference models sometimes prefer convincingly written sycophantic answers over correct ones, and that optimising against those preferences can trade truthfulness for agreement. Read sections 3 and 4.
  • Aligning LLM Agents by Learning Latent Preference from User EditsPaper · Ge Gao, Alexey Taymanov, Eduardo Salinas, Paul Mineiro, Dipendra Misra · Microsoft Research · 2024NeurIPS 2024. Treats user edits as evidence of latent preference as well as of correctness, which is exactly why edit size is an imperfect quality signal. Read the problem setting in section 2.
  • Expanding on what we missed with sycophancyLab research · OpenAI · 2025The post-mortem of the April 2025 GPT-4o rollback, where an extra reward signal from thumbs-up and thumbs-down data weakened the signal that had held sycophancy in check. The best public case study of optimising for approval. The page may block automated link checkers; open it in a browser.
  • User feedback (Langfuse docs)Docs · LangfuseExplicit versus implicit feedback, sending the trace ID to the frontend, and recording feedback as scores on the trace. The reference for the instrumentation in this lesson's exercises.
Free · sign in to start

Sign in to keep reading.

Free, no card. We use your account to save progress, quiz scores, bookmarks and occasionally send updates from our team.

  • 10 more sections
  • 3 hands-on exercises
  • A 8-question quiz
  • Progress, quiz scores and bookmarks