     @error_msg = msg
     @state = state_error
 
-  data_loaded: (prompt, submission, rubric, submission_id, max_score, ml_error_info, prompt_name, num_left, num_total) ->
+  data_loaded: (prompt, submission, rubric, submission_id, max_score, ml_error_info, prompt_name, num_graded, num_total) ->
     @prompt = prompt
     @submission = submission
     @rubric = rubric

  no_more: (message) ->
    @prompt = null
    @prompt_name = ''
    @num_left = 0
    @num_total = 0
    @submission = null
    @rubric = null

    @max_score = 0
    @state = state_no_data


  render_view: () ->
    # clear the problem list and breadcrumbs
