Welcome to Codidact Meta!
Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.
Mismatch between tags list and number of posts for a given tag
Sometimes the number of posts indicated in the tags list does not match the number of posts displayed for that tag. This appears to be due to the inclusion of deleted posts in the displayed number. Would it be more helpful to exclude deleted posts so that the numbers match (long term - putting aside caching effects)?
An example from Code Golf
The "math" tag shows 5 posts but clicking on it lists only 3 posts.
An example from Writing
Here the example images are shown first from the "Q&A" section and then from the "Challenges" section. The results are the same posts each time (each post being labelled as Q&A or Challenges depending on what list it is showing in, rather than depending on its genuine category). This is mentioned in existing bug https://github.com/codidact/qpixel/issues/249
This shows that the discrepancy is not due to the existence of other category types.
Moshi points out in a comment that deleted posts are included in the number shown next to each tag, so this probably explains it.
Under "Q&A" The "mobile" tag shows 3 posts but clicking on it lists only 2 Q&A posts.
Under "Challenges" The "mobile" tag shows 3 posts but clicking on it lists only 2 Challenges posts. As mentioned, these are the exact same 2 posts shown under Q&A, so they are each mislabelled in one of these lists.