NeuromatchAcademy / precourse

A repo for the pre-course work at home exercises
MIT License
613 stars 159 forks source link

Corrections #42

Closed spirosChv closed 2 years ago

github-actions[bot] commented 2 years ago
W0D1_Tutorial1 W0D3_Tutorial1
Instructor Open In Colab Open In Colab
Student Open In Colab Open In Colab
Code report for W0D1_Tutorial1 Code report for W0D1_Tutorial1.ipynb ==================================== Quality (pyflakes) ------------------ Total code issues: 40 Cell 3, Line 2: redefinition of unused 'widgets' from line 5 Cell 3, Line 15: undefined name 'display' Cell 3, Line 22: undefined name 'display' Cell 3, Line 28: undefined name 'display' Cell 4, Line 15: undefined name 'display' Cell 4, Line 22: undefined name 'display' Cell 4, Line 28: undefined name 'display' Cell 11, Line 15: undefined name 'display' Cell 11, Line 22: undefined name 'display' Cell 11, Line 28: undefined name 'display' Cell 12, Line 15: undefined name 'display' Cell 12, Line 22: undefined name 'display' Cell 12, Line 28: undefined name 'display' Cell 15, Line 15: undefined name 'display' Cell 15, Line 22: undefined name 'display' Cell 15, Line 28: undefined name 'display' Cell 16, Line 15: undefined name 'display' Cell 16, Line 22: undefined name 'display' Cell 16, Line 28: undefined name 'display' Cell 23, Line 15: undefined name 'display' Cell 23, Line 22: undefined name 'display' Cell 23, Line 28: undefined name 'display' Cell 24, Line 15: undefined name 'display' Cell 24, Line 22: undefined name 'display' Cell 24, Line 28: undefined name 'display' Cell 31, Line 15: undefined name 'display' Cell 31, Line 22: undefined name 'display' Cell 31, Line 28: undefined name 'display' Cell 32, Line 15: undefined name 'display' Cell 32, Line 22: undefined name 'display' Cell 32, Line 28: undefined name 'display' Cell 37, Line 15: undefined name 'display' Cell 37, Line 22: undefined name 'display' Cell 37, Line 28: undefined name 'display' Cell 38, Line 15: undefined name 'display' Cell 38, Line 22: undefined name 'display' Cell 38, Line 28: undefined name 'display' Cell 43, Line 15: undefined name 'display' Cell 43, Line 22: undefined name 'display' Cell 43, Line 28: undefined name 'display' Style (pycodestyle) ------------------- Total PEP8 violations: 122 Common problems: - 32 instances of E226 (missing whitespace around arithmetic operator) - 21 instances of E225 (missing whitespace around operator) - 13 instances of E402 (module level import not at top of file) - 13 instances of E301 (expected 1 blank line, found 0) - 13 instances of E501 (line too long (92 > 88 characters)) - 11 instances of E266 (too many leading '#' for block comment) - 2 instances of E501 (line too long (98 > 88 characters)) - 2 instances of E703 (statement ends with a semicolon) - 2 instances of E303 (too many blank lines (2)) - 2 instances of E501 (line too long (89 > 88 characters)) ---
Code report for W0D3_Tutorial1 Code report for W0D3_Tutorial1.ipynb ==================================== Quality (pyflakes) ------------------ Total code issues: 23 Cell 1, Line 15: undefined name 'display' Cell 1, Line 22: undefined name 'display' Cell 1, Line 28: undefined name 'display' Cell 5, Line 15: undefined name 'display' Cell 5, Line 22: undefined name 'display' Cell 5, Line 28: undefined name 'display' Cell 6, Line 19: local variable 'vector_length' is assigned to but never used Cell 8, Line 15: undefined name 'display' Cell 8, Line 22: undefined name 'display' Cell 8, Line 28: undefined name 'display' Cell 11, Line 15: undefined name 'display' Cell 11, Line 22: undefined name 'display' Cell 11, Line 28: undefined name 'display' Cell 14, Line 15: undefined name 'display' Cell 14, Line 22: undefined name 'display' Cell 14, Line 28: undefined name 'display' Cell 17, Line 15: undefined name 'display' Cell 17, Line 22: undefined name 'display' Cell 17, Line 28: undefined name 'display' Cell 18, Line 64: redefinition of unused 'plot_linear_combination' from line 247 Cell 20, Line 15: undefined name 'display' Cell 20, Line 22: undefined name 'display' Cell 20, Line 28: undefined name 'display' Style (pycodestyle) ------------------- Total PEP8 violations: 221 Common problems: - 96 instances of E251 (unexpected spaces around keyword / parameter equals) - 16 instances of E226 (missing whitespace around arithmetic operator) - 14 instances of E703 (statement ends with a semicolon) - 12 instances of E402 (module level import not at top of file) - 8 instances of E127 (continuation line over-indented for visual indent) - 7 instances of E301 (expected 1 blank line, found 0) - 7 instances of E225 (missing whitespace around operator) - 7 instances of E501 (line too long (92 > 88 characters)) - 7 instances of E231 (missing whitespace after ',') - 5 instances of E265 (block comment should start with '# ') ---
spirosChv commented 2 years ago

fixes https://github.com/NeuromatchAcademy/precourse/issues/40 and https://github.com/NeuromatchAcademy/precourse/issues/41