Skip to content

Working directory for output validators should be changed #580

@gkreitz

Description

@gkreitz

https://www.kattis.com/problem-package-format/spec/2025-09.html#working-directory currently says

For output validators, output visualizers, and static validators: the submitted files, any compiled binaries of the submitted files, as well as any included files.

I cannot see why output validators (or output visualizers) would ever need to read the submitted files, compilation artifacts, or included files - that feels like extremely broken behavior for an output validator. There are also scenarios when we need to run an output validator and there is no submission, e.g. when checking test data, leaving us in undefined territory.

I think the working directory for output validators and visualizers should just be empty.

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