<commit_before>class SpeechesController < DocumentsController
  def index
    @speeches = Speech.published.by_first_published_at
  end

  def show
    @related_policies = @document.published_related_policies
    @topics = @related_policies.map { |d| d.topics }.flatten.uniq
    set_slimmer_organisations_header(@document.organisations)
  end

  private

  def document_class
    Speech
  end
end
<commit_msg>speeches#index is no longer used so removing it<commit_after>class SpeechesController < DocumentsController
  def show
    @related_policies = @document.published_related_policies
    @topics = @related_policies.map { |d| d.topics }.flatten.uniq
    set_slimmer_organisations_header(@document.organisations)
  end

  private

  def document_class
    Speech
  end
end

{'fraction_non_alphanumeric': 0.06572164948453608, 'fraction_numerical': 0.0, 'mean_word_length': 4.51063829787234, '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': '115014', 'n_tokens_mistral': 257, 'n_tokens_neox': 248, 'n_words': 52}