Skip to content

feat(feed-explain): show the click predictor's score on a feed it orders - #7554

Draft
Daily-Dave wants to merge 1 commit into
mainfrom
feat/explain-qhat-score
Draft

Daily-Dave wants to merge 1 commit into
mainfrom
feat/explain-qhat-score

Conversation

@Daily-Dave

@Daily-Dave Daily-Dave commented Dec 3, 2026 •

Copy link
Copy Markdown

Why

Feed v124 (daily-feed #1099) changes how For You orders a page. The policy score the debugger already shows still decides which cards make the shortlist, but the click predictor q̂ decides the order among them, and the slot's variety multipliers are computed and logged but no longer move anything. On a v124 page today's "Score breakdown" would therefore make two false claims: that the variety rows ranked the card, and that the rows multiply into the number that placed it.

The explanation on a v124 card carries a new optional qhat block: fit (the predictor's score, out of 1000, in the order it ranked the shortlist), rank, exposure and tail. It deliberately does not carry what the number is made of; the debugger is open to every signed-in reader on For You, and the score is shown as a score and nothing more.

What the reader sees

The overlay card on each post is unchanged: its reason line, source and topic chips with their multipliers, and the controls all describe the signals that get a card onto the shortlist, and those still do that.

In "Full explanation", only the Score breakdown box changes, and only on a v124 page.

Before (and still, on every other feed version):

Score breakdown
  New post          ×1.12
  Topic match       ×1.28
  Engagement        ×0.29
  Freshness         ×0.96
  No effect: Follow, Seen before, Topic's turn,
             Source variety, Topic variety, Same story
  ─────────────────────────────────────────
  Score                               0.40
  The rows multiply into the score. Posts are
  ranked against each other, highest first.

After, on a v124 page:

Score breakdown
  Score                                412
    (hover) How well this post fits you right now, out of 1000.
            The higher the score, the earlier the post shows up in your feed.
  ─────────────────────────────────────────
  What got it shortlisted
  New post          ×1.12
  Topic match       ×1.28
  Engagement        ×0.29
  Freshness         ×0.96
  No effect: Follow, Seen before
  These rows got the post into the running. The score set its place.

On the one card per page that v124 shows so a new post gets a look, a line "Shown so a new post gets a look." sits under the score.

Changes

  • types.ts: the optional qhat block on a ranked explanation.
  • describe.ts: with the block, the breakdown's score is qhat.fit, the four variety rows are left out, and the parts carry shortlisted so the renderer knows which wording applies. Without it, nothing changes.
  • ScoreBreakdown.tsx: the score leads with its own hint on a shortlisted card, the factors follow under "What got it shortlisted", and the footer says what the rows did.
  • describe.spec.ts: the two new cases.

No GraphQL or daily-api change: the explanation reaches the client as JSON already. This can ship before or after daily-feed #1099 in either order; until that deploys no card carries the block and the breakdown reads as it does today.

Not in this PR

The score on the overlay card next to the "#position" marker, and the controls' visible effect on a v124 page (a boosted topic moves a post onto the shortlist but barely moves its score), which is the open product question on #1099.

🤖 Generated with Claude Code

Preview domain

https://feat-explain-qhat-score.preview.app.daily.dev

On v124 the For You ranking shortlists cards on the score the breakdown
shows and the click predictor puts them in order, so the breakdown's
claim that its rows multiply into the card's place stops being true.
When a card's explanation carries the predictor's block, the breakdown
leads with its score, out of 1000, keeps the policy factors under "What
got it shortlisted", leaves out the variety rows that no longer move a
card, and says which card was shown so a new post gets a look. A card
without the block reads exactly as before.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@vercel

vercel Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
daily-webapp Ready Ready Preview Dec 3, 2026 9:19am UTC

Request Review

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

This branch was successfully deployed

1 active deployment
Preview — 48bbc097 Deployed Dec 3, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants