From 583268bae85b686f8dbae11cb196f4a33abb58a0 Mon Sep 17 00:00:00 2001 From: Martin Polanka Date: Wed, 5 Jul 2017 11:03:43 +0200 Subject: [PATCH] pipeline example --- Exercise-Configuration.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/Exercise-Configuration.md b/Exercise-Configuration.md index 71fc1ea..78c3fd5 100644 --- a/Exercise-Configuration.md +++ b/Exercise-Configuration.md @@ -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