From 4223c3d544d6a380bf83992941d1851d3c808612 Mon Sep 17 00:00:00 2001 From: Martin Polanka Date: Tue, 1 Aug 2017 08:06:51 +0200 Subject: [PATCH] pipeline example --- Exercise-Configuration.md | 75 ++++++++++++++++++++------------------- 1 file changed, 39 insertions(+), 36 deletions(-) diff --git a/Exercise-Configuration.md b/Exercise-Configuration.md index f6798f1..fbe942f 100644 --- a/Exercise-Configuration.md +++ b/Exercise-Configuration.md @@ -231,42 +231,45 @@ Example: ``` [ - { - "name":"source", - "portsIn":[], - "portsOut":[{ "source_file":[{"type":"file", "value":"source_file"}] }], - "type":"data" - }, - { - "name":"test", - "portsIn":[], - "portsOut":[{ - "test_file":[{"type":"file", "value":"test_file"}], - "expected_output":[{"type":"file", "value":"expected_output"}] - }], - "type":"data" - }, - { - "name":"compilation", - "portsIn":[{ "input_file":[{"type":"file", "value":"source_file"}] }], - "portsOut":[{ "output_file":[{"type":"file", "value":"binary_file"}] }], - "type":"compilation" - }, - { - "name":"run", - "portsIn":[{ "binary_file":[{"type":"file", "value":"binary_file"}] }], - "portsOut":[{ "output_file":[{"type":"file", "value":"actual_output"}] }], - "type":"execution" - }, - { - "name":"judge", - "portsIn":[{ - "actual_output":[{"type":"file", "value":"actual_output"}], - "expected_output":[{"type":"file", "value":"expected_output"}] - }], - "portsOut":[{ "score":[{"type":"file", "value":"score"}] }], - "type":"evaluation" - } + { "variables":[] }, + { "boxes": [ + { + "name":"source", + "portsIn":[], + "portsOut":[{ "source_file":[{"type":"file", "value":"source_file"}] }], + "type":"data" + }, + { + "name":"test", + "portsIn":[], + "portsOut":[{ + "test_file":[{"type":"file", "value":"test_file"}], + "expected_output":[{"type":"file", "value":"expected_output"}] + }], + "type":"data" + }, + { + "name":"compilation", + "portsIn":[{ "input_file":[{"type":"file", "value":"source_file"}] }], + "portsOut":[{ "output_file":[{"type":"file", "value":"binary_file"}] }], + "type":"compilation" + }, + { + "name":"run", + "portsIn":[{ "binary_file":[{"type":"file", "value":"binary_file"}] }], + "portsOut":[{ "output_file":[{"type":"file", "value":"actual_output"}] }], + "type":"execution" + }, + { + "name":"judge", + "portsIn":[{ + "actual_output":[{"type":"file", "value":"actual_output"}], + "expected_output":[{"type":"file", "value":"expected_output"}] + }], + "portsOut":[{ "score":[{"type":"file", "value":"score"}] }], + "type":"evaluation" + } + ] } ] ```