<commit_before>class ReasonsController < ApplicationController
  def show
    @reason = Reason.find(params[:id])
    @posts = @reason.posts.limit(10)
  end<commit_msg>actually take the last 10<commit_after>class ReasonsController < ApplicationController
  def show
    @reason = Reason.find(params[:id])
    @posts = @reason.posts.last(10)
  end
{'fraction_non_alphanumeric': 0.11014492753623188, 'fraction_numerical': 0.017391304347826087, 'mean_word_length': 4.864406779661017, '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': '7042413', 'n_tokens_mistral': 110, 'n_tokens_neox': 102, 'n_words': 23}