Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows further customization of problems' scoring policy #84

Open
minhnhatnoe opened this issue May 15, 2023 · 0 comments
Open

Allows further customization of problems' scoring policy #84

minhnhatnoe opened this issue May 15, 2023 · 0 comments
Labels
cat:db Related to the Database cat:worker Related to the back-end worker enhancement New feature or request go Pull requests that update Go code priority:low Low priority: Mostly for the future

Comments

@minhnhatnoe
Copy link
Contributor

minhnhatnoe commented May 15, 2023

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.

@minhnhatnoe minhnhatnoe added the enhancement New feature or request label May 15, 2023
@natsukagami natsukagami added cat:worker Related to the back-end worker cat:db Related to the Database priority:low Low priority: Mostly for the future go Pull requests that update Go code labels May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat:db Related to the Database cat:worker Related to the back-end worker enhancement New feature or request go Pull requests that update Go code priority:low Low priority: Mostly for the future
Projects
None yet
Development

No branches or pull requests

2 participants