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

Allow trusted users to add problems

Open Xyene opened this issue 8 years ago • 4 comments

The idea behind this would be to allow users with a certain PP and/or contest rating to add problems without admin supervision. User-added problems would appear in their own list, in a separate tab. From there good problems could be voted on, and eventually be approved by admins to join main problems listing.

Obviously, a number of things need to happen before this is viable.

  • [ ] #545 - allowing users to vote on problems
  • [x] #327 - ticket system
  • [x] #467 - site managed data
  • [x] judge rewrite to make judge errors "clean", i.e. have no possibility of hanging
    • obvious exception would be custom graders etc., which would be outside the scope of what regular users would be allowed to add

Xyene avatar Feb 18 '17 04:02 Xyene

I think a per-user disk quota would be nice, just in case someone uploads 10GB of test data.

quantum5 avatar Feb 18 '17 04:02 quantum5

Yeah, I think this might've been discussed as part of #467, though it's definitely necessary.

Xyene avatar Feb 18 '17 04:02 Xyene

This should also be a threshold-based thing where once you pass it, we set a boolean field in your profile. This way we can enable it for users who don't meet the PP reqs, but are trusted (e.g. teachers).

Xyene avatar Feb 18 '17 04:02 Xyene

Generators have no possibility of hanging after https://github.com/DMOJ/judge/issues/295, since they are sandboxed.

Xyene avatar Dec 09 '17 07:12 Xyene

This has basically been implemented. It's not fully integrated with the site and there's some amount of Discord discussion that goes on, but it's been working out well.

Xyene avatar Oct 31 '22 06:10 Xyene