Code report for W2D3_Tutorial2
Code report for W2D3_Tutorial2.ipynb
====================================
Quality (pyflakes)
------------------
Total code issues: 12
Cell 1, Line 4: f-string is missing placeholders
Cell 4, Line 11: redefinition of unused 'torch' from line 11
Cell 8, Line 13: f-string is missing placeholders
Cell 8, Line 15: undefined name 'display'
Cell 8, Line 20: f-string is missing placeholders
Cell 8, Line 22: undefined name 'display'
Cell 8, Line 28: undefined name 'display'
Cell 17, Line 13: f-string is missing placeholders
Cell 17, Line 15: undefined name 'display'
Cell 17, Line 20: f-string is missing placeholders
Cell 17, Line 22: undefined name 'display'
Cell 17, Line 28: undefined name 'display'
Style (pycodestyle)
-------------------
Total PEP8 violations: 52
Common problems:
- 15 instances of E402 (module level import not at top of file)
- 8 instances of E226 (missing whitespace around arithmetic operator)
- 4 instances of E302 (expected 2 blank lines, found 1)
- 3 instances of E703 (statement ends with a semicolon)
- 2 instances of E501 (line too long (95 > 88 characters))
- 2 instances of E128 (continuation line under-indented for visual indent)
- 2 instances of E305 (expected 2 blank lines after class or function definition, found 0)
- 2 instances of E301 (expected 1 blank line, found 0)
- 2 instances of E225 (missing whitespace around operator)
- 2 instances of E501 (line too long (97 > 88 characters))
---
Code report for W2D4_Tutorial4
Code report for W2D4_Tutorial4.ipynb
====================================
Quality (pyflakes)
------------------
Total code issues: 82
Cell 1, Line 4: f-string is missing placeholders
Cell 3, Line 25: f-string is missing placeholders
Cell 6, Line 13: f-string is missing placeholders
Cell 6, Line 15: undefined name 'display'
Cell 6, Line 20: f-string is missing placeholders
Cell 6, Line 22: undefined name 'display'
Cell 6, Line 28: undefined name 'display'
Cell 7, Line 13: f-string is missing placeholders
Cell 7, Line 15: undefined name 'display'
Cell 7, Line 20: f-string is missing placeholders
Cell 7, Line 22: undefined name 'display'
Cell 7, Line 28: undefined name 'display'
Cell 9, Line 13: f-string is missing placeholders
Cell 9, Line 15: undefined name 'display'
Cell 9, Line 20: f-string is missing placeholders
Cell 9, Line 22: undefined name 'display'
Cell 9, Line 28: undefined name 'display'
Cell 11, Line 3: redefinition of unused 'home' from line 129
Cell 12, Line 13: f-string is missing placeholders
Cell 12, Line 15: undefined name 'display'
Cell 12, Line 20: f-string is missing placeholders
Cell 12, Line 22: undefined name 'display'
Cell 12, Line 28: undefined name 'display'
Cell 15, Line 13: f-string is missing placeholders
Cell 15, Line 15: undefined name 'display'
Cell 15, Line 20: f-string is missing placeholders
Cell 15, Line 22: undefined name 'display'
Cell 15, Line 28: undefined name 'display'
Cell 18, Line 13: f-string is missing placeholders
Cell 18, Line 15: undefined name 'display'
Cell 18, Line 20: f-string is missing placeholders
Cell 18, Line 22: undefined name 'display'
Cell 18, Line 28: undefined name 'display'
Cell 20, Line 10: redefinition of unused 'home' from line 194
Cell 21, Line 13: f-string is missing placeholders
Cell 21, Line 15: undefined name 'display'
Cell 21, Line 20: f-string is missing placeholders
Cell 21, Line 22: undefined name 'display'
Cell 21, Line 28: undefined name 'display'
Cell 22, Line 13: f-string is missing placeholders
Cell 22, Line 15: undefined name 'display'
Cell 22, Line 20: f-string is missing placeholders
Cell 22, Line 22: undefined name 'display'
Cell 22, Line 28: undefined name 'display'
Cell 25, Line 3: undefined name 'display'
Cell 25, Line 6: undefined name 'display'
Cell 26, Line 13: f-string is missing placeholders
Cell 26, Line 15: undefined name 'display'
Cell 26, Line 20: f-string is missing placeholders
Cell 26, Line 22: undefined name 'display'
Cell 26, Line 28: undefined name 'display'
Cell 28, Line 4: redefinition of unused 'home' from line 457
Cell 29, Line 13: f-string is missing placeholders
Cell 29, Line 15: undefined name 'display'
Cell 29, Line 20: f-string is missing placeholders
Cell 29, Line 22: undefined name 'display'
Cell 29, Line 28: undefined name 'display'
Cell 30, Line 13: f-string is missing placeholders
Cell 30, Line 15: undefined name 'display'
Cell 30, Line 20: f-string is missing placeholders
Cell 30, Line 22: undefined name 'display'
Cell 30, Line 28: undefined name 'display'
Cell 31, Line 13: f-string is missing placeholders
Cell 31, Line 15: undefined name 'display'
Cell 31, Line 20: f-string is missing placeholders
Cell 31, Line 22: undefined name 'display'
Cell 31, Line 28: undefined name 'display'
Cell 32, Line 13: f-string is missing placeholders
Cell 32, Line 15: undefined name 'display'
Cell 32, Line 20: f-string is missing placeholders
Cell 32, Line 22: undefined name 'display'
Cell 32, Line 28: undefined name 'display'
Cell 33, Line 13: f-string is missing placeholders
Cell 33, Line 15: undefined name 'display'
Cell 33, Line 20: f-string is missing placeholders
Cell 33, Line 22: undefined name 'display'
Cell 33, Line 28: undefined name 'display'
Cell 34, Line 13: f-string is missing placeholders
Cell 34, Line 15: undefined name 'display'
Cell 34, Line 20: f-string is missing placeholders
Cell 34, Line 22: undefined name 'display'
Cell 34, Line 28: undefined name 'display'
Style (pycodestyle)
-------------------
Total PEP8 violations: 95
Common problems:
- 32 instances of E402 (module level import not at top of file)
- 15 instances of E301 (expected 1 blank line, found 0)
- 15 instances of E225 (missing whitespace around operator)
- 7 instances of E266 (too many leading '#' for block comment)
- 6 instances of E302 (expected 2 blank lines, found 1)
- 4 instances of E305 (expected 2 blank lines after class or function definition, found 0)
- 3 instances of E302 (expected 2 blank lines, found 0)
- 2 instances of E501 (line too long (96 > 88 characters))
- 2 instances of E501 (line too long (91 > 88 characters))
- 1 instance of E501 (line too long (147 > 88 characters))
---
Code report for W2D5_Tutorial3
Code report for W2D5_Tutorial3.ipynb
====================================
Quality (pyflakes)
------------------
Total code issues: 1
Cell 5, Line 2: 'ipywidgets as widgets' imported but unused
Style (pycodestyle)
-------------------
Total PEP8 violations: 38
Common problems:
- 11 instances of E402 (module level import not at top of file)
- 3 instances of E401 (multiple imports on one line)
- 3 instances of E302 (expected 2 blank lines, found 1)
- 2 instances of E231 (missing whitespace after ',')
- 2 instances of E302 (expected 2 blank lines, found 0)
- 2 instances of E128 (continuation line under-indented for visual indent)
- 2 instances of E305 (expected 2 blank lines after class or function definition, found 0)
- 2 instances of E501 (line too long (90 > 88 characters))
- 1 instance of E501 (line too long (146 > 88 characters))
- 1 instance of E501 (line too long (118 > 88 characters))
---
Code report for W3D4_Tutorial5
Code report for W3D4_Tutorial5.ipynb
====================================
Quality (pyflakes)
------------------
Total code issues: 37
Cell 1, Line 4: f-string is missing placeholders
Cell 5, Line 46: local variable 'fig' is assigned to but never used
Cell 6, Line 11: redefinition of unused 'torch' from line 29
Cell 14, Line 87: local variable 'steps_per_second' is assigned to but never used
Cell 16, Line 2: redefinition of unused 'widgets' from line 59
Cell 16, Line 13: f-string is missing placeholders
Cell 16, Line 15: undefined name 'display'
Cell 16, Line 20: f-string is missing placeholders
Cell 16, Line 22: undefined name 'display'
Cell 16, Line 28: undefined name 'display'
Cell 18, Line 122: local variable 'target_q_value' is assigned to but never used
Cell 18, Line 128: local variable 'q_s_a' is assigned to but never used
Cell 19, Line 7: redefinition of unused 'NeuralFittedQAgent' from line 1008
Cell 24, Line 13: f-string is missing placeholders
Cell 24, Line 15: undefined name 'display'
Cell 24, Line 20: f-string is missing placeholders
Cell 24, Line 22: undefined name 'display'
Cell 24, Line 28: undefined name 'display'
Cell 25, Line 124: local variable 'next_s' is assigned to but never used
Cell 26, Line 2: redefinition of unused 'DQN' from line 1413
Cell 30, Line 13: f-string is missing placeholders
Cell 30, Line 15: undefined name 'display'
Cell 30, Line 20: f-string is missing placeholders
Cell 30, Line 22: undefined name 'display'
Cell 30, Line 28: undefined name 'display'
Cell 34, Line 2: redefinition of unused 'PolicyGradientNet' from line 1869
Cell 38, Line 17: import 'time' from line 27 shadowed by loop variable
Cell 46, Line 13: f-string is missing placeholders
Cell 46, Line 15: undefined name 'display'
Cell 46, Line 20: f-string is missing placeholders
Cell 46, Line 22: undefined name 'display'
Cell 46, Line 28: undefined name 'display'
Cell 48, Line 13: f-string is missing placeholders
Cell 48, Line 15: undefined name 'display'
Cell 48, Line 20: f-string is missing placeholders
Cell 48, Line 22: undefined name 'display'
Cell 48, Line 28: undefined name 'display'
Style (pycodestyle)
-------------------
Total PEP8 violations: 137
Common problems:
- 35 instances of E402 (module level import not at top of file)
- 9 instances of E302 (expected 2 blank lines, found 0)
- 8 instances of E305 (expected 2 blank lines after class or function definition, found 0)
- 6 instances of E302 (expected 2 blank lines, found 1)
- 6 instances of E225 (missing whitespace around operator)
- 5 instances of E226 (missing whitespace around arithmetic operator)
- 5 instances of E501 (line too long (95 > 88 characters))
- 5 instances of E301 (expected 1 blank line, found 0)
- 4 instances of E305 (expected 2 blank lines after class or function definition, found 1)
- 4 instances of E501 (line too long (104 > 88 characters))
---
(Bonus) Tutorial <number>
to --Bonus Tutorial