<commit_before>module Schnitzelpress
  module Actions
    module Blog
      extend ActiveSupport::Concern

      included do
        get '/' do
          render_blog
        end

        get '/blog.atom' do
          content_type 'application/atom+xml; charset=utf-8'
          @posts = Schnitzelpress::Model::Post.latest.limit(10)

          slim :atom, :format => :xhtml, :layout => false
        end

        get '/:year/:month/:day/:slug/?' do |year, month, day, slug|
          @post = Schnitzelpress::Model::Post.for_day(year.to_i, month.to_i, day.to_i).all(:slug => slug).first
          puts @post.inspect<commit_msg>Remove old debug output<commit_after>module Schnitzelpress
  module Actions
    module Blog
      extend ActiveSupport::Concern

      included do
        get '/' do
          render_blog
        end

        get '/blog.atom' do
          content_type 'application/atom+xml; charset=utf-8'
          @posts = Schnitzelpress::Model::Post.latest.limit(10)

          slim :atom, :format => :xhtml, :layout => false
        end

        get '/:year/:month/:day/:slug/?' do |year, month, day, slug|
          @post = Schnitzelpress::Model::Post.for_day(year.to_i, month.to_i, day.to_i).all(:slug => slug).first
{'fraction_non_alphanumeric': 0.12672623883021933, 'fraction_numerical': 0.00487408610885459, 'mean_word_length': 2.3387533875338753, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2251106', 'n_tokens_mistral': 400, 'n_tokens_neox': 390, 'n_words': 86}