Closed ShivamSinghal1 closed 2 years ago
/cib assign problems
Branch issues/ShivamSinghal1/issue-112/assign-problems created!
User Status - Seen Problem
Problem.objects.filter(platform = 'F' )
Gym Filter -> Contest Filter -> contest.objects.filter(Type = 'R' )
Make a list of all ids. contest.id
Problem.objects.filter(contest = contestsID)
After all Problem Filter Regular Contest Excluding seen problems
SolveProblemsAPIView - Read and Understand
-> Rating CodeforcesUser.rating
Problem Filter Select 5 Problems
( Rating % 100 == 0 ) => Random Rating
Difficulty None
Assign Problems to Codeforces Contest for Extension.
Based on User Rating Select 5 Problems -
Steps - Filter Problems of Codeforces and Regular Contest
Filter and Exclude Problems that were solved by User
Select Problems in range +-200.