<commit_before>class Sitemaps < Application
  def index
    @articles = Article.all(:published => true, :order => "published_at DESC")
    xml = Builder::XmlMarkup.new
    xml.instruct!
    if params[:format] == "xml"
      xml.urlset :xmlns => "http://www.sitemaps.org/schemas/sitemap/0.9",
        "xmlns:xsi" => "http://www.w3.org/2001/XMLSchema-instance",<commit_msg>fix feather-sitemaps for DM<commit_after>class Sitemaps < Application
  def index
    @articles = Article.all(:published => true, :order => [:published_at.desc])
    xml = Builder::XmlMarkup.new
    xml.instruct!
    if params[:format] == "xml"
      xml.urlset :xmlns => "http://www.sitemaps.org/schemas/sitemap/0.9",
        "xmlns:xsi" => "http://www.w3.org/2001/XMLSchema-instance",
{'fraction_non_alphanumeric': 0.17040951122853368, 'fraction_numerical': 0.018494055482166448, 'mean_word_length': 3.5939393939393938, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 12}, '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': '118494', 'n_tokens_mistral': 276, 'n_tokens_neox': 264, 'n_words': 45}