PR #69

39 votes · 33 up · 6 down

View on GitHub
39
Total Votes
+33
Upvotes
-6
Downvotes
+33-6

Comments(4)

bigintersmindComment#69Add hot score ranking with trending section

This is also incorporated into #132, along with other views.

bigintersmindComment#69Add hot score ranking with trending section

Added a "show all" link so all PRs are easily viewed.

Screenshot 2026-01-20 at 9 06 53 PM
openchaos-bot[bot]Comment#69Add hot score ranking with trending section

🤖 OpenChaos Bot

Summary: This PR introduces a "Trending" PR list, displayed alongside the "Top by Votes" list, and adds a "TRENDING" badge to the PR card of trending items. It calculates a "hot score" based on votes and recency to determine trending PRs.

Files changed: 3 (src/components/PRCard.tsx, src/components/PRList.tsx, src/lib/github.ts)

Impact: Medium - Significantly changes how PRs are displayed and prioritized, potentially increasing engagement with newer PRs.


openchaos-bot

AhajhaComment#69Add hot score ranking with trending section

This is PR #69, this deserves votes on that alone

All Activity(48)

bigintersmindComment#69Add hot score ranking with trending section

This is also incorporated into #132, along with other views.

bigintersmindComment#69Add hot score ranking with trending section

Added a "show all" link so all PRs are easily viewed.

Screenshot 2026-01-20 at 9 06 53 PM
openchaos-bot[bot]Comment#69Add hot score ranking with trending section

🤖 OpenChaos Bot

Summary: This PR introduces a "Trending" PR list, displayed alongside the "Top by Votes" list, and adds a "TRENDING" badge to the PR card of trending items. It calculates a "hot score" based on votes and recency to determine trending PRs.

Files changed: 3 (src/components/PRCard.tsx, src/components/PRList.tsx, src/lib/github.ts)

Impact: Medium - Significantly changes how PRs are displayed and prioritized, potentially increasing engagement with newer PRs.


openchaos-bot

AhajhaComment#69Add hot score ranking with trending section

This is PR #69, this deserves votes on that alone

Add hot score ranking with trending section

Summary

  • Implements Reddit-style "hot" ranking that combines votes (logarithmic) with recency (linear)
  • Newer PRs can now compete with older PRs that have more votes
  • PRs displayed in two sections: Top 5 by Votes (merge candidates) and Trending (rising PRs by hot score)
  • Items in Top by Votes show a "TRENDING" badge if they're also in the top 5 by hot score

How it works

hot_score = log10(votes + 1) + (age_seconds / 45000)

The decay constant (45000 seconds ≈ 12.5 hours) means a PR needs ~10x more votes every 12.5 hours to maintain its position against newer PRs.

Screenshot

Screenshot 2026-01-20 at 9 06 53 PM