online-judge icon indicating copy to clipboard operation
online-judge copied to clipboard

Problem exclusion field

Open Xyene opened this issue 5 years ago • 2 comments

We should add a field mapping a problem to a list of "exclusion" problems. This would solve issues where we have both standard and signature-graded IOI problems, as well as *hard variants of problems giving "double" the points for solving the hard version.

When calculating user points, the max point value between problem exclusions should be taken. The exclusions should be displayed on the problem page, probably below "Allowed languages".

Xyene avatar Sep 13 '20 18:09 Xyene

Remember to use a symmetrical ManyToManyField on 'self'.

quantum5 avatar Sep 13 '20 19:09 quantum5

Some things to remember:

  • handle problem exclusions on user PP breakdown page
  • recompute user points when problem exclusion changes from admin
  • handle problem exclusions for solved problem count (?)
  • add problem exclusions to API

Ninjaclasher avatar Oct 01 '20 02:10 Ninjaclasher