Skip to content

Conversation

@jiachen247
Copy link
Contributor

This exposes if assessment has been fully graded.

@jiachen247 jiachen247 requested a review from indocomsoft January 9, 2019 15:04
@coveralls
Copy link

coveralls commented Jan 9, 2019

Pull Request Test Coverage Report for Build 2166

  • 8 of 8 (100.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 98.678%

Totals Coverage Status
Change from base Build 2160: 0.01%
Covered Lines: 821
Relevant Lines: 832

💛 - Coveralls

Copy link
Member

@indocomsoft indocomsoft left a 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

Copy link
Member

@indocomsoft indocomsoft left a 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.


defp build_grading_status(q_count, g_count) do
cond do
g_count == nil || g_count == 0 -> :none
Copy link
Member

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.

Copy link
Member

@indocomsoft indocomsoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@indocomsoft indocomsoft merged commit d5d3ca5 into source-academy:master Jan 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants