<commit_before>class OrganisationsController < ApplicationController

  respond_to :html, :json
  respond_to :js, only: :index

  def index
    @organisations = Organisation.order('pull_requests_count desc').includes(:users).page params[:page]
    respond_with @organisations
  end

  def show
    @organisation = Organisation.find_by_login!(params[:id])
    respond_with @organisation
  end
end
<commit_msg>Revert "Merge pull request #472 from JoahG/organisations-fix"<commit_after>class OrganisationsController < ApplicationController

  respond_to :html, :json
  respond_to :js, only: :index

  def index
    @organisations = Organisation.includes(:users).page params[:page]
    respond_with @organisations
  end

  def show
    @organisation = Organisation.find_by_login!(params[:id])
    respond_with @organisation
  end
end

{'fraction_non_alphanumeric': 0.0891566265060241, 'fraction_numerical': 0.0036144578313253013, 'mean_word_length': 5.065693430656935, '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': '6949491', 'n_tokens_mistral': 257, 'n_tokens_neox': 237, 'n_words': 59}