Code Docs

ARBITRE Docs

Multi-file evaluation

Many projects rely on several files in order to run. Arbitre provides multi-file execution, on a per-exercise basis.

<aside> 💡 Enable Multiple Files in the Runtime tab of an exercise

</aside>

Untitled

How it works

compile and run

This is based on how judge0 runs multi-file programs. Learn more

While courses have a main language, multi-file mode overrides it. The runner compiles and runs the programs using two bash scripts : compile and run.

These two files are required in the teacher files zip. They must be placed at the root of the directory.

Student files have to be named correctly in order to be compiled and ran as expected. Cite filename requirements in the Description of the exercise.

Examples for many languages

Examples

More examples : https://github.com/judge0/examples

teacher_files.zip

To set the teacher files on an exercise :

Example teacher_files.zip content

teacher_files.zip
|- run
|- compile
|- Module1
   |- Module1.java
   |- ExtraStuff.java
|- Module2
   |- Module2.java

Table of Contents