Skip to content

Fix linking problem for peer grading, add in a test - #955

Closed
VikParuchuri wants to merge 1 commit into
masterfrom
fix/vik/peer-link
Closed

Fix linking problem for peer grading, add in a test#955
VikParuchuri wants to merge 1 commit into
masterfrom
fix/vik/peer-link

Conversation

@VikParuchuri

Copy link
Copy Markdown
Contributor

Fix peer linking issue identified in https://edx-wiki.atlassian.net/browse/OEE-136 . @brianhw Please review.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What should happen if more than one linked_descriptors is present? Seems like it ought to check....

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

And what would the behavior for use_for_single_location be if there are multiple locations listed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The code in the descriptor ensures that there will only be one linked descriptor, as does the way the XML, etc, is laid out. a problem can only be linked to one location.

There would never be multiple locations to deal with.

@brianhw

brianhw commented Sep 12, 2013

Copy link
Copy Markdown
Contributor

I'm okay from an emergency standpoint. But if you go back into the code, there are several PEP8 issues in peer_grading_module.py that can be cleaned up (along with comments). It would be good to start cleanup as we go forward. And I see now that the descriptor returns a list of length 1 or 0 for get_required_module_descriptors, so if you are making an assumption about this, you should add a comment in the code to reflect that assumption. (If I ask the question, then I figure someone else is likely to, so it should be commented.)

This was referenced Sep 13, 2013
@VikParuchuri

Copy link
Copy Markdown
Contributor Author

chrisrossi pushed a commit to jazkarta/edx-platform that referenced this pull request Mar 31, 2014
Add support for subtitle download link
DanielVZ96 pushed a commit to open-craft/openedx-platform that referenced this pull request Jan 31, 2024
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.

2 participants