fhocutt / matchbot Goto Github PK
View Code? Open in Web Editor NEWmaking connections in the Wikipedia Co-op
Home Page: https://en.wikipedia.org/wiki/User:HostBot/Co-op
License: GNU Lesser General Public License v3.0
making connections in the Wikipedia Co-op
Home Page: https://en.wikipedia.org/wiki/User:HostBot/Co-op
License: GNU Lesser General Public License v3.0
On test-wiki; needs a nonexistent profile page.
When the same thing is posted soon after, we want it not to post. When the same topic is posted because of a recategorization of the page (new category posted), we want it to post (as a new topic? Perhaps.)
API calls may not use maximum limits, and it is theoretically possible for not all results to be returned if there are too many of them.
This is going to mean writing more in mbapi, not matchbot.
Should cover:
Someone should be automatically notified if the bot is broken.
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.
Consider separating learner-related data and methods into a Learner class.
Errors are currently mostly not handled. This should change.
This probably involves swapping out the engine in SQLAlchemy.
Rotating run logs currently only log a few lines. They should be able to get longer (week of data? month of data?).
Redirects? Does the push notification go to the right place?
Things that should not be hard-coded:
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.