Skip to content

Implement timeout for evaluation functions #7

@0xp4blo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions