Skip to content

Commit

Permalink
Add allow run time information (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom authored Sep 20, 2023
1 parent cb2e535 commit b7e0016
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions building/tooling/analyzers/interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ All interactions with the Exercism website are handled automatically. Analyzers
- A path to an output directory (with a trailing slash). This directory is writable.
- The script must write an `analysis.json` file to the output directory.

### Allowed run time

The analyzer gets 100% machine resources for a 20 second window per solution.
After 20 seconds, the process is halted and reports a time-out.

## Output format

The `analysis.json` file should be structured as followed:
Expand Down
5 changes: 5 additions & 0 deletions building/tooling/representers/interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ All interactions with the Exercism website are handled automatically. Represente
- The script must write a `representation.json` file to the output directory.
- The script must write a `mapping.json` file to the output directory.

### Allowed run time

The representer gets 100% machine resources for a 20 second window per solution.
After 20 seconds, the process is halted and reports a time-out.

## Output format

### representation.txt
Expand Down
5 changes: 5 additions & 0 deletions building/tooling/test-runners/interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ All interactions with the Exercism website are handled automatically and are not
- The script must write a `results.json` file to the output directory.
- The runner must exit with an exit code of 0 if it has run successfully, regardless of the status of the tests.

### Allowed run time

The test runner gets 100% machine resources for a 20 second window per solution.
After 20 seconds, the process is halted and reports a time-out.

## Output format

The following fields are supported in `results.json` files:
Expand Down

0 comments on commit b7e0016

Please sign in to comment.