Skip to content

Allow .statement files for test cases in Secretย #508

@hairez

Description

@hairez

We should allow .statement files in Secret. This could be useful for problems with public feedback for Secret test cases, where it shows .statement files instead of .ans or .out.

Additionally, it is currently not allowed to have both an .out file and an .ans.statement file in the Sample.
It says Note that it is an error to provide both a `.out` and a `.ans.statement` file..

The reason it is like this, is because .ans.statement will be the one that is shown, and it would be pointless to validate .out files in that case.
If this is a restriction in Sample, it should also be a restriction in Secret.

That said, Iโ€™m leaning towards removing the restriction altogether and allowing both, so the problem setter has more flexibility. In my opinion, it would not hurt to validate some extra .out that is not displayed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions