root/imbot/ideas.txt

Revision 13, 264 bytes (checked in by pantley2, 3 years ago)

Bot keeps track of time, senders/recipients, loads filters from YAML files

Switched the graph type to 'labeled', which required adding *.py files to Python's NetworkX directory. Now nodes can contain extra data that isn't involved in the hashing of the main node data.

Had to install PyYAML since Python doesn't come with it. I added a README.txt that mentions this, in case anyone tries to run this on a new Python installation without reading this note.

There's a ton of print statements, but I decided to leave them in there since they're very descriptive and give you a clear idea of what it's doing at every step of the reply process. Hence, I put 'if debug: print...' in front of all of them (I may have missed a few, I haven't tried running with debug prints disabled yet).

sigartbot.py now passes the senders and recipients who said each message into the brain functions to aid with the new timing feature, which makes sure messages like "hello" are only said at the beginning of conversations, and "hey, I'm back" would only be said after a reasonable amount of time has passed.

Line 
1 * Make judgements about a person based on their screenname/info
2 * Who-knows-who database to aid in gossiping
3 * Tie names to sources of data in conversations (spread the blame)
4 * Use the time-based list comprehensions to optimize later queries (smaller datasets)
Note: See TracBrowser for help on using the browser.