From 1a68da0af42b0768d992d9b221a98df2946a1e3b Mon Sep 17 00:00:00 2001 From: Petr Stefan Date: Wed, 15 Jun 2016 20:38:41 +0200 Subject: [PATCH] Updated Architecture (markdown) --- Architecture.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Architecture.md b/Architecture.md index 2869b13..35ddf2f 100644 --- a/Architecture.md +++ b/Architecture.md @@ -13,6 +13,18 @@ **File API**, where testing inputs and corresponding outputs for each task and other required files are stored. It's possible to upload files, too. +The worker has to: + +- Download the archive containing the submission and an isoeval configuration + file +- Download any supplementary files based on the configuration file, such as test + inputs or helper programs (This can be done on demand, using a `fetch` command + in the assignment configuration) +- Download the source codes of the student's submission +- Evaluate the submission according to the assignment's configuration +- Upload the results of the evaluation to the file server +- Notify the broker that the evaluation is finished + ### Internal Worker architecture Picture below is overall internal architecture of worker, which shows its defined classes with private variables and public functions. Vector version of this picture is available [here](https://github.com/ReCodEx/GlobalWiki/raw/master/images/Worker_Internal_Architecture.pdf). ![Internal Worker architecture](https://github.com/ReCodEx/GlobalWiki/blob/master/images/Worker_Internal_Architecture.png)