-
Notifications
You must be signed in to change notification settings - Fork 10
Allows further customization of problems' scoring policy #84
Copy link
Copy link
Open
Labels
cat:dbRelated to the DatabaseRelated to the Databasecat:workerRelated to the back-end workerRelated to the back-end workerenhancementNew feature or requestNew feature or requestgoPull requests that update Go codePull requests that update Go codepriority:lowLow priority: Mostly for the futureLow priority: Mostly for the future
Description
Is your feature request related to a problem? Please describe.
Many problem policies, including scoring mode, penalty policy, test group point calculation, etc. are currently limited to policies that already exists within the codebase. It should be possible for problemsetters to customise this.
Describe the solution you'd like
A possible solution would be to follow how custom compile scripts are already handled: problem setters can upload files such as scoring_mode.exe or penalty_policy.exe (.py files should probably be accepted too). Data are piped using CSV or JSON to the program. These executables should also be run in a sandbox since there is definitely risk of other programs tampering with their workings.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cat:dbRelated to the DatabaseRelated to the Databasecat:workerRelated to the back-end workerRelated to the back-end workerenhancementNew feature or requestNew feature or requestgoPull requests that update Go codePull requests that update Go codepriority:lowLow priority: Mostly for the futureLow priority: Mostly for the future