Giter VIP home page Giter VIP logo

matchbot's People

Contributors

fhocutt avatar jtmorgan avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

matchbot's Issues

write a README

Should cover:

  • purpose of the script
  • how to run the script
  • how to run it on cron on Labs?
  • assumptions baked in
  • how to edit the config (oh json)/what the categories mean/correspond to
  • log formats and information, where logs are stored

Make logs more complete and readable

Log format is neither documented nor obvious, nor is it consistent across types of log.

Figure out how to log the stack trace for errors.

Log errors both to the console and the log file (so that there's a notification on cron? figure out how that works.)

Consider a rotating set of debugging logs with a bunch of information.

Make rotating logs larger

Rotating run logs currently only log a few lines. They should be able to get longer (week of data? month of data?).

Pull customizable data out to a config file

Things that should not be hard-coded:

  • category names
  • greeting/topic
  • namespace/title of Co-op (?)
  • site, protocol, user-agent, username, password
  • base of categories ("editing", "technical editing", etc.)

put in a run ID to logs

Log a unique run ID every time matchbot.py is run. Suggestions: epoch time; the process ID, followed by a dot, followed by the current unix epoch time.

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.