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

WIP Fixed calculation of max_pts for problems which are not attempted yet #11425

Conversation

amir-qayyum-khan
Copy link
Contributor

Background

connected to mitocw#190

  • In existing code while calculating grades if your did not attempt problem then courseware set his grades like graded_total = Score(0.0, 1.0, True, section_name, None)
    https://github.com/edx/edx-platform/blob/master/lms/djangoapps/courseware/grades.py#L461
  • This case an issue when we show non-normalize data on legacy dashboard. In this case the grades of students appear like score/max-score and for students who did not attempted the same problem the score will be 0/1.
  • 0/1 looks like normalize grade, and whole grade sheet look like mixture of normalize and non-normalize grades.

screen shot 2016-02-03 at 5 04 32 pm

What is done in this PR

Studio Updates: None
LMS Updates:

  • Now grades of problems which are not attempted will be 0/max score.

cc @pdpinch @pwilkins
@pdpinch as we discussed yesterday. you told me to create Pr for ormsbee. So that you can discuss with him.

After solution:
  • Not Normalize
    screen shot 2016-02-03 at 4 43 16 pm
  • Normalize
    screen shot 2016-02-03 at 4 42 54 pm

Raw scores and max points are more useful to instructors in the
remote gradebook than the calculated scores sent now.

Fixes #36

@pdpinch
@openedx-webhooks
Copy link

Thanks for the pull request, @amir-qayyum-khan! I've created OSPR-1128 to keep track of it in JIRA. JIRA is a place for product owners to prioritize feature reviews by the engineering development teams.

Feel free to add as much of the following information to the ticket:

  • supporting documentation
  • edx-code email threads
  • timeline information ("this must be merged by XX date", and why that is)
  • partner information ("this is a course on edx.org")
  • any other information that can help Product understand the context for the PR

All technical communication about the code itself will still be done via the GitHub pull request interface. As a reminder, our process documentation is here.

If you like, you can add yourself to the AUTHORS file for this repo, though that isn't required. Please see the CONTRIBUTING file for more information.

@openedx-webhooks openedx-webhooks added open-source-contribution PR author is not from Axim or 2U needs triage labels Feb 4, 2016
@amir-qayyum-khan amir-qayyum-khan changed the title Fixed calculation of max_pts for problems which are not attempted yet WIP Fixed calculation of max_pts for problems which are not attempted yet Feb 4, 2016
@amir-qayyum-khan amir-qayyum-khan force-pushed the fix/aq/max_points_grades_mitocw#147 branch 2 times, most recently from 8225be8 to 149150c Compare February 4, 2016 17:06
@amir-qayyum-khan amir-qayyum-khan force-pushed the fix/aq/max_points_grades_mitocw#147 branch from 149150c to c338d8b Compare February 4, 2016 17:25
@amir-qayyum-khan
Copy link
Contributor Author

jenkins run python
jenkins run bokchoy

@pdpinch
Copy link
Contributor

pdpinch commented Feb 4, 2016

@amir if you're still available, can you update the description with the changes I made on the mitocw fork? I think the intent is clearer from what I wrote.

@amir-qayyum-khan
Copy link
Contributor Author

if i am not wrong, both looks same to me. Can you verify please?

mitocw#196 (comment)
On 04-Feb-2016 11:12 pm, "Peter Pinch" [email protected] wrote:

@amir https://github.com/amir if you're still available, can you update
the description with the changes I made on the mitocw fork? I think the
intent is clearer from what I wrote.


Reply to this email directly or view it on GitHub
https://github.com/edx/edx-platform/pull/11425#issuecomment-179974726.

@pdpinch
Copy link
Contributor

pdpinch commented Feb 5, 2016

@amir-qayyum-khan I was looking for a PR that just addressed the grade calculation issue, without including the legacy dashboard changes. I wanted to have a focused diff to discuss with Dave.

I'll try to talk to Dave about it today anyway, so don't change anything until you hear from me.

@nedbat
Copy link
Contributor

nedbat commented Feb 5, 2016

@amir-qayyum-khan is this ready to be reviewed? We use "WIP" to mean the author isn't done writing it yet.

@pdpinch
Copy link
Contributor

pdpinch commented Feb 5, 2016

That's our meaning too. This is not ready to be reviewed.

I expect Dave Ormsbee is going to have some advice for us.

@pdpinch
Copy link
Contributor

pdpinch commented Feb 5, 2016

Dave has recommended another direction.

@pdpinch pdpinch closed this Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants