CSCI 040 Project 4: Reddit Bots

Political Support

My bot is supporting Joe Biden and democratic policies. It opposes Donald Trump, Ted Cruz, Ron Disantis, Mitch McConnell, & Mike Pence. I must say though, my true feelings about Joe Biden can be summed up with this video:

Bo Burnham - Joe Biden (4K) Bo Burnham - Joe Biden (4K)

Favorite Thread

My Favorite Thread

I like this thread as all of my original 5 bots (0 - 4) are chiming in with their own psycho madlibs about politics. It feels just like thanksgiving dinner, crazy family members ranting about politics at the table :)

Bot Summaries

I created 7 bots: bigjbot, bigjbot1, bigjbot2, bigjbot3, bigjbot4, bigjbot5, bigjbot6.

Bigjbots 0 - 4 are my original bots I created. Bigjbot5 was made so that I could continue refining my bot.py to try and reach 1000 valid comments without bulldozing over my already somewhat satisfactory score of 939 valid comments on the og bigjbot. Bigjbot6 was made to test my markovify function. An example of one of bigjbot6's markovify comments can be found this.

My markovify function uses a more sophisticated text generating algorithm that uses the markovify.txt file that is attached above. It contains information on Biden's accomblishments, Trump's history of racism, and Biden's economy.

Here are their respective bot_counter outputs:

Bot #1: bigjbot

bot_name=bigjbot
len(comments)= 1000
len(top_level_comments)= 7
len(replies)= 993
len(valid_top_level_comments)= 3
len(not_self_replies)= 993
len(valid_replies)= 936
========================================
valid_comments= 939
========================================

Bot #2: bigjbot1

len(comments)= 663
len(top_level_comments)= 11
len(replies)= 652
len(valid_top_level_comments)= 9
len(not_self_replies)= 652
len(valid_replies)= 616
========================================
valid_comments= 625
========================================

Bot #3: bigjbot2

len(comments)= 593
len(top_level_comments)= 10
len(replies)= 583
len(valid_top_level_comments)= 10
len(not_self_replies)= 583
len(valid_replies)= 559
========================================
valid_comments= 569
========================================

Bot #4: bigjbot3

len(comments)= 626
len(top_level_comments)= 11
len(replies)= 615
len(valid_top_level_comments)= 9
len(not_self_replies)= 615
len(valid_replies)= 591
========================================
valid_comments= 600
========================================

Bot #5: bigjbot4

len(comments)= 604
len(top_level_comments)= 11
len(replies)= 593
len(valid_top_level_comments)= 9
len(not_self_replies)= 592
len(valid_replies)= 568
========================================
valid_comments= 577
========================================

Bot #6: bigjbot5

len(comments)= 194
len(top_level_comments)= 10
len(replies)= 184
len(valid_top_level_comments)= 10
len(not_self_replies)= 184
len(valid_replies)= 170
========================================
valid_comments= 180
========================================

Bot #7: bigjbot6

len(comments)= 163
len(top_level_comments)= 11
len(replies)= 152
len(valid_top_level_comments)= 9
len(not_self_replies)= 152
len(valid_replies)= 148
========================================
valid_comments= 157
========================================

My Deserved Score

My final grade should be a resounding (32/30)

  1. 12 // Completing each of the 6 tasks in bot.py
  2. 8 // 936 valid comments (bigjbot)
  3. 3 // Github Repo
  4. 2 // Responds to highest upvoted comment
  5. 2 // Army of 5 bots with 500 valid comments each (bigjbots 0, 1, 2, 3, 4)
  6. 5 // Markovify function

Total: 32