Giter Site home page Giter Site logo

sobotics / firealarm Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 8.0 18.91 MB

A Stack Exchange chatbot to catch low-quality posts.

Home Page: https://bonfire.sobotics.org

License: MIT License

Shell 0.67% Swift 99.33%
chat-bot low-quality-posts lqp-prevention stack-exchange stack-exchange-chat stack-overflow

firealarm's People

Contributors

double-fault avatar gsquaredxc avatar nobodynada avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

firealarm's Issues

Restrict the train wreck for just certain situations

As I mentioned here #19 (comment):

I'd rather say that we remove the train wreck for the normal jobs which we do daily, like feedbacks. The #rekdtrain shouldn't fire when we're giving a bunch of feedback to any of the bots, either using the feedback command, or the reply option. Let the train wreck remain when a lot of people say the same general thing.

The issue which @danbopes is facing is that, they're seeing the #rekdtrain almost daily, at which point the joke becomes annoying.

Reduce the rate of questions feed into the room by introducing a delay and checking for close votes

The rate of question the bot finds is a little high. I am wondering if we could mitigate this by putting a delay between when the question is posted and when the bot notifies the room. If we could have it wait X minutes (I'm thinking like 15-30 minutes) and then if there are no close votes then go ahead and notify. If it has close votes or is already closed then the tag is working on it or has done its job and there is no reason to let us know.

Just like [cv-pls] we should be giving the people in the tag the opportunity to handle the trash before we step in.

Enhancements

I plan to do some enhancements in FA-Swift.

  • Only autoupdate when the commit message contains --autoupdate (something like Smokey), otherwise update when a user manually runs the update command.

  • A command called leave room which will just leave the room instead of being killed in every other room too.

  • Print the likelihood of a report for debugging purposes.

  • Make the start message contain more information.

  • Location command

  • Print the likelihood when a check post fails.

  • report command to report a post (mainly for testing purposes). Requires the owner privilege.

  • Rewrite wikis

  • A test command to allow testing of given text.

  • Add a command to show which all room FireAlarm is in.

  • Add a why command.

  • Add a membership command printing all privileged users.

  • Add a enhancement so that we can check the privs of any other user from chat.

  • Add a CI

Remove trailing backslashes from question titles

Today we had a report where the question's title ended with a backslash (\), this caused the link markdown to be escaped and thus broke the link:

[ FireAlarm-Swift ] [tag:php] Potentially bad question [Undefined index: files in C:](//stackoverflow.com/q/49947530)

The question's title:

Undefined index: files in C:\

Sadly it seems you can't escape backslashes in chat, so they will have to be removed.

Ideas for new filters

FireAlarm currently uses a Naive Bayes classifier to detect bad posts. This works great, but a couple of other filters which add to the weight would help detect a lot more bad posts. If you have an idea for a new filter, please post one! One per comment, please.

The Naive Bayes filter, Misleading Links, and Blacklisted tag/keyword/user filters already exist.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.