@outer_atomic
def delete_problem_module_state(xmodule_instance_args, _module_descriptor, student_module, _task_input):
 student_module.delete()
 track_function = _get_track_function_for_task(student_module.student, xmodule_instance_args)
 track_function('problem_delete_state', {})
 return UPDATE_STATUS_SUCCEEDED

@ outer_atomic def delete_problem_module_state ( xmodule_instance_args , _module_descriptor , student_module , _task_input ) : student_module . delete ( ) track_function = _get_track_function_for_task ( student_module . student , xmodule_instance_args ) track_function ( 'problem_delete_state' , { } ) return UPDATE_STATUS_SUCCEEDED
delete the studentmodule entry .