-10 Function(s) should be decomposed for clarity [indicate function]
-10 Cut-and-pasted code should be made into function [indicate where]
-10 Uninformative or deceptive identifiers
-
-Subtotal: /10 (not capped)
+
+Total deductions (capped at -40): XXX
PROBLEM 1: ARGUMENT PASSING
DOCUMENTATION
- -30 Grossly inaccurate: documentation has no resemblance to code
- -15 Important inaccuracies: documentation and code differ significantly
+ -20 Grossly inaccurate: documentation has no resemblance to code
+ -10 Important inaccuracies: documentation and code differ significantly
[indicate how]
-5 Minor inaccuracies: documentation and code differ [indicate how]
-5 A1: Missing entirely/missing comments or purpose/too long
-10 Assumes that the command line is capped at 128 bytes
-1 Assumes that individual strings must be word-aligned for performance
-10 Argument passing code is difficult to read or poorly abstracted
-
-Subtotal: /30 (capped at 0)
+
+Total deductions (capped at -30): XXX
PROBLEM 2: SYSTEM CALLS
DOCUMENTATION
- -60 Grossly inaccurate: documentation has no resemblance to code
- -30 Important inaccuracies: documentation and code differ significantly
+ -40 Grossly inaccurate: documentation has no resemblance to code
+ -20 Important inaccuracies: documentation and code differ significantly
[indicate how]
-10 Minor inaccuracies: documentation and code differ [indicate how]
-10 B1: Missing entirely/missing comments or purpose/too long
-10 System call handler is poorly abstracted or unreadable
-5 Failed to update comment on process_wait() function after implementing
-5 "open" system call fails to release all resources in error cases
+
+Total deductions (capped at -60): XXX
-Subtotal: /60 (capped at 0)
+Total score (100 - deductions): YYY