<commit_before>class HomeController < ApplicationController
  layout 'home'

  def index
    @posts = Post.all.ordered.limit(10)
  end
end
<commit_msg>Layout is set from controller name<commit_after>class HomeController < ApplicationController

  def index
    @posts = Post.all.ordered.limit(10)
    @events = Event.today
  end
end

{'fraction_non_alphanumeric': 0.08108108108108109, 'fraction_numerical': 0.012012012012012012, 'mean_word_length': 4.21875, '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': '4312900', 'n_tokens_mistral': 103, 'n_tokens_neox': 97, 'n_words': 27}