UNB/ CS/ David Bremner/ teaching/ cs2613/ javascript-assignment

Marking scheme for JavaScript assignments

Criteria Excellent (3) Good (2) Minimally satisfactory (1) Needs improvement (0)
Adequacy of tests Complete test coverage, at least one extra test per function, tests are designed and documented with respect to problem definition. Corner cases are considered. Complete coverage, plus at least one extra test per function. Complete test coverage, as indicated by “nyc jasmine” Incomplete test coverage, as indicated by “nyc jasmine”
Correctness Correct to the spirit of the assignment. Shows evidence of deeper understanding of the assignment, or defensive programming. Correct to the letter of the assignment. Almost completely correct, perhaps one incorrect case / input. Substantial problems with correctness or syntax errors.
Criteria Excellent (2) Good (1) Needs Improvement (0)
JavaScript Coding Style Meaningful identifiers. Sensible JavaScript indentation (according to vscodium or Emacs). Good line width and line breaks. Meaningful identifiers. Sensible JavaScript indentation (according to vscodium or Emacs). Bad indentation or cryptic identifiers, use of ‘==’ without justification.
Assignment defined idioms Follows assignment specified constructs and / or library functions. Code is concise, without being cryptic Follows assignment specified constructs and / or library functions. Use of global variables, other than exports.