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

Problem validation mode for dmoj-cli #335

Closed
Xyene opened this issue Sep 26, 2018 · 0 comments · Fixed by #604
Closed

Problem validation mode for dmoj-cli #335

Xyene opened this issue Sep 26, 2018 · 0 comments · Fixed by #604
Assignees

Comments

@Xyene
Copy link
Member

Xyene commented Sep 26, 2018

In particular, we should allow declarations of test fields in init.yml structured like so:

tests: [
   {
        label: "A Correct Solution", // optional
        source: sol.py,
        lang: PY2, // optional, can infer
        timelimit: 2,
        memlimit: 65536,
        expected: AC,
        targets: [linux, freebsd, windows], // optional, default to all
   }
]

This can reuse some of the heavy lifting of the current testsuite implementation, and should be invokable after #334 by dmoj-cli -- validate $PROBLEM_CODE.

@kiritofeng kiritofeng self-assigned this Apr 7, 2019
@Xyene Xyene added this to the 2.1.0 milestone Oct 29, 2019
@Xyene Xyene removed this from the 2.1.0 milestone Jun 22, 2020
kiritofeng added a commit that referenced this issue Mar 4, 2021
Signed-off-by: kiritofeng <rogerjfu@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants