<commit_before>!!! XML

- base_url = "http://www.alpine-lab.com/"
- pages = sitemap.resources.find_all{|p| p.source_file.match(/\.html/) }

%urlset{xmlns: "http://www.sitemaps.org/schemas/sitemap/0.9"}
  - pages.each do |p|
    %url
      %loc= base_url + p.destination_path.gsub('index.html','')
      - if priority = p.metadata[:page]['priority']
        %priority= priority
      %lastmod= File.new(p.source_file).mtime.to_date<commit_msg>Remove /page/* pages from sitemap<commit_after>!!! XML

- base_url = "http://www.alpine-lab.com/"
- pages = sitemap.resources.find_all { |p| p.source_file.match(/\.html/) and not p.destination_path.match(/\/page\/[0-9]+/) }

%urlset{xmlns: "http://www.sitemaps.org/schemas/sitemap/0.9"}
  - pages.each do |p|
    %url
      %loc= base_url + p.destination_path.gsub('index.html','')
      - if priority = p.metadata[:page]['priority']
        %priority= priority
      %lastmod= File.new(p.source_file).mtime.to_date
{'fraction_non_alphanumeric': 0.1974921630094044, 'fraction_numerical': 0.006269592476489028, 'mean_word_length': 3.334841628959276, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '4191863', 'n_tokens_mistral': 369, 'n_tokens_neox': 363, 'n_words': 53}