Passing Grade
To pass the course, you must earn at least 50% on each project and complete DUETs on every project they’re offered!
“DUTE” stands for “demo, understand, experiment, theory”. It is one of our learning objectives that you are able to demonstrate the functionality of your code, understand the inner workings of your code, experiment with changes to both your code and to the scenario that your code tackles, and justify your program or algorithm’s correctness or runtime! Please read over the “understanding DUET sessions” document to famailarize yourself with what they are!
Test Bundles
To check your grade for a project, first go to https://gitlab.caltech.edu, and click on the project repository of interest.
All the way on the right, there should be a red “X” symbol, an orange “pause” symbol, a blue “time” symbol, or a green “check” symbol. This symbol indicates the status of the automated tests which will check the correctness of your code. Click on the symbol.
On the new page, in the “Pipeline” tab, under the “Test” heading, you should see the “categories” of tests for this repository. These will be some combination of “A”, “B”, “C”, and “D”. If you click on one of them, it will detail for you which sub-tests you passed and failed which might help you debug. These letters help in part to determine what grade you earned on the project.
Final Project Score
Your score will be computed as follows:
1
2
3
4
5
6
7
8
9
10
if not duet_completed:
print("score is 0")
elif passed("D") and not passed("C"):
print("score is 67")
elif passed("C") and not passed("B"):
print("score is 75")
elif passed("B") and not passed("A"):
print("score is 85")
else:
print("score is 100")
In English, this means (1) to get any credit, you must complete a DUET, (2) to “pass” a category of tests, you must also pass all categories below it (for example, to pass the “B” tests, you must also pass the “C” tests (if there are any), and the “D” tests (if there are any)), and (3) if you complete your DUET, your score will be calculated using a 67/75/85/100 scheme.
