<commit_before>class ApiController < ApplicationController
  def conflict_info
    @registrations = Registration.find :all, :include => :recitation_conflicts
    
    @response_data = @registrations.map do |s|
      conflicts = s.recitation_conflicts.map do |r|<commit_msg>removed recitation leaders from possible recitation assignees<commit_after>class ApiController < ApplicationController
  def conflict_info
    @registrations = Registration.joins(:user).find(:all, 
                                                    :include => :recitation_conflicts,
                                                    :conditions => { :users => { :admin => false }})
    
    @response_data = @registrations.map do |s|
      conflicts = s.recitation_conflicts.map do |r|
{'fraction_non_alphanumeric': 0.08923884514435695, 'fraction_numerical': 0.0, 'mean_word_length': 2.5324074074074074, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3809565', 'n_tokens_mistral': 196, 'n_tokens_neox': 191, 'n_words': 44}