Skip to content

Clear Submission - #863

Merged
efischer19 merged 1 commit into
masterfrom
efischer/clear_submission
Feb 18, 2016
Merged

Clear Submission#863
efischer19 merged 1 commit into
masterfrom
efischer/clear_submission

Conversation

@efischer19

Copy link
Copy Markdown
Contributor

@efischer19
efischer19 force-pushed the efischer/clear_submission branch 4 times, most recently from 71e0fcd to 4fe1044 Compare February 5, 2016 20:57
@efischer19
efischer19 force-pushed the efischer/clear_submission branch 3 times, most recently from 4931424 to 25bebdd Compare February 10, 2016 14:43
Comment thread requirements/base.txt Outdated

# edx-submissions
git+https://github.com/edx/edx-submissions.git@0.1.3#egg=edx-submissions==0.1.3
git+https://github.com/edx/edx-submissions.git@efischer/soft_delete_sub#egg=edx-submissions

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.

Also just for sandbox consistency; this will be a proper edx-submissions release version before merging.

@efischer19

Copy link
Copy Markdown
Contributor Author

This PR is ready for review. @cahrens and @dianakhuang, could you look it over when you get a chance?

The sibling change for edx-platform is also ready for review, but the edx-submissions one is still undergoing devops vetting. Regardless of what we do there, the API connection point to ORA will remain the same.

The behavior can be tested at https://efischer19.sandbox.edx.org/


def clear_submission(self, user_id, course_id, item_id):
"""
This method is called to reset student state for a given problem. It will

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.

Nit: Why is the comment text indented? It looks odd to me.

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.

Copied from cancel_submission, which does the same thing. I'll clean both of them up.

@efischer19

Copy link
Copy Markdown
Contributor Author

Initial feedback addressed. @robrap and @dianakhuang, this one is ready for review as well, but before it can merge, openedx/edx-submissions#33 will have to merge so the requirements in this PR can be properly updated

"""
This method is called to reset student state for a given problem. It will
cancel the workflow using traditional methods, to remove it from the grading pools,
and pass through to the submissions API to orphan the submission so the user can create a new one.

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.

Assuming that this is the method signature set up by the LMS, you may want to make that more clear in the comment.

@efischer19
efischer19 force-pushed the efischer/clear_submission branch from 7f45006 to 48c7cc3 Compare February 17, 2016 14:40
@efischer19

Copy link
Copy Markdown
Contributor Author

@robrap Initial comments have been addressed here as well.

@efischer19
efischer19 force-pushed the efischer/clear_submission branch from 48c7cc3 to 106e53e Compare February 17, 2016 14:58
@robrap

robrap commented Feb 17, 2016

Copy link
Copy Markdown
Contributor

👍 Thanks for working toward a cleaner solution @efischer19.

@dianakhuang

Copy link
Copy Markdown
Contributor

👍 from me as well.

@efischer19
efischer19 force-pushed the efischer/clear_submission branch from 106e53e to 577b296 Compare February 18, 2016 19:25
Remove a submission from ORA by cancelling it to remove from grading
pools, then passing through to submissions.
@efischer19
efischer19 force-pushed the efischer/clear_submission branch from 577b296 to 6e1db5b Compare February 18, 2016 19:25
efischer19 pushed a commit that referenced this pull request Feb 18, 2016
@efischer19
efischer19 merged commit 30a4d04 into master Feb 18, 2016
@efischer19
efischer19 deleted the efischer/clear_submission branch February 25, 2016 20:48
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.

4 participants