Skip to content

Run the isolate_check_environment script on startup #85

@minhnhatnoe

Description

@minhnhatnoe

Is your feature request related to a problem? Please describe.

Many users of the isolate sandbox are not aware of the isolate_check_environment script. This script checks for system settings that may introduce variability between different judging attempts. The script also asks the user to turn off swap or turn on swap accounting, which is essential to measuring the memory limits.

Describe the solution you'd like

Even if the user is not using isolate, this script is still needed to ensure consistency. I suggest running this script every time kjudge is started on a linux machine.

Since we are not sure of the script's location on the user's machine, it can probably be embedded into the executable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cat:adminRelated to the admin panelcat:userRelated to the User UIenhancementNew feature or requestpriority:mediumMedium priority: Mostly for next minor

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions