$FIXTURESdirectory on the Virtual Server.
python3 -m pip install pandas. The global setup only runs once and is then cached, so the student submission won't be available here yet.
$STUDENTdirectory in case the student solution needs some input files to run correctly.
python3followed by the filename of the student's program.
python3 -ic "import calculator"where you replace calculator with the name of the student's program (without the
$FIXTUREand automatically run unit tests on the code.
$FIXTUREand specify it in the code quality test.
rules.yml, we define two rules: for-loop and no-while-loop. within these rules we define a few things:
...) is used to capture anything
$LST(list) capture the two parts of the for-loop declaration (the naming of these metavariables is irrelevant and could have been anything else).
Truefor the for-loop rule, we specify that we are expecting a match in order to pass that test.
$FIXTURE, execute it in this test and make sure it outputs a float between 0.0 and 1.0, this score will then be the number of points a student receives.