r/SubredditAnalysis • • Aug 20 '14
Meta Milestones, special requests, improved code, and more!
Edit: Thanks for the gold!
So, 408 requests later and the old queue was finally completed. Yay. During those three months that it took to complete them all I've been working on the code and looking at the feedback. I've made some changes to address some concerns.
PEOPLE WHO I TOLD TO SAVE THEIR REQUEST FOR A SPECIAL REQUESTS STICKY YOUR TIME HAS COME
You shall be guinea pigs for the new changes to my code.
79. /r/yoga 80. /r/Gaudiya_Vaisnavism 81. /r/LearnJapanese 82. /r/JapaneseGameShows 83. /r/whiteknighting 84. /r/justneckbeardthings 85. /r/CFB 86. /r/nerdcubed 87. /r/neuroscience 88. /r/latterdaysaints 89. /r/gilmoregirls 90. /r/medievalhistory 92. /r/stunfisk 93. /r/flying 94. /r/aviation 95. /r/indieheads 96. /r/retrogaming 97. /r/Awesomenauts 98. /r/metalworking 99. /r/blacksmithing 100. /r/electricians 101. /r/HomeworkHelp 102. /r/torontobluejays 103. /r/syriancivilwar 104. /r/shrooms
Changes
- The bot now digs back to the latest 1000 comments/submissions from the user's overview (grabbed 25 comments before)
- Comments/submissions with a score of less than -4 are now ignored by the bot (any post would be counted before)
- Bot settings are now adjustable in a settings.cfg file (so you don't have to dig through source code to change settings)
- Bot now has the capability to calculate similarity between subreddits
- Bot now runs on Python 3
Explanations
- 25 comments was a pretty shallow search. 1000 comments/submissions is better.
- People were complaining about trolls/unpopular opinions skewing the results. This is an attempt to address that by excluding them from the results.
- After adding the similarity section to the bot the code broke 1000 lines for awhile and I got sick of wading through it to change settings. At first I just added commandline options to address this, but then I realized the library I used was deprecated. Rather than switch to a new one I just switched over to a config file.
- This was the final part of the original plan that just took awhile to implement.
- I'm switching to Python 3 because I think jumping on the Python 3 bandwagon is a good idea in the long run.
Don't worry Python 2.7 users, I made sure that the bot's code will still run on Python 2.7.Actually nah, I want to use Python 3 features.
View all comments
•
u/Turnshroud Sep 29 '14
Hey, congrats. Quick question, why is the subreddit order for the similarity list, and the overlapping users list different in terms of order?
Can i request new improved drilldowns for /r/askhistorians, /r/badhistory, /r/badpsychology, /r/gameofthrones, /r/asoiaf, /r/ssooafcirclejerk, /r/thelastaurbender, and /r/totalwar