<commit_before><?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  {% capture site_url %}{% if site.url %}{{ site.url | append: site.baseurl }}{% else %}{{ site.github.url }}{% endif %}{% endcapture %}
  {% for post in site.posts %}{% unless post.sitemap == false %}
  <url>
    <loc>{{ site_url }}{{ post.url }}</loc>
    {% if post.last_modified_at %}
    <lastmod>{{ post.last_modified_at | date_to_xmlschema }}</lastmod>
    {% else %}
    <lastmod>{{ post.date | date_to_xmlschema }}</lastmod>
    {% endif %}
    <priority>0.8</priority>
  </url>
  {% endunless %}{% endfor %}
  {% for post in site.html_pages %}{% unless post.sitemap == false %}
  <url>
    <loc>{{ site_url }}{{ post.url | replace:'index.html','' }}</loc>
    <lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
    <changefreq>weekly</changefreq>
    <priority>{% if post.url == "/" or post.url == "/index.html" %}1.0{% else %}0.7{% endif %}</priority>
  </url>
  {% endunless %}{% endfor %}
  {% for collection in site.collections %}{% unless collection.last.output == false %}
  {% for doc in collection.last.docs %}{% unless doc.sitemap == false %}
  <url>
    <loc>{{ site_url }}{{ doc.url | replace:'index.html','' }}</loc>
    <lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
    <changefreq>weekly</changefreq>
    <priority>{% if doc.url == "/" or doc.url == "/index.html" %}1.0{% else %}0.7{% endif %}</priority>
  </url>
  {% endunless %}{% endfor %}
  {% endunless %}{% endfor %}
  {% for file in site.html_files %}
  <url>
    <loc>{{ site_url }}{{ file.path }}</loc>
    <lastmod>{{ file.modified_time | date_to_xmlschema }}</lastmod>
    <priority>0.6</priority>
  </url>
  {% endfor %}
</urlset><commit_msg>Refactor the sitemap.xml to use {{ some.url | prepend: site_url }}.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  {% capture site_url %}{% if site.url %}{{ site.url | append: site.baseurl }}{% else %}{{ site.github.url }}{% endif %}{% endcapture %}
  {% for post in site.posts %}{% unless post.sitemap == false %}
  <url>
    <loc>{{ post.url | prepend: site_url }}</loc>
    {% if post.last_modified_at %}
    <lastmod>{{ post.last_modified_at | date_to_xmlschema }}</lastmod>
    {% else %}
    <lastmod>{{ post.date | date_to_xmlschema }}</lastmod>
    {% endif %}
    <priority>0.8</priority>
  </url>
  {% endunless %}{% endfor %}
  {% for post in site.html_pages %}{% unless post.sitemap == false %}
  <url>
    <loc>{{ post.url | replace:'index.html','' | prepend: site_url }}</loc>
    <lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
    <changefreq>weekly</changefreq>
    <priority>{% if post.url == "/" or post.url == "/index.html" %}1.0{% else %}0.7{% endif %}</priority>
  </url>
  {% endunless %}{% endfor %}
  {% for collection in site.collections %}{% unless collection.last.output == false %}
  {% for doc in collection.last.docs %}{% unless doc.sitemap == false %}
  <url>
    <loc>{{ doc.url | replace:'index.html','' | prepend: site_url }}</loc>
    <lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
    <changefreq>weekly</changefreq>
    <priority>{% if doc.url == "/" or doc.url == "/index.html" %}1.0{% else %}0.7{% endif %}</priority>
  </url>
  {% endunless %}{% endfor %}
  {% endunless %}{% endfor %}
  {% for file in site.html_files %}
  <url>
    <loc>{{ file.path | prepend: site_url }}</loc>
    <lastmod>{{ file.modified_time | date_to_xmlschema }}</lastmod>
    <priority>0.6</priority>
  </url>
  {% endfor %}
</urlset>
{'fraction_non_alphanumeric': 0.2234906139015728, 'fraction_numerical': 0.013191273465246067, 'mean_word_length': 3.7165071770334928, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 2, '>': 85, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 17}, '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': '7508540', 'n_tokens_mistral': 1570, 'n_tokens_neox': 1444, 'n_words': 285}