Skip to content

Implement timeout for evaluation functions #7

Description

@0xp4blo

Add configurable timeout for evaluation functions to avoid inefficient solutions running for too long.

Proposal
Grader implementation must be able to configure a timeout attribute like evaluation_timeout. Calls to to eval_solution must be executed in a different thread and controlled by the main process.

Python's built-in signal lib might allow us to achieve this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions