<commit_before>module Awestruct
  module Extensions
    class Posts

      attr_accessor :path_prefix, :assign_to, :archive_template, :archive_path, :default_layout

      def initialize(path_prefix='', assign_to=:posts, archive_template=nil, archive_path=nil, opts={})
        @archive_template = archive_template
        @archive_path     = archive_path
        @path_prefix      = path_prefix
        @assign_to        = assign_to
        @default_layout   = opts[:default_layout] || 'posts'
      end

      def execute(site)
        posts   = []
        archive = Archive.new<commit_msg>default layout should be post, not posts<commit_after>module Awestruct
  module Extensions
    class Posts

      attr_accessor :path_prefix, :assign_to, :archive_template, :archive_path, :default_layout

      def initialize(path_prefix='', assign_to=:posts, archive_template=nil, archive_path=nil, opts={})
        @archive_template = archive_template
        @archive_path     = archive_path
        @path_prefix      = path_prefix
        @assign_to        = assign_to
        @default_layout   = opts[:default_layout] || 'post'
      end

      def execute(site)
        posts   = []
        archive = Archive.new
{'fraction_non_alphanumeric': 0.08677685950413223, 'fraction_numerical': 0.0, 'mean_word_length': 2.869009584664537, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3608117', 'n_tokens_mistral': 352, 'n_tokens_neox': 341, 'n_words': 75}