Skip to content

Clarify compatibility and use cases for test data extensions #505

@hairez

Description

@hairez

There are several supported file extensions: .in, .ans, .out, .in.statement, .ans.statement, .interaction, as well as .download, and maybe even .yaml.

We should make it clearer which test cases each of these extensions can be used for, and what they are compatible with.

There is already a table under the section for Test data, but I would like to extend it to include all supported file extensions.

Here are the file extensions that I have found and would like to be included:

Extension Described In Summary
.in Input Input piped to standard input
.ans Output Validator Answer file given to the Output Validator
.out TODO TODO
.in.statement TODO TODO
.ans.statement TODO TODO
.interaction TODO TODO
*.download TODO TODO
.files Input Input available via file I/O
.yaml Test Case Configuration Additional configuration of the test case
.png, .jpg, .jpeg, .svg Illustrations Illustration of the test case

I also want to add another column called Incompatible with or something similar, since for example .interaction is not compatible with .in.statement or .ans.statement.

Another column should maybe be Allowed in, that clarifies where each file type could be used. For example, .in.statement should probably not be allowed in Invalid Input or Invalid Output. This is especially useful, since it is not obvious if .statement should be allowed in Secret if feedback for all test cases is allowed for a problem (mentioned to me by @niemela and @Matistjati).

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