← Back to Docs

Rarity System — How Meme Rarity Is Calculated

Rarity Overview

Every meme on AI MemeForge earns a rarity level based on community votes. Rarity isn't assigned by the AI — it's determined entirely by the community through the rarity voting system. Higher-rated memes earn rarer tiers, which increases their collectibility and perceived value as NFTs.

The Five Rarity Tiers

TierPercentile RangeColorFrequency
Common0 – 40%GrayMost memes (~40%)
Uncommon40 – 65%Green~25% of memes
Rare65 – 85%Blue~20% of memes
Epic85 – 95%Purple~10% of memes
Legendary95 – 100%GoldTop ~5% only

How Rarity Scores Work

During the voting period, users rate each meme on a 1-10 scale. The system calculates the average score across all rarity voters (rounded to 1 decimal place). This average score is then compared against all historical memes to determine a percentile ranking.

The Percentile Algorithm

Once a meme's voting period ends, the rarity engine runs a left-sided empirical CDF (cumulative distribution function):

  1. Collect average scores from all historical memes
  2. Count how many historical scores fall below the target meme's score
  3. Calculate: percentile = (belowCount / totalCount) × 100
  4. Map the percentile to a rarity tier using the thresholds above

This means rarity is relative, not absolute. A score of 7.5 might be "Rare" today but "Uncommon" next month if the overall quality of memes increases. The system self-calibrates over time.

Cold-Start Mode

When the platform has fewer than 30 total memes, there isn't enough historical data for meaningful percentiles. In this case, the system uses fixed score thresholds instead:

TierMaximum Score
Common≤ 4.0
Uncommon≤ 5.5
Rare≤ 7.0
Epic≤ 8.5
Legendary> 8.5

Once the platform crosses 30 memes, it automatically transitions to the percentile-based system for fairer, more dynamic rarity assignment.

Why This Design Matters

Traditional NFT rarity is set by creators. AI MemeForge inverts this — the community decides rarity through voting. This creates genuine consensus value: a Legendary meme earned that status because the community collectively rated it in the top 5%. No manipulation, no random assignment, just crowd wisdom.