<commit_before>module Awestruct
  module Extensions
    module Cachebuster

      def cache(href)
        "#{href}?#{page.cachebuster}"
      end

      class Extension

        def execute(site)
          site.pages.each{ |p| p.extend Extension }
        end

        module Extension
          def cachebuster
            ((site.timestamp || page.input_mtime || Time.now.to_i) / 1000).to_i.to_s
          end
        end
      end
    end
  end
end<commit_msg>helper no extension<commit_after>module Awestruct
  module Extensions
    module Cachebuster

      def cache(href)
	"#{href}?#{cachebuster}"
      end

      def cachebuster(p=page)
	((site.timestamp || p.input_mtime || Time.now.to_i) / 1000).to_i.to_s
      end

    end
  end
end
{'fraction_non_alphanumeric': 0.09543010752688172, 'fraction_numerical': 0.010752688172043012, 'mean_word_length': 2.0785123966942147, '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': '7575143', 'n_tokens_mistral': 253, 'n_tokens_neox': 239, 'n_words': 54}