-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Optionally add max and actual score for assignments to get_student_grade_summary_data output. #10395
Conversation
Thanks for the pull request, @ShawnMilo! I've created OSPR-915 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:
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. |
Hi @ShawnMilo Can you please add a description to your PR including what you're doing and why it is needed, and why you think it should be contributed upstream? See http://edx-developer-guide.readthedocs.org/en/latest/process/cover-letter.html for guidance. |
2e276ee
to
8659aa7
Compare
@ShawnMilo this needs a rebase. Also, the description could be more generic. Perhaps:
|
8659aa7
to
4ac05c3
Compare
Hi @sarina. The tests have passed and we've updated the description. Please let me know if this needs anything else to be reviewed. |
Has your team at MIT done a first round of review? On Tue, Nov 3, 2015 at 10:13 AM, milocast notifications@github.com wrote:
|
This has a thumbs up from me as well -- and not only because it doesn't have any user-facing effects. @sarina let me know what additional review this needs. |
@@ -69,7 +69,7 @@ def test_download_raw_grades_dump(self): | |||
|
|||
def get_expected_grade_data( | |||
self, get_grades=True, get_raw_scores=False, | |||
use_offline=False): | |||
use_offline=False, get_score_max=False): |
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.
Please extend docstring to explain what this new option means
Would love more code documentation. Plus, please add yourself to |
This will put the actual score and actual max score in scope for the the return_csv function, so actual scores can be dumped. The ultimate goal is to provide this data in the CSV dump that is passed to Stellar via pylmod. This is PR openedx#10395 on edX, and issue 95 on mitocw's edx fork. https://github.com/edx/edx-platform/pull/10395 #95
4ac05c3
to
5d88300
Compare
@ShawnMilo FYI, reviewers don't get notified about new commits. So you need to write a comment on teh PR asking your reviewers to take another look. |
👍 I will merge this, but ask that your team does validation when this goes to staging (est week after Thanksgiving). |
Optionally add max and actual score for assignments to get_student_grade_summary_data output.
This will put the actual score and actual max score in scope for the the return_csv function, so actual scores can be dumped. The ultimate goal is to provide this data in the CSV dump that is passed to Stellar via pylmod. This is PR #10395 on edX, and issue 95 on mitocw's edx fork. https://github.com/edx/edx-platform/pull/10395 mitocw#95
This will put the actual score and actual max score in scope for the the return_csv function, so actual scores can be dumped. The ultimate goal is to provide this data in the CSV dump that is passed to Stellar via pylmod. This is PR openedx#10395 on edX, and issue 95 on mitocw's edx fork. https://github.com/edx/edx-platform/pull/10395 #95
This will put the actual score and actual max score in scope for the the return_csv function, so actual scores can be dumped. The ultimate goal is to provide this data in the CSV dump that is passed to Stellar via pylmod. This is PR openedx#10395 on edX, and issue 95 on mitocw's edx fork. https://github.com/edx/edx-platform/pull/10395 #95
Background Currently, only a grade between 0 and 1 is sent to the remote gradebook. The remote gradebook should receive both the raw grade (the float between 0 and 1) and the maximum score per assignment. This change is in response to issue #95 on mitocw/edx-platform. mitocw#95
This patch allows this additional data to be optionally added to the bundle passed to the code which writes the CSV file sent to the remote gradebook. After this patch is merged, additional work will have to be done to consume this new data during the CSV creation.
The remote gradebook feature has been in edX for almost three years. We believe that MIT is its only consumer.
Studio Updates None.
LMS Updates From issue #95:
...Course staff want to use edX to weight and scale grades, as presented by the LMS
Progress
tab.In a nutshell, we intend to identify a source of the grade data, use that source to modify
get_student_grade_summary_data()
inlegacy.py
which is called byreturn_csv()
in the same file.Testing This feature can be run from the Legacy Dashboard for courses that are configured to use the remote gradebook feature. (The remote gradebook configuration is described here
edx-platform/docs/en_us/internal/remote_gradebook.md
.)1 - The
Gradebook Name
is set as an advanced setting in Studio.2 - The
Export grades for assignment to remote gradebook
executes the remotegradebook feature.
3 - For testing, exporting the CSV file exercises the same code as we are
changing. It is an easy way to check the results.
Cover letter by @pwilkins