berkeley-cdss / seating

Exam seating assignments
https://seating-staging-74ac4c6b8c38.herokuapp.com/
Apache License 2.0
1 stars 0 forks source link

Feat: Flashing for Better Visibility #22

Closed Reimirno closed 9 months ago

Reimirno commented 9 months ago

This PR aims to improve data visibility in this app and does a few things:

github-actions[bot] commented 9 months ago

Coverage

Coverage for unit tests for Python 3.11
FileStmtsMissCoverMissing
server
   __init__.py42490%20–21, 46, 54
   forms.py59788%19–22, 43–45
   models.py1212282%27, 55, 58, 61, 87, 91, 94–103, 106, 126–127, 133, 151, 170, 173, 187
   views.py27020026%29–34, 47–48, 66–84, 95–97, 106–113, 122, 133–135, 145–162, 172–189, 200–204, 213–215, 223–225, 231–252, 258–280, 286–303, 310, 315–317, 322–346, 351–356, 361–371, 376–388, 393–401, 411, 416, 421, 429–430, 436, 441–445
server/controllers
   __init__.py653743%25–52, 55, 66–86, 89
   auth_controllers.py382534%13–15, 21–47, 53–55
   dev_login_controllers.py342332%11–25, 30–39, 44–56
   health_controllers.py13285%17–18
server/services/auth
   __init__.py28486%21, 49, 54–55
server/services/canvas
   __init__.py513531%18–25, 29, 33, 37, 47–80, 84
   fake_canvas.py392633%9, 12, 15, 20–25, 28–29, 37–46, 49–56
server/services/core
   assign.py292610%14–62
   data.py948510%10–58, 62, 66–79, 83–115
server/services/email
   __init__.py433030%20–45, 49–56, 60–78
   smtp.py31390%15, 39–40
server/services/email/templates
   __init__.py27196%14
server/services/google
   __init__.py542946%23, 31, 33, 41–44, 48–54, 58–77
server/typings
   exception.py17476%17–18, 27, 30
server/utils
   date.py3167%12
TOTAL108256448% 

Tests Skipped Failures Errors Time
16 0 :zzz: 0 :x: 0 :fire: 5.637s :stopwatch:
github-actions[bot] commented 9 months ago

Coverage

Coverage for unit tests for Python 3.10
FileStmtsMissCoverMissing
server
   __init__.py42490%20–21, 46, 54
   forms.py59788%19–22, 43–45
   models.py1212282%27, 55, 58, 61, 87, 91, 94–103, 106, 126–127, 133, 151, 170, 173, 187
   views.py27020026%29–34, 47–48, 66–84, 95–97, 106–113, 122, 133–135, 145–162, 172–189, 200–204, 213–215, 223–225, 231–252, 258–280, 286–303, 310, 315–317, 322–346, 351–356, 361–371, 376–388, 393–401, 411, 416, 421, 429–430, 436, 441–445
server/controllers
   __init__.py653743%25–52, 55, 66–86, 89
   auth_controllers.py382534%13–15, 21–47, 53–55
   dev_login_controllers.py342332%11–25, 30–39, 44–56
   health_controllers.py13285%17–18
server/services/auth
   __init__.py28486%21, 49, 54–55
server/services/canvas
   __init__.py513531%18–25, 29, 33, 37, 47–80, 84
   fake_canvas.py392633%9, 12, 15, 20–25, 28–29, 37–46, 49–56
server/services/core
   assign.py292610%14–62
   data.py948510%10–58, 62, 66–79, 83–115
server/services/email
   __init__.py433030%20–45, 49–56, 60–78
   smtp.py31390%15, 39–40
server/services/email/templates
   __init__.py27196%14
server/services/google
   __init__.py542946%23, 31, 33, 41–44, 48–54, 58–77
server/typings
   exception.py17476%17–18, 27, 30
server/utils
   date.py3167%12
TOTAL108256448% 

Tests Skipped Failures Errors Time
16 0 :zzz: 0 :x: 0 :fire: 5.828s :stopwatch:
github-actions[bot] commented 9 months ago

Coverage

Coverage for unit tests for Python 3.12
FileStmtsMissCoverMissing
server
   __init__.py42490%20–21, 46, 54
   forms.py59788%19–22, 43–45
   models.py1212282%27, 55, 58, 61, 87, 91, 94–103, 106, 126–127, 133, 151, 170, 173, 187
   views.py27020026%29–34, 47–48, 66–84, 95–97, 106–113, 122, 133–135, 145–162, 172–189, 200–204, 213–215, 223–225, 231–252, 258–280, 286–303, 310, 315–317, 322–346, 351–356, 361–371, 376–388, 393–401, 411, 416, 421, 429–430, 436, 441–445
server/controllers
   __init__.py653743%25–52, 55, 66–86, 89
   auth_controllers.py382534%13–15, 21–47, 53–55
   dev_login_controllers.py342332%11–25, 30–39, 44–56
   health_controllers.py13285%17–18
server/services/auth
   __init__.py28486%21, 49, 54–55
server/services/canvas
   __init__.py513531%18–25, 29, 33, 37, 47–80, 84
   fake_canvas.py392633%9, 12, 15, 20–25, 28–29, 37–46, 49–56
server/services/core
   assign.py292610%14–62
   data.py948510%10–58, 62, 66–79, 83–115
server/services/email
   __init__.py433030%20–45, 49–56, 60–78
   smtp.py31390%15, 39–40
server/services/email/templates
   __init__.py27196%14
server/services/google
   __init__.py542946%23, 31, 33, 41–44, 48–54, 58–77
server/typings
   exception.py17476%17–18, 27, 30
server/utils
   date.py3167%12
TOTAL108256448% 

Tests Skipped Failures Errors Time
16 0 :zzz: 0 :x: 0 :fire: 0.728s :stopwatch:
github-actions[bot] commented 9 months ago

Coverage

Coverage for e2e tests for Python 3.11
FileStmtsMissCoverMissing
server
   __init__.py421076%12, 15–21, 26, 46, 54
   forms.py59788%19–22, 43–45
   models.py1212480%26–29, 55, 58, 61, 87, 91, 94–103, 106, 126–127, 133, 151, 170, 173, 187
   views.py27020026%29–34, 47–48, 66–84, 95–97, 106–113, 122, 133–135, 145–162, 172–189, 200–204, 213–215, 223–225, 231–252, 258–280, 286–303, 310, 315–317, 322–346, 351–356, 361–371, 376–388, 393–401, 411, 416, 421, 429–430, 436, 441–445
server/controllers
   __init__.py653743%25–52, 55, 66–86, 89
   auth_controllers.py382534%13–15, 21–47, 53–55
   dev_login_controllers.py342332%11–25, 30–39, 44–56
   health_controllers.py13746%8, 13–18
server/services/auth
   __init__.py28679%21, 49, 54–55, 60–61
server/services/canvas
   __init__.py513531%18–25, 29, 33, 37, 47–80, 84
   fake_canvas.py392633%9, 12, 15, 20–25, 28–29, 37–46, 49–56
server/services/core
   assign.py292610%14–62
   data.py948510%10–58, 62, 66–79, 83–115
server/services/email
   __init__.py433030%20–45, 49–56, 60–78
   smtp.py311939%15, 19–40
server/services/email/templates
   __init__.py271833%9–11, 14, 24–34, 38–40
server/services/google
   __init__.py542946%23, 31, 33, 41–44, 48–54, 58–77
server/typings
   exception.py17476%17–18, 27, 30
server/utils
   date.py3167%12
TOTAL108261243% 

Tests Skipped Failures Errors Time
8 0 :zzz: 0 :x: 0 :fire: 19.039s :stopwatch:
github-actions[bot] commented 9 months ago

Coverage

Coverage for e2e tests for Python 3.10
FileStmtsMissCoverMissing
server
   __init__.py421076%12, 15–21, 26, 46, 54
   forms.py59788%19–22, 43–45
   models.py1212480%26–29, 55, 58, 61, 87, 91, 94–103, 106, 126–127, 133, 151, 170, 173, 187
   views.py27020026%29–34, 47–48, 66–84, 95–97, 106–113, 122, 133–135, 145–162, 172–189, 200–204, 213–215, 223–225, 231–252, 258–280, 286–303, 310, 315–317, 322–346, 351–356, 361–371, 376–388, 393–401, 411, 416, 421, 429–430, 436, 441–445
server/controllers
   __init__.py653743%25–52, 55, 66–86, 89
   auth_controllers.py382534%13–15, 21–47, 53–55
   dev_login_controllers.py342332%11–25, 30–39, 44–56
   health_controllers.py13746%8, 13–18
server/services/auth
   __init__.py28679%21, 49, 54–55, 60–61
server/services/canvas
   __init__.py513531%18–25, 29, 33, 37, 47–80, 84
   fake_canvas.py392633%9, 12, 15, 20–25, 28–29, 37–46, 49–56
server/services/core
   assign.py292610%14–62
   data.py948510%10–58, 62, 66–79, 83–115
server/services/email
   __init__.py433030%20–45, 49–56, 60–78
   smtp.py311939%15, 19–40
server/services/email/templates
   __init__.py271833%9–11, 14, 24–34, 38–40
server/services/google
   __init__.py542946%23, 31, 33, 41–44, 48–54, 58–77
server/typings
   exception.py17476%17–18, 27, 30
server/utils
   date.py3167%12
TOTAL108261243% 

Tests Skipped Failures Errors Time
8 0 :zzz: 0 :x: 0 :fire: 33.874s :stopwatch:
github-actions[bot] commented 9 months ago

Coverage

Coverage for e2e tests for Python 3.12
FileStmtsMissCoverMissing
server
   __init__.py421076%12, 15–21, 26, 46, 54
   forms.py59788%19–22, 43–45
   models.py1212480%26–29, 55, 58, 61, 87, 91, 94–103, 106, 126–127, 133, 151, 170, 173, 187
   views.py27020026%29–34, 47–48, 66–84, 95–97, 106–113, 122, 133–135, 145–162, 172–189, 200–204, 213–215, 223–225, 231–252, 258–280, 286–303, 310, 315–317, 322–346, 351–356, 361–371, 376–388, 393–401, 411, 416, 421, 429–430, 436, 441–445
server/controllers
   __init__.py653743%25–52, 55, 66–86, 89
   auth_controllers.py382534%13–15, 21–47, 53–55
   dev_login_controllers.py342332%11–25, 30–39, 44–56
   health_controllers.py13746%8, 13–18
server/services/auth
   __init__.py28679%21, 49, 54–55, 60–61
server/services/canvas
   __init__.py513531%18–25, 29, 33, 37, 47–80, 84
   fake_canvas.py392633%9, 12, 15, 20–25, 28–29, 37–46, 49–56
server/services/core
   assign.py292610%14–62
   data.py948510%10–58, 62, 66–79, 83–115
server/services/email
   __init__.py433030%20–45, 49–56, 60–78
   smtp.py311939%15, 19–40
server/services/email/templates
   __init__.py271833%9–11, 14, 24–34, 38–40
server/services/google
   __init__.py542946%23, 31, 33, 41–44, 48–54, 58–77
server/typings
   exception.py17476%17–18, 27, 30
server/utils
   date.py3167%12
TOTAL108261243% 

Tests Skipped Failures Errors Time
8 0 :zzz: 0 :x: 0 :fire: 26.338s :stopwatch:
codecov[bot] commented 9 months ago

Codecov Report

Attention: 62 lines in your changes are missing coverage. Please review.

Comparison is base (53f0a38) 49.37% compared to head (95a65af) 47.87%.

Files Patch % Lines
server/views.py 11.62% 38 Missing :warning:
server/services/email/__init__.py 26.31% 14 Missing :warning:
server/services/core/data.py 16.66% 10 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #22 +/- ## ========================================== - Coverage 49.37% 47.87% -1.51% ========================================== Files 21 21 Lines 1043 1082 +39 ========================================== + Hits 515 518 +3 - Misses 528 564 +36 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.