When writing a peer review give the code a look over and think about the questions below. Giving a couple of sentences for each of the questions is sufficient. Code examples are even better!
Easy to read and understand?
Are the
doc-stringsuseful?Are variables and functions named descriptively when useful?
Are the comments helpful?
Does the code follow a consistent style?
Is there a consistent style? PEP8
Is the code written succinctly and efficiently?
Was there superfluous code sections?
Was the code written clearly?
Was the code written elegantly without decreasing readability?
Make sure to suggest constructive ways to improve all of the above along with:
Clever ways to use built-in functionality (when appropriate)
Simpler ways to implement the same functionality
General improvements to structure, style, and naming
Be courteous to the person you are reviewing!
Rubric¶
<td><ul>
<li>No doc-strings</li>
<li>Variables and functions are named indecipherably</li>
<li>No or inaccurate comments</li>
</ul>
</td>| Criteria | 3 points | 2 points | 1 point |
|---|---|---|---|
| Readability |
|
| |
| Style |
|
|
|
| Code Awesome |
|
|
|