mdgspace / codephile-backend

Back-end for Official Codephile App
https://codephile.mdg.iitr.ac.in/
16 stars 6 forks source link

Finalize all profile scripts #8

Closed dev-ritik closed 5 years ago

dev-ritik commented 5 years ago

Complete and debug all profile fetching scripts

dev-ritik commented 5 years ago

This will include user details and ranks across platforms including global ranks. The goal is to successfully store user profile in the database. @Arnesh07 this should be given top priority and would be counted in V0.2

Arnesh07 commented 5 years ago

What basic user details do we need here? @dev-ritik Name, different website's handles, school would be fine?

Arnesh07 commented 5 years ago

After a little research, I have found that SPOJ and Codechef provides us with global ranks but codeforces and hackerrank doesn't. Codeforces has a "contest rating" whereas the leaderboard of hacker rank is very weird(It has a leaderboard according to the complexity of the problems). So I refererred to StopStalk and they present the user profile by the accuracy of the problems solved on various different websites. So what should we do? @dev-ritik @ArihantJain456

dev-ritik commented 5 years ago

@Arnesh07 We would be needing names, platform handles, school, various platform ranks and accuracy for now. Leave the ones which are not available or the scripts are not written yet.

Also, add foreign keys in the user table to separate tables for the platforms. We would be having 4 different tables storing data for each platform along with the user table.

Arnesh07 commented 5 years ago

What is needed to be done regarding this issue? I think that all the profile scripts are complete. @dev-ritik

dev-ritik commented 5 years ago

Yups! closing the issue