-
Notifications
You must be signed in to change notification settings - Fork 56
Adding of grading status to assessment overview #319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Bump phoenix from 1.3.4 to 1.4.0 (source-academy#299)
Pull Request Test Coverage Report for Build 2166
💛 - Coveralls |
indocomsoft
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but you need to add tests for assessments.ex, lines 211 and 212
indocomsoft
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, some more nitpicking but should be good to merge afterwards.
lib/cadet/assessments/assessments.ex
Outdated
|
|
||
| defp build_grading_status(q_count, g_count) do | ||
| cond do | ||
| g_count == nil || g_count == 0 -> :none |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This conditional clause is useless since this is captured by true -> :none as well.
indocomsoft
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This exposes if assessment has been fully graded.