<commit_before>class GroupsController < ApplicationController

  skip_before_filter :verify_authenticity_token
  def sort
    current_group_members = params[:students].map{|student_id| Student.find(student_id)}

    other_cohort_members = current_group_members.first.cohort.students.where("id != ?", params[:students])

    puts other_cohort_members.length
    other = {}
    other_cohort_members.each do |cohort_member|
      other[cohort_member] = cohort_member.times_grouped_with(current_group_members)
    end

    render json: ["farts"]

  def new
    @cohort = Cohort.includes(students: :photo).find(params[:cohort_id])
  end

  def create

  end
end<commit_msg>found missing end<commit_after>class GroupsController < ApplicationController

  skip_before_filter :verify_authenticity_token
  def sort
    current_group_members = params[:students].map{|student_id| Student.find(student_id)}

    other_cohort_members = current_group_members.first.cohort.students.where("id != ?", params[:students])

    puts other_cohort_members.length
    other = {}
    other_cohort_members.each do |cohort_member|
      other[cohort_member] = cohort_member.times_grouped_with(current_group_members)
    end

    render json: ["farts"]
  end

  def new
    @cohort = Cohort.includes(students: :photo).find(params[:cohort_id])
  end

  def create

  end
end
{'fraction_non_alphanumeric': 0.0950965824665676, 'fraction_numerical': 0.0, 'mean_word_length': 4.907894736842105, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '1348829', 'n_tokens_mistral': 462, 'n_tokens_neox': 421, 'n_words': 72}