<commit_before>class ChartsController < ApplicationController

  def index
  end

  def per_assign
    respond_with @assignments = current_course.assignments.order('name ASC').order('due_at ASC')
  end

end<commit_msg>Filter out assignments with no grades.<commit_after>class ChartsController < ApplicationController

  def index
  end

  def per_assign
    respond_with @assignments = current_course.assignments.order('name ASC').order('due_at ASC').select {|a| a.grades.length > 2}
  end

end
{'fraction_non_alphanumeric': 0.08704453441295547, 'fraction_numerical': 0.0020242914979757085, 'mean_word_length': 5.036585365853658, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4423027', 'n_tokens_mistral': 152, 'n_tokens_neox': 142, 'n_words': 37}