Subgenus not able to become RG when observer opts out of community ID

In this example, when ticking NO to ‘Can the ID still be improved’ the observation grade changes to ‘Casual’, but should becom RG, as it has to IDs on subgenus level:

https://www.inaturalist.org/observations/20277331

I guess it has problems with the subgenus taxon level?

In constrast here, with only one ID at subgenus and another at genus level, the observation receives RG: https://www.inaturalist.org/observations/20216027

2 Likes

In your second example, you shouldn’t yet mark it as community ID cannot be improved, because with a single subgenus ID, the community ID is still at genus.

1 Like

Investigating…

2 Likes

This wasn’t meant to stay that way, just to raise attention and to understand how the system works. Neither of those two examples seems to be correct, the first should not change to casual, and the second (with one vote for genus and one for subgenus) should not get RG on subgenus level. As Tony got the attention on the issue, I will remove my votes in both cases.

1 Like

It appears to be due to the first user’s opting out of community ID. I’ve run into this on some observations at the genus-level, and the opt-out has been the sole commonality. Even if the observer gives the same ID, it currently won’t enter RG at a supra-generic level unless the observer hits the “cannot be improved” button and will instead be forced into casual grade.

I might be wrong, but it looks like the answer might just be that for some reason, while the code usually checks for species or lower, when it’s set to “can’t be improved” it doesn’t check for genus or lower, but only for genus (this line, on Github). If I’m right, the fix is just changing that to <= Taxon::GENUS_LEVEL (I don’t have time to test locally right now and I see @tiwane hasn’t created a github issue yet though, so no PR for now).

2 Likes

That would well explain the example https://www.inaturalist.org/observations/317485 that I cited in an accidentally redundant thread just now.