Activity Leaderboard

๐Ÿœ‚ Activity Leaderboard

The Ometeotl Activity Leaderboard distributes 1000 activity-shares among contributors based on their recent, weighted activity. It rewards sustained, high-quality contributions while ensuring every contributor โ€” even occasional ones โ€” receives recognition.

The founder is excluded from share allocation and displayed out-of-competition.

View current standings โ†’


How It Works

The leaderboard pipeline runs in four stages:

Raw Score  โ†’  z-score  โ†’  Adjusted Score  โ†’  Activity-Shares

Stage 1 โ€” Raw Activity Score

Every contribution is weighted and decayed over time:

S(u) = ฮฃ  weight(event) ร— recency(age)
EventWeightRationale
Merged PR10Core contribution โ€” reviewed and integrated
Commit in merged PR3Rewards granular, iterative work
PR review4Code review is high-value mentorship
Issue opened2Surfaces bugs and proposes features
Comment (issue/PR)1Encourages community discussion
Lines changed0.01/lineMinor volume bonus (capped at 200 lines/PR)

Recency decay uses an exponential half-life of 90 days:

r(t) = 2^(โˆ’t / 90)

A contribution keeps 50% of its value after 3 months, 25% after 6 months, and ~6% after a year. It never reaches zero.

Recency Decay

Stage 2 โ€” z-score Normalization

Raw scores are standardized across all contributors (founder included):

z(u) = (S(u) โˆ’ mean) / std_dev

This removes scale dependence: z = 0 always means “average contributor.”

Stage 3 โ€” Adjusted Score

The standardized score is transformed through a non-linear function designed to:

f(z) = exp(sinh(z) / k)

Adjusted Score Function

The key mathematical properties of this function:

Stage 4 โ€” Adaptive Smoothing (k)

The smoothing factor k adapts to community size:

k = max(3, 12 โˆ’ n_active)

Where n_active = number of contributors with activity in the last 180 days.

Adaptive k

Phasen_activek rangeEffect
Protective1โ€“811 โ†’ 4Smooth distribution โ€” prevents one person from dominating a small pool
Mature9+3 (floor)Full differentiation โ€” exceptional contributors are generously rewarded

This means the leaderboard automatically becomes more competitive as the community grows.

Share Allocation

Activity-shares are proportional to adjusted scores (founder excluded), totaling 1000:

shares(u) = (f(z(u)) / ฮฃ f(z(uแตข))) ร— 1000

Share Allocation


Example

With 9 active contributors and k = 3:

Rankz-scoreSharesProfile
1+2.50433Star contributor โ€” generously rewarded
2+1.94179Strong contributor
3+1.38107Above average
5+0.2563Average โ€” stable, predictable share
7โˆ’0.8841Below average โ€” still meaningful
9โˆ’2.0017Occasional โ€” symbolic but non-zero

Relationship with the Rank System

The leaderboard is complementary to the rank system (Path of the Serpent):

Rank SystemActivity Leaderboard
NatureLifetime milestoneDynamic snapshot
Based onTotal merged PRsWeighted, recency-adjusted activity
DirectionOnly goes upFluctuates with activity
PurposeStatus and identityIncentive and recognition

You can be a high-ranking Otomi with few current shares (if inactive recently), or a new Eagle Warrior with a strong share from a single impactful PR.


Transparency

Ometeotl

A Python library to build complex multi-agent simulations, wargames, and AI-driven strategies