CFStat: A Python Script to analyze your performance.

Правка en1, от VastoLorde95, 2016-08-14 11:16:39

Hi there.

I have written a simple Python script that do a couple of nifty things:

  1. Compare the problems solved by user X but not by user Y
  2. Give you a weekly breakdown of your problem solving performance on Codeforces
  3. Return a list of all your submissions till a specified point so that you can do your own analyses :)

Github Repo

How to install

Pre-requisites:

  1. Python 2.7
  2. Python Beautiful Soup 4
  3. Python requests
  4. Python tabulate

If you have all of these simply download the Python script from the GitHub repository and make changes in the last few lines of code :)

  1. getSubmissions(user, page_mx, print_flag = False): Generates a list of all submissions from the first page_mx number of pages made by user and prints this list if print_flag = True. Your submissions will be pushed into a list of 3-tuples: time-stamp of submission, problem code and verdict. You can use this list to perform any kind of additional analyses that you want :)
  2. getWeeklyStatistics(user, mx, aggregate) : Using the submissions list generated from the previous function, this generates a table for each week between start_year to end_year with statistics like % of WAs etc. Note: Week no is as per the ISO Calendar.
  3. compareUsers(user1, mx1, user2, mx2) : Using the first mx1 submissions of user1 and first mx2 pages of user2, this function prints a list of all problems solved by user1 but not by user2
Теги cfstat, tool, oye, teri

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en6 Английский VastoLorde95 2016-08-14 13:10:03 13 Tiny change: ' :)\n\n![ ](http://' -
en5 Английский VastoLorde95 2016-08-14 13:07:09 118
en4 Английский VastoLorde95 2016-08-14 12:00:05 6 Tiny change: 'imgur.com/a/XGJ2b)\n\' -> 'imgur.com/gallery/XGJ2b)\n\'
en3 Английский VastoLorde95 2016-08-14 11:39:44 34 Tiny change: 'ses :)\n\nLink\' -
en2 Английский VastoLorde95 2016-08-14 11:31:24 1024 Tiny change: 'ses :)\n\n[Github ' - (published)
en1 Английский VastoLorde95 2016-08-14 11:16:39 1586 Initial revision (saved to drafts)