# Error in Community Algorithm Count for Species Complexes

**URL:** <https://forum.inaturalist.org/t/error-in-community-algorithm-count-for-species-complexes/73636>\
**Category:** Bug Reports\
**Created:** [December 12, 2025, 2:01pm UTC](https://forum.inaturalist.org/t/error-in-community-algorithm-count-for-species-complexes/73636 "2025-12-12T14:01:38Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![tonyrebelo](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/tonyrebelo/32/317_2.png) [@tonyrebelo](https://forum.inaturalist.org/u/tonyrebelo)\
**Post date:** [December 12, 2025, 2:01pm UTC](https://forum.inaturalist.org/t/error-in-community-algorithm-count-for-species-complexes/73636/1 "2025-12-12T14:01:38Z")

</div>

re: [https://www.inaturalist.org/observations/43048348](https://www.inaturalist.org/observations/43048348) (and similarly for [https://www.inaturalist.org/observations/43065926](https://www.inaturalist.org/observations/43065926))

The following IDs are posted:

1. [Family Lycaenidae]
2. [Complex Leptotes pirithous]
3. [Complex Leptotes pirithous]
4. [Complex Leptotes pirithous]

So simply, 1 ID to family, followed by 1 ID to Complex and two agreements to that. Some comments, but no other IDs.

The community taxon is

 ![image](https://us1.discourse-cdn.com/flex016/uploads/inaturalist/original/3X/9/1/9114fe9913549751ea420e16bcb920752ef32278.png)  
which to me is wrong, because there are only 3 cumulative IDs at Complex level, and a non-disagreeing neutral comment at a higher rank, but if iNat wants to call it 4 agreements, then OK.

But if we look at the algorithm:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/inaturalist/original/3X/b/4/b4b9838989a4e9c31cfbea44be0812f870fe656a.png)

We see that at the complex level we have 3 agreements: great.  
But that at the Genus level, we suddenly get a disagreement, without any additional IDs - i.e. 3 IDs cumulative and 1 disagreement. Where is this disagreement??  
At the Family level we get our cumulative 4 IDs, and the faulty disagreement count vanishes.

This was apparently one of the observations affected by [https://www.inaturalist.org/blog/120950-revisiting-based-on-the-evidence-can-the-community-taxon-be-improved](https://www.inaturalist.org/blog/120950-revisiting-based-on-the-evidence-can-the-community-taxon-be-improved) , but I have tweaked the votes, and adding yes or no does not change the Algorithm summary. And the error repeats for the revised calculations if I withdraw my ID.

---

<div class="post-metadata">

**Author:** ![tonyrebelo](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/tonyrebelo/32/317_2.png) [@tonyrebelo](https://forum.inaturalist.org/u/tonyrebelo)\
**Post date:** [December 12, 2025, 2:16pm UTC](https://forum.inaturalist.org/t/error-in-community-algorithm-count-for-species-complexes/73636/2 "2025-12-12T14:16:11Z")

</div>

Seems like this is more generic than just complexes.  
Have just seen the same for a section.

[https://www.inaturalist.org/observations/317484539](https://www.inaturalist.org/observations/317484539)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/inaturalist/original/3X/3/9/397239e95daa4d93c4bab59a6cd16d8c65b89d5c.png)

---

<div class="post-metadata">

**Author:** ![spiphany](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/spiphany/32/31332_2.png) [@spiphany](https://forum.inaturalist.org/u/spiphany)\
**Post date:** [December 12, 2025, 2:32pm UTC](https://forum.inaturalist.org/t/error-in-community-algorithm-count-for-species-complexes/73636/3 "2025-12-12T14:32:23Z")

</div>

I suspect it is in fact related to recent changes in the community taxon calculation – however, not this most recent change but the [previous one](https://forum.inaturalist.org/t/research-grade-with-only-one-id-at-that-rank/3270/51).

My guess is that whatever changes were made also involved redefining “disagreements” so that in some cases broader IDs are displayed as though they were disagreements. It is not related to whether the DQA is used or not – I checked a few of my observations that had a mixture of broader and finer IDs (but no disagreements) and it seems like under certain circumstances some of the IDs start being counted column 3 instead of in column 1.

It is also very very unintuitive – I really don’t understand what triggers this, but I assume it has something to do with community ID and observation ID being different.

---

<div class="post-metadata">

**Author:** ![tonyrebelo](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/tonyrebelo/32/317_2.png) [@tonyrebelo](https://forum.inaturalist.org/u/tonyrebelo)\
**Post date:** [December 12, 2025, 2:35pm UTC](https://forum.inaturalist.org/t/error-in-community-algorithm-count-for-species-complexes/73636/4 "2025-12-12T14:35:16Z")

</div>

But if they are a disagreement, they should apply to the leaf taxon as well, not just the intermediate ones …  
And in the two examples above, the community and observation IDs at all the levels are the same.

---

<div class="post-metadata">

**Author:** ![DianaStuder](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/dianastuder/32/43358_2.png) [@DianaStuder](https://forum.inaturalist.org/u/DianaStuder)\
**Post date:** [December 12, 2025, 2:53pm UTC](https://forum.inaturalist.org/t/error-in-community-algorithm-count-for-species-complexes/73636/5 "2025-12-12T14:53:39Z")

</div>

Ether the algorithm arithmetic is wrong, or the display is wrong. I see that so often, that I ignore the discrepancy. 4 out of 4, but all 4 do not exist.

---

<div class="post-metadata">

**Author:** ![spiphany](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/spiphany/32/31332_2.png) [@spiphany](https://forum.inaturalist.org/u/spiphany)\
**Post date:** [December 12, 2025, 2:55pm UTC](https://forum.inaturalist.org/t/error-in-community-algorithm-count-for-species-complexes/73636/6 "2025-12-12T14:55:26Z")

</div>

I didn’t say they were disagreements or that they should be called this. I also noted that I don’t completely understand what is going on.

I said that for some reason iNat seems to be labeling these IDs as disagreements under certain circumstances – I think it is basically any ID that is broader than the taxon in that row.

I have a vague recollection that the calculation used to display things slightly differently.

---

<div class="post-metadata">

**Author:** ![loarie](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/loarie/32/7_2.png) [@loarie](https://forum.inaturalist.org/u/loarie)\
**Post date:** [December 12, 2025, 4:24pm UTC](https://forum.inaturalist.org/t/error-in-community-algorithm-count-for-species-complexes/73636/7 "2025-12-12T16:24:13Z")

</div>

I agree there seems to be an error here - we are looking into it and will report back

---

<div class="post-metadata">

**Author:** ![rupertclayton](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/rupertclayton/32/2745_2.png) [@rupertclayton](https://forum.inaturalist.org/u/rupertclayton)\
**Post date:** [December 12, 2025, 7:06pm UTC](https://forum.inaturalist.org/t/error-in-community-algorithm-count-for-species-complexes/73636/8 "2025-12-12T19:06:32Z")

</div>

It’s probably not a very helpful data point for debugging, but I’ve seem similar Algorithm Summaries for a lot of observations recently. The pattern appears to be that the observation has an accurate score \> 0.67 at the CID rank, but lower, inaccurate scores (often below 0.67) for some higher ranks.

I have tried unsuccessfully to figure out the logic for how these are being calculated. In simple terms it seems that the CID for a higher rank should never be lower than the score for one of its descendants. And until recently, that was always the case.

---

<div class="post-metadata">

**Author:** ![loarie](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/loarie/32/7_2.png) [@loarie](https://forum.inaturalist.org/u/loarie)\
**Post date:** [December 13, 2025, 6:41am UTC](https://forum.inaturalist.org/t/error-in-community-algorithm-count-for-species-complexes/73636/9 "2025-12-13T06:41:56Z")

</div>

Thanks for reporting this. I found two bugs in the Display of the Community Taxon (not the actual behind the scenes calculation) and took a [first pass at a fix](https://github.com/inaturalist/inaturalist/pull/4749/files) that looks promising - we’ll aim to deploy early next week.

 ![Screenshot 2025-12-12 at 10.37.06 PM](https://us1.discourse-cdn.com/flex016/uploads/inaturalist/original/3X/2/3/2350f1df7d19a7930f9bd995ea0af030e3fb6150.jpeg)

 ![Screenshot 2025-12-12 at 10.37.16 PM](https://us1.discourse-cdn.com/flex016/uploads/inaturalist/original/3X/e/1/e1049bf3c8e41174c57290057ec0008185bcc439.png)

---

<div class="post-metadata">

**Author:** ![loarie](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/loarie/32/7_2.png) [@loarie](https://forum.inaturalist.org/u/loarie)\
**Post date:** [December 17, 2025, 1:03am UTC](https://forum.inaturalist.org/t/error-in-community-algorithm-count-for-species-complexes/73636/10 "2025-12-17T01:03:52Z")

</div>

This should now be fixed - let us know if you see any more issues and thanks for reporting this bug

[https://www.inaturalist.org/observations/43048348](https://www.inaturalist.org/observations/43048348)

 ![Screenshot 2025-12-16 at 5.02.17 PM](https://us1.discourse-cdn.com/flex016/uploads/inaturalist/original/3X/f/1/f101c173e90bdb278e3d43236f13551d50bfed04.png)

 ![Screenshot 2025-12-16 at 5.02.09 PM](https://us1.discourse-cdn.com/flex016/uploads/inaturalist/original/3X/f/5/f59ccaa8c12e9a69bfcd41472128e75d5ac3138f.png)

---

<div class="post-metadata">

**Author:** ![bouteloua](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/bouteloua/32/1180_2.png) [@bouteloua](https://forum.inaturalist.org/u/bouteloua)\
**Post date:** [January 30, 2026, 7:25pm UTC](https://forum.inaturalist.org/t/error-in-community-algorithm-count-for-species-complexes/73636/11 "2026-01-30T19:25:32Z")

</div>


