Metaculus / Metaculus/metaculus

Best Ever ranking revamp

Open
#4,026 1 comment 0 reactions 1 assignee View on GitHub

@lsabor is already working on this.

Since Jan 8, 2026.

Medium Priority Stale
Dominant language
TypeScript
Stars
113
Forks
34
Avg merge
16h 34m
Merged PRs (30d)
30

Description

See slack thread: https://metaculus.slack.com/archives/C011Z8VPWUC/p1767887202669549

Make the algorithm that updates "Current Rank" and "Best Ever" reruns history (simulating once per month or week - dealer's choice).

Ideally, don't actually update the values in the db until the history rerun is complete - some refactoring would be required to achieve this.

During this task, also fix a minor bug where the filtered LeaderboardEntrys aren't the right ones.

    # Look only at leaderboards which are finalized
    relevant_entries_qs = LeaderboardEntry.objects.filter(
        leaderboard__finalized=True,
        leaderboard__project__type__in=[Project.ProjectTypes.SITE_MAIN, Project.ProjectTypes.TOURNAMENT],
        leaderboard__project__visibility=Project.Visibilty.NORMAL,
        leaderboard__project__default_permission=ObjectPermission.FORECASTER,
    )

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.