acadchecker

Crates.ioacadchecker
lib.rsacadchecker
version0.1.4
sourcesrc
created_at2023-08-03 03:33:42.171091
updated_at2023-08-20 17:16:09.194299
descriptionCLI tool for building checkers used in programming contests or homeworks.
homepage
repositoryhttps://github.com/acadnet-dev/checker-rs
max_upload_size
id933365
size34,474
Irina Nita (irina-nita)

documentation

README

acadchecker is a CLI tool for building checkers used in programming contests or homeworks. The checker is configured from a json file.

Installation

cargo install acadchecker

Usage

acadchecker --config config.json

Config Example

{
  "checker": {
    "monitors": [
      {
        "time": {
          "limit": {
            "secs": 5,
            "nanos": 0
          }
        }
      }
    ],
    "output_type": {
      "scored": {
        "per_test": 5
      }
    },
    "in_refs": {
      "1": [
        "/binary/tests/in/001.in",
        "/binary/tests/ref/001.ref"
      ]
    }
  },
  "processor": {
    "gcc": {
      "language": "c++",
      "flags": [
        "-Werror",
        "-Wall"
      ],
      "exec": "/binary/solution"
    }
  },
  "solution": {
    "file": "/binary/solution.cpp"
  },
  "out_dir": "/binary/tests/out",
  "security": {
    "user": "sandbox",
    "group": "restricted"
  }
}

Commit count: 69

cargo fmt