The new_subtask_status is what is stored on the task, and is passed in as an argument.  On a retry, it should be the same as what is stored in the InstructorTask, since the same (incremented) status is passed to the update_task_status and the retry() calls.  So anyway, equal values are expected, and not a sign of duplication.