Project Leaderboard shows incorrect species counts for some observers

Hi,

I would like to report a long-standing bug affecting the Project Observer Leaderboard, specifically the “Species” column.

For observers with a relatively small number of observations (approximately fewer than 700 observations in a project), the leaderboard displays an incorrect number of species. The displayed value is significantly lower than the actual number of research-grade species.

For observers with larger datasets (around 1000 or more observations), the species count appears to be correct.

Example:

Project:
https://www.inaturalist.org/projects/dikie-ptitsy-rossii-bez-gibridov

Observer leaderboard:
https://www.inaturalist.org/projects/dikie-ptitsy-rossii-bez-gibridov?tab=observers

The observer iiukolov has:

638 observations
603 research-grade species

This can be verified by filtering the observations by both project and user:
https://www.inaturalist.org/observations?project_id=dikie-ptitsy-rossii-bez-gibridov&user_id=iiukolov&verifiable=any

However, the leaderboard reports only 475 species for this observer.

These 603 are genuine research-grade species, not higher-level taxa such as genera or families. I know there was an older bug related to higher taxa, but this appears to be a different issue.

There is another related problem.

On the project observations page in the “Observers” view:
https://www.inaturalist.org/observations?project_id=dikie-ptitsy-rossii-bez-gibridov&view=observers&verifiable=any

the observer iiukolov does not appear in the observer list at all, despite having 638 observations in the project.

The bug seems to affect observers who have relatively few observations but many unique species. It has existed for many years.

Please investigate and fix this issue. The incorrect species counts and the missing observers make the project rankings inaccurate and misleading.

Thank you!

there are 2 different things going on here:

this is the same sort of thing reported previously (though as far as i know never really addressed/investigated) in https://forum.inaturalist.org/t/incorrect-calculation-for-most-species-on-the-project-page/62501/4. because it’s related to indexes, it may seemingly resolve itself at some point if observations get indexed properly.

this is related to https://forum.inaturalist.org/t/incorrect-calculation-for-most-species-on-the-project-page/62501/4. staff last indicated this sort of behavior is intentional, although in this previous discussion, they said that was so specifically for /projects, and so implied that it was intentional for /observations, too. it’s interesting though that since the discussion, the behavior has changed for /projects but still remains in /observations.

they’ve gone back and forth on this behavior on both screens in the past. but if /projects has the most recent change in behavior, maybe /observations will/should follow?