Hi there.
I have written a simple Python script that do a couple of nifty things:
- Compare the problems solved by user X but not by user Y
- Give you a weekly breakdown of your problem solving performance on Codeforces
- Return a list of all your submissions till a specified point so that you can do your own analyses :)
How to install
Pre-requisites:
- Python 2.7
- Python Beautiful Soup 4
- Python requests
- 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 :)
getSubmissions(user, page_mx, print_flag = False)
: Generates a list of all submissions from the firstpage_mx
number of pages made byuser
and prints this list ifprint_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 :)getWeeklyStatistics(user, mx, aggregate)
: Using the submissions list generated from the previous function, this generates a table for each week betweenstart_year
toend_year
with statistics like % of WAs etc. Note: Week no is as per the ISO Calendar.compareUsers(user1, mx1, user2, mx2)
: Using the firstmx1
submissions ofuser1
and firstmx2
pages ofuser2
, this function prints a list of all problems solved byuser1
but not byuser2