Skip to main content

Data Types

FileType

  • template: Solution template. Required if an evaluator is configured in meta.xml.
  • test: Unit test. Input for the evaluator, run automatically on submission.
  • acceptanceTest: Unit test whose execution can be triggered manually by an instructor. It is not run automatically on submission.
  • include: Files needed to build or run the solution (e.g. predefined classes).
  • misc: Other files, such as PDFs.

SubmissionMode

  • FILE: Solutions are submitted through a file upload. Archives are extracted automatically. Subato supports the following archive extensions: tar.gz, tar, zip, gzip, gz, tgz.
  • TEXT: Solutions are submitted inline as a string. Tasks using this mode show an editor, pre-filled with the template file's contents if one exists.

ProtectedRegionMode

  • disabled: Protected regions that were manually defined are ignored.
  • enabled: Only manually defined protected regions are applied.
  • auto: Protected regions are detected automatically. Manually defined regions are applied as well and take precedence over auto-detected ones.