SOBotics / Nursery

A place to suggest and collaborate on new bot ideas.
0 stars 0 forks source link

Checking recreation of burned tags. #9

Closed Bhargav-Rao closed 5 years ago

Bhargav-Rao commented 6 years ago

Name of the bot: - General topic: tags Requires feedback: no Problem, the bot is supposed to solve:

Check which all tags are recreated after burnination. The list of burned tags are available here https://github.com/SOBotics/Tagdor/blob/master/StatusCompletedBurninateRequests.csv.

Ideas for implementation:

Should read that CSV and get the list of burned tags. Then call /tags/{tags}/info API (5 calls maximum) every 7 days, and post any match to chat.

Bhargav-Rao commented 6 years ago

Name Proposal (@adeak): Revenant

Bhargav-Rao commented 6 years ago

Name Proposal (me): Phoenix

g00glen00b commented 6 years ago

Name Proposal: Tagminator

Reason: It's a wordplay on "Tag" and "Terminator". Additional idea: Each time a tag is burnt again, the chatbot should say:

Hasta la vista, [tag:tagname]
superplane39 commented 6 years ago

Name Proposal: Zombie Watcher

NobodyNada commented 6 years ago

FWIW, FireAlarm could do this pretty easily — although it may be desirable to separate it into another bot.

FA currently has a tag blacklist, designed for bad-question-magnets like [seo]. If a question is posted in a blacklisted tag, the question is guaranteed to be reported. I could trivially create another blacklist for burninated tags, or I could make a new FireAlarm-based bot for that purpose.

I’m currently working full-time so I don’t have much spare time to work on this, but it shouldn’t take more than an hour so I can hopefully fit it in somewhere.

Bhargav-Rao commented 6 years ago

@NobodyNada, https://github.com/sobotics/tagdor provides an API where you can look up if a tag is burninated before or not. Perhaps FA can query that for all the 5 tags of a question?

NobodyNada commented 6 years ago

@Bhargav-Rao It’d probably be easier if FA just downloaded and parsed the CSV on startup, rather than making 5 HTTP requests per question.

Bhargav-Rao commented 6 years ago

I'm surprised that the blacklisted tag isn't being used widely. https://chat.stackoverflow.com/search?q=blacklisted+tag&user=6373379 Is there a way to blacklist a tag? (I don't see it here https://github.com/SOBotics/FireAlarm/wiki/CommandsSwift)

NobodyNada commented 6 years ago

Sorry it’s not in the commands list, I don’t do a great job of keeping that up to date. IIRC the commands are blacklist tag name, unblacklist tag name, and blacklisted tags.

double-fault commented 6 years ago

Here's the channels discussion for those who haven't seen it: https://stackoverflow.com/c/sobotics/questions/290

Bhargav-Rao commented 5 years ago

The work on this has started and further issues can be added on the actual repository. https://github.com/SOBotics/Revenant