AI Search Bug?

Posted under Bugs & Features

I tried adding and removing a tag through the AI search and both work as expected for me. Try it again and see what happens. And make sure to revert the changes if it clears out the tags again.

Blank_User said in forum #433092:

I tried adding and removing a tag through the AI search and both work as expected for me. Try it again and see what happens. And make sure to revert the changes if it clears out the tags again.

I’ll let you know here. I’ve added thousands of tags through the AI page and never had this happen until now :/

high-waist belt implies belt.

Presumably the bot breaks during some implication BURs (edit: appears it's something to do with adding tags with aliasing and maybe moving implications around forum #423689). When that happens the implied tag doesn't get added to posts until someone else updates them. You added a tag to a post with high-waist belt and the implication auto-added belt.

You'll find the same when editing the tags any of these posts: high-waist_belt -belt

Updated by Spatula22

Spatula22 said in forum #435450:

high-waist belt implies belt.

Presumably the bot breaks during some implication BURs (edit: appears it's something to do with adding tags with aliasing and maybe moving implications around forum #423689). When that happens the implied tag doesn't get added to posts until someone else updates them. You added a tag to a post with high-waist belt and the implication auto-added belt.

You'll find the same when editing the tags any of these posts: high-waist_belt -belt

Oh, very interesting... that makes a lot of sense.
Now I wonder, why did all of the tags from post #11147521 get removed when I just added teeth through the ai_tags page?

I noticed something similar one time where I used the edit mode in the mode menu to edit a post at the same time someone else was editing it, and that accidentally made me undo their edit since I hadn't refreshed the page thus the list of tags on the post it displayed to me didn't yet include the ones they had just added (I hope I'm wording that comprehensibly). So my best guess is the AI tags page works similarly, when you first open the page it loads the tags on all the posts displayed, and when you click to add one tag you're technically resubmitting all the tags on the post. Thus if someone added tags in the meantime, to the site it looks like you're removing their tags since clicking add doesn't first check if the tags have been updated before it performs your update. Which is weird because I've never seen the same problem with the tag script in the mode menu.

I can back up your experience. I use the Danbooru EX script and haven’t seen this same behavior. Hopefully the Admins can take a look at the original post I mentioned and scrub through the server logs and see what might be happening

1