How coding answers are marked
Your code runs against every test for the problem, shown and hidden. The share that pass sets your code mark.
How the mark is worked out
- Run in the editor checks the sample tests only. Nothing you run is marked.
- When you hand in, your code runs against every test, hidden ones included. Passing 3 of 4 tests earns three quarters of the code mark.
- The explanation is marked separately. Faculty set the split between code and explanation. It starts at 70 for the code and 30 for the explanation.
- Your problem mark is the code mark plus the explanation mark.
When AI marking is off or there are no tests
- If faculty switch AI marking off for a test, only the tests decide. The code carries the whole problem and there is no explanation mark.
- If a problem has no tests, AI marks the code.
What does not count
- Comments in your code are not marked, for or against you.
- Marking does not guess whether your code is your own work.
- A mark is never invented. If the code runner has trouble, your answer stays Being marked and marking tries again. It is never turned into a zero.
Did this answer your question?