pipeline example

master
Martin Polanka 8 years ago
parent d4eaa2121d
commit 583268bae8

@ -210,6 +210,44 @@ Mandatory items are bold, optional italic, description of items follows:
Example:
```
[
{
"name":"source",
"portsIn":[],
"portsOut":[ "source_file" => "source_file" ],
"type":"data"
},
{
"name":"test",
"portsIn":[],
"portsOut":[
"test_file" => "test_file",
"expected_output" => "expected_output"
],
"type":"data"
},
{
"name":"compilation",
"portsIn":[ "input_file" => "source_file" ],
"portsOut":[ "output_file" => "binary_file" ],
"type":"compilation"
},
{
"name":"run",
"portsIn":[ "binary_file" => "binary_file" ],
"portsOut":[ "output_file" => "actual_output" ],
"type":"execution"
},
{
"name":"judge",
"portsIn":[
"actual_output" => "actual_output",
"expected_output" => "expected_output"
],
"portsOut":[ "score" => "score" ],
"type":"evaluation"
}
]
```
## Limits

Loading…
Cancel
Save