Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement bad inputs for input/output format validators #86

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Commits on Jul 26, 2018

  1. Handle invalid input files which should be declined by at least one i…

    …nput validator
    
    Place them into a folder input_format_validators/bad_inputs,
    the input format validators should decline them.
    
    Signed-off-by: Stefan Kraus <[email protected]>
    Alicipy committed Jul 26, 2018
    Configuration menu
    Copy the full SHA
    d81ac40 View commit details
    Browse the repository at this point in the history
  2. Implement wrong-answer outputfiles

    Files placed at data/{sample,secret,whatever}/{testcasename}.ans.wrong-{something}
    are files which should be declined by the output checker for inputfile
    {testcasename}.in and result in a wrong answer judgement.
    
    Signed-off-by: Stefan Kraus <[email protected]>
    Alicipy committed Jul 26, 2018
    Configuration menu
    Copy the full SHA
    6641e54 View commit details
    Browse the repository at this point in the history
  3. Decline output at 43, not 42

    Alicipy committed Jul 26, 2018
    Configuration menu
    Copy the full SHA
    c951e76 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2018

  1. Make check for existence of inputfile clearer

    This way, no globbing is needed, it's shorter and easier to understand.
    
    Signed-off-by: Stefan Kraus <[email protected]>
    Alicipy committed Jul 27, 2018
    Configuration menu
    Copy the full SHA
    0fa96f7 View commit details
    Browse the repository at this point in the history
  2. Support wrong answer files for default validation.

    The result of _actual_validators() also contains the default validator which declines wrong answers in validation mode "default"
    
    Signed-off-by: Stefan Kraus <[email protected]>
    Alicipy committed Jul 27, 2018
    Configuration menu
    Copy the full SHA
    c30fd01 View commit details
    Browse the repository at this point in the history