A discovery engine for Chub.ai character cards that surfaces hidden gems using engagement-quality scoring instead of raw popularity.
// momentum
// why it's here
- Active: last commit today
- Health 75/100 with only 20 stars
// how to help
// readme
π Chub AI Gems
A discovery engine for Chub.ai character cards that surfaces hidden gems using engagement-quality scoring instead of raw popularity.
The Problem
Chubβs default search ranks by popularity β favorites, downloads, clicks. This creates a rich-get-richer effect where viral cards with shallow engagement dominate, while deeply engaging cards with smaller audiences get buried.
The Solution
Gems scores every card using two behavioral signals:
- π΅ Depth β average messages per chat (do people actually talk to this character?)
- π©· Conversion β favorite-to-exposure ratio (do people who try it love it enough to come back?)
These are combined into a single Gem Score:
$$\text{Gem} = \left(\frac{\text{depth}}{\text{median depth}} + \frac{\text{conversion}}{\text{median conversion}}\right) \times \ln(\text{favorites} + 1)$$
The log-scaled favorites act as a confidence weight β a card needs some audience to rank, but doubling from 5,000 to 10,000 favorites matters far less than the quality signals.
Both signals use Bayesian smoothing to prevent small-sample cards from gaming the rankings: