<commit_before>class ProfessorsController < ApplicationController

  def index
    @all_profs = Professor.all_profs("EECS")
  end

  def show
    @prof = Professor.find(params[:id])
    @prof_courses = @prof.courses.order(rating: :desc)
    @uniq_prof_courses = @prof.unique_courses.order(rating: :desc)
  end

  def distinguished
    @dist_eecs_profs = Professor.dist_profs("EECS")
    @dist_hum_profs = Professor.dist_profs("HUM")
  end
end<commit_msg>heroku bug<commit_after>class ProfessorsController < ApplicationController

  def index
    @all_profs = Professor.all_profs("EECS")
  end

  def show
    @prof = Professor.find(params[:id])
    @prof_courses = @prof.courses
    @uniq_prof_courses = @prof.unique_courses
    #@prof_courses = @prof.courses.order(rating: :desc)
    #@uniq_prof_courses = @prof.unique_courses.order(rating: :desc)
  end

  def distinguished
    @dist_eecs_profs = Professor.dist_profs("EECS")
    @dist_hum_profs = Professor.dist_profs("HUM")
  end
end
{'fraction_non_alphanumeric': 0.11347517730496454, 'fraction_numerical': 0.0, 'mean_word_length': 4.550561797752809, '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': '7045546', 'n_tokens_mistral': 358, 'n_tokens_neox': 355, 'n_words': 58}