<commit_before>module Simpleblog
  class HomeController < ApplicationController

    def index

    end

  end
end
<commit_msg>use the rails app's application layout and show a list of posts on home#index<commit_after>module Simpleblog
  class HomeController < ApplicationController

  	# Use the main Rails app's application layout
  	layout "application"

    # Display a list of posts on the home page
    def index
			@posts = Post.published.order("published_at DESC")
    end

  end
end
{'fraction_non_alphanumeric': 0.04684317718940937, 'fraction_numerical': 0.0, 'mean_word_length': 3.730769230769231, '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': '6879126', 'n_tokens_mistral': 140, 'n_tokens_neox': 127, 'n_words': 54}