ports have type

master
Martin Polanka 7 years ago
parent e9123841e7
commit 086f84f0b2

@ -210,6 +210,9 @@ Mandatory items are bold, optional italic, description of items follows:
* **${implicit list of boxes}** - ...
* **name** - ...
* **portsIn** - ...
* ${name of the port}
* **type** - ...
* **value** - ...
* **portsOut** - ...
* **type** - ...
@ -220,37 +223,37 @@ Example:
{
"name":"source",
"portsIn":[],
"portsOut":[{ "source_file":"source_file" }],
"portsOut":[{ "source_file":[{"type":"file", "value":"source_file"}] }],
"type":"data"
},
{
"name":"test",
"portsIn":[],
"portsOut":[{
"test_file":"test_file",
"expected_output":"expected_output"
"test_file":[{"type":"file", "value":"test_file"}],
"expected_output":[{"type":"file", "value":"expected_output"}]
}],
"type":"data"
},
{
"name":"compilation",
"portsIn":[{ "input_file":"source_file" }],
"portsOut":[{ "output_file":"binary_file" }],
"portsIn":[{ "input_file":[{"type":"file", "value":"source_file"}] }],
"portsOut":[{ "output_file":[{"type":"file", "value":"binary_file"}] }],
"type":"compilation"
},
{
"name":"run",
"portsIn":[{ "binary_file":"binary_file" }],
"portsOut":[{ "output_file":"actual_output" }],
"portsIn":[{ "binary_file":[{"type":"file", "value":"binary_file"}] }],
"portsOut":[{ "output_file":[{"type":"file", "value":"actual_output"}] }],
"type":"execution"
},
{
"name":"judge",
"portsIn":[{
"actual_output":"actual_output",
"expected_output":"expected_output"
"actual_output":[{"type":"file", "value":"actual_output"}],
"expected_output":[{"type":"file", "value":"expected_output"}]
}],
"portsOut":[{ "score":"score" }],
"portsOut":[{ "score":[{"type":"file", "value":"score"}] }],
"type":"evaluation"
}
]

Loading…
Cancel
Save