(c.f. For full details and up to date documentation on automated analyzers for Exercism see the Automated Analysis repository.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
(.c.f. The Analyzer Interface)
The /opt/analyzer/bin/run.sh
script that the docker image runs receives two parameters:
- the test slug
- the input directory namestring. This directory contains the submitted code.
- the output directory namestring. This directory will be writable.
The script MUST write the following files to the directory:
analysis.json
: The results of the analysis.
The output of the script MAY write the following files to the directory:
analysis.out
: any information that may want to view later for debugging.
The script MAY produce output to stdout
and stderr
which will be persisted for later.