Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

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.

Post History

66%
+2 −0
Q&A Mismatch between tags list and number of posts for a given tag

I understand what is happening right here(with the counting). In Codegolf, sequence tag has 5 posts. But, it only has 4 question I was searching for the issue. What is wrong with the code? T...

posted 3y ago by deleted user

Answer
#1: Initial revision by (deleted user) · 2021-05-09T14:48:06Z (almost 3 years ago)
I understand what is happening right here(with the counting). 

In Codegolf, sequence tag has 5 posts.

![sequence tag](https://meta.codidact.com/uploads/z8tTFEgE8tiJFvyqZ36YCFga)

But, it only has 4 question

![tag:sequence questions](https://meta.codidact.com/uploads/hcfQRHxEbXh7gJwS51NETb4s)

I was searching for the issue. What is wrong with the code? Then, I was reviewing posts on with that tag. If you check history of those posts than, you will see **@Razetime** had edited [a post](https://codegolf.codidact.com/posts/279253/history) multiple times. Usually, the number of sequence tag was $4. But, when **@Razetime** had edited that post once. The number became 4+1=5. When he edited that post again the number was as it is. Which means when you edit a post first time the number of question in that tag list will be increase. 

I think this will be very hard to solve. The number of sequence tag on following picture was taken from server.

![sequence tag](https://meta.codidact.com/uploads/z8tTFEgE8tiJFvyqZ36YCFga)

 But, in `Posts tagged list` it was calculated programmatically. `mysqli_num_rows` that's what php programmer writes. While Codidact is written in Ruby. That's why sometime I can't understand code. 

**This answer will be helpful for Ruby programmer to work on [the issue](https://github.com/codidact/qpixel/issues/249).**