Repository navigation
feat(news): rank /news by interest, show why, add /news/latest - #367
Merged
Merged
Conversation
Keep the reviewed news corpus and add the desk's interest notes and thread observations. Score the whole corpus before filtering or limiting. Show the editorial reason in reader HTML, Markdown and the capability output. Serve the same rows newest first at /news/latest without changing the Atom feed. The base contains 70 of the 75 URLs in the desk's notes. Preserve all 70 and do not reintroduce the absent five. With the same input rows, people, bookmarks and ranking date, the desk prototype and TypeScript agree on each of the top 12 URLs, reasons and scores (1e-12 tolerance). | Mutant | Property that failed | Replay seed | | --- | --- | --- | | Remove the editorial guard on same-topic penalties | A higher placement with lower editorial cannot demote the target through the topic penalty | -8428895833057311 | | Use repo stars for releases and posts | Release and post stars do not change any score | -7220273481292087 | | Add age instead of subtracting it | Older never scores better, and a later push refreshes the row | 5221514034542451 |
# Conflicts: # .brain/data/git-snapshot.json # apps/site/scripts/generate-content.ts # apps/site/src/content.ts # apps/site/test/worker.test.ts # packages/core/src/contracts.ts
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ranks /news by interest instead of raw engagement, shows a short reason under each entry, and adds a chronological
/news/latestview.Why
The old score added log engagement and took off 1 point per 72 hours. Release rows got repo lifetime stars, so an XState patch (30k stars) and an Effect patch (17k) sat near the top on the size of their repos. An 11-17 thread with 761 likes outranked every row added since. Joel asked for /news to surface interesting news, not latest news.
Score
Each row gains an optional
interest(substance, editorial, topic, why), and engagement gainsbookmarksandpeers. All 70 rows are annotated.Surfaces
/newsshows each row's why in one muted line, in HTML and Markdown, andlistCafeNewsreturns it./news/latestlists the same rows newest first. The two pages link to each other, and the sitemap and llms.txt list it.Checks
pnpm turbo run check test build --summarize: 106/106 on the merged headb0a03bde, with pnpm 11.3.0.264ac475.Top 5 after this lands (rankedAt 2026-11-25)
Joel approved this through Switchboard on 2026-11-26, after seeing the old and new top tens side by side.