Skip to content
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

Only mark flow grade unavailble upon unavailable page grade if page c… #622

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

inducer
Copy link
Owner

@inducer inducer commented Oct 2, 2018

…arries value

@inducer
Copy link
Owner Author

inducer commented Oct 2, 2018

@dzhuang Based on the test failures, this seems to go directly against your expectations. Could you explain?

@dzhuang
Copy link
Contributor

dzhuang commented Oct 28, 2018

Sorry for being late.

The broken test cases are testing that, when a page had been previously graded, and then a grader removed the grade (by submitting the human grading form with points field empty), the grading status of the page is then "None".

Your changes made that impossible, and grade those pages with 0 points instead.

@codecov
Copy link

codecov bot commented Oct 31, 2018

Codecov Report

Merging #622 into master will decrease coverage by <.01%.
The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #622      +/-   ##
==========================================
- Coverage   96.93%   96.92%   -0.01%     
==========================================
  Files          45       45              
  Lines       11096    11097       +1     
  Branches     2062     2063       +1     
==========================================
  Hits        10756    10756              
  Misses        292      292              
- Partials       48       49       +1
Impacted Files Coverage Δ
course/flow.py 99.1% <50%> (-0.09%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9e5b6c3...e20cfb5. Read the comment docs.

@inducer
Copy link
Owner Author

inducer commented Oct 31, 2018

Good catch. My previous logic was flipped. How about now?

@dzhuang
Copy link
Contributor

dzhuang commented Nov 1, 2018

I think that's ok now. I'm wondering when that will happen? (for writing tests).

@inducer
Copy link
Owner Author

inducer commented Nov 1, 2018

I'm wondering when that will happen? (for writing tests).

The situation where it arose for me was where there was an optional, human-graded question in the flow, and some students submitted something. They weren't shown a grade their final grade for really no good reason.

Btw, thanks for thinking about the testing angle. Should I wait with merging this until we have tests?

@dzhuang
Copy link
Contributor

dzhuang commented Nov 2, 2018

Then this issue is related to #623? If yes, there might be a problem, from the perspective of graders, how can a grader identify and find ungraded optional pages? Currently, my asistants identify those pages by looking for flows which had not generated grades.

@inducer
Copy link
Owner Author

inducer commented Nov 2, 2018

how can a grader identify and find ungraded optional pages?

I think that clicking "view page grades" in the "grading opportunity" view should show grades for all pages and all students.

Base automatically changed from master to main March 8, 2021 02:15
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.

None yet

2 participants