1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html40/strict.dtd">
4 <title>MO Eval - Anatomy</title>
5 <link rev=made href="mailto:mj@ucw.cz">
6 <link rel=stylesheet title=Default href="mo-eval.css" type="text/css" media=all>
9 <h1>The Anatomy of Moe</h1>
11 <p>Moe lives in the following directory structure:
14 <li><code>bin/</code> – all programs (usually shell scripts)
15 <li><code>box/</code> – temporary files used by the sandbox module
16 <li><code>doc</code> – this documentation
17 <li><code>examples</code> – example problems
18 <li><code>misc</code> – various currently undocumented stuff
19 <li><code>problems/</code> – definitions of problems (tasks)
20 <li><code>public</code> – data available publicly to the contestants
21 <li><code>solutions</code> – solutions of problems (both by contestants and authors)
22 <li><code>src</code> – source of parts of the evaluator written in C
23 <li><code>template</code> – templates of contestants' home directories
24 <li><code>testing</code> – results of testing of solutions
25 <li><code>tmp</code> – various temporary files
26 <li><code>Makefile</code> – as usually
27 <li><code>config</code> – the main configuration file
30 <p>When installed, it will create the following hierarchy:
33 <li><code>eval</code> – all data belonging to the evaluator, inaccessible to contestants
34 <li><code>public</code> – public data made available to the contestants
35 <li><code>users</code> – home directories of the contestants
38 <p>We have tried to make the whole system as flexible as possible, which has lead to writing
39 almost everything as simple shell scripts, building on a library of shell functions contained
40 in <code>bin/lib</code>. The config files are also shell scripts, making it possible to do lots
41 of fancy (and also confusing, to be honest :) ) things there, the most useful being variable