Skip to content

Time limit sensitivity should go both ways #414

@Matistjati

Description

@Matistjati

Currently, if a submission is in time_limit_exceeded and gets runtime TL-epsilon, we get an error
ERROR TLE submission gemini.py (Python 3 w/Pypy) got AC (60) [CPU: 6.04s @ testcase secret/group2/029-g2-all_unique]
This is extremely un-nice, as when changing systems, it's unpredictable whether we will land above or below the time limit, giving us no good submission folder to place it in.

On the other hand, if a solution is in [TL, TL* safety margin], we only get a warning
WARNING TLE submission gemini2.cpp (C++) sensitive to time limit: limit of 6.0 secs -> TLE [CPU: 6.82s @ testcase secret/group1/020-g1-all_unique], limit of 12.0 secs -> AC (60) [CPU: 12.94s @ testcase secret/group2/031-g2-cheese2]

I would suggest that if a submission lands in [TL/safety margin, TL], then it's a warning, not an error. And we only error for [0, TL/safety margin).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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