Skip to content

Allows further customization of problems' scoring policy #84

@minhnhatnoe

Description

@minhnhatnoe

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cat:dbRelated to the Databasecat:workerRelated to the back-end workerenhancementNew feature or requestgoPull requests that update Go codepriority:lowLow priority: Mostly for the future

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions