@task(base=BaseInstructorTask, routing_key=settings.GRADES_DOWNLOAD_ROUTING_KEY)
def calculate_problem_responses_csv(entry_id, xmodule_instance_args):
 action_name = ugettext_noop('generated')
 task_fn = partial(upload_problem_responses_csv, xmodule_instance_args)
 return run_main_task(entry_id, task_fn, action_name)

@ task ( base = BaseInstructorTask , routing_key = settings . GRADES_DOWNLOAD_ROUTING_KEY ) def calculate_problem_responses_csv ( entry_id , xmodule_instance_args ) : action_name = ugettext_noop ( 'generated' ) task_fn = partial ( upload_problem_responses_csv , xmodule_instance_args ) return run_main_task ( entry_id , task_fn , action_name )
compute student answers to a given problem and upload the csv to an s3 bucket for download .