You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
recodex-wiki/Exercise-Configuration.md

65 lines
1.6 KiB
Markdown

7 years ago
# Exercise Configuration
In ReCodEx there are two configurations of exercise High Level Configuration (HiLC) and Low Level Configuration (LoLC). LoLC is used in backend, by workers for instance and should be general enough to create all kinds of worker tasks. On the other hand HiLC should be easy enough to be written or composed by normal application users, preferably in the form of graphical editation. But this configuration always has to be somehow stored, that is where this document comes in handy.
HiLC is divided in several parts which takes care of different things. There are ExerciseConfig, Pipelines, Limits and RuntimeConfig. From these components configuration of exercise is composed and on every submit new LoLC is compiled from it.
## ExerciseConfig
7 years ago
Represents basic exercise configuration which connects all things together. For some reasons there two formats of this configuration, one which is saved in the database and the other one which is sent back to web application. Both formats are described bellow.
### Backend Format
Mandatory items are bold, optional italic, description of items follows:
* ...
Example:
```
```
### Frontend Format
Mandatory items are bold, optional italic, description of items follows:
* ...
Example:
```
```
7 years ago
## Pipeline
7 years ago
Mandatory items are bold, optional italic, description of items follows:
* ...
Example:
```
```
7 years ago
## Limits
7 years ago
Mandatory items are bold, optional italic, description of items follows:
* ...
Example:
```
```
7 years ago
## RuntimeConfig
7 years ago
Mandatory items are bold, optional italic, description of items follows:
* ...
Example:
```
```