<commit_before><% img_root = "computers/old/#{computer["name"].parameterize}" %>
<% img = Rails.application.assets.find_asset("#{img_root}.png") ? "#{img_root}.png" : "#{img_root}.jpg" %>
<div id="<%= computer["name"].parameterize %>" class="container computer-summary">
  <div class="col-sm-12">
    <h3 id="fishsticks"><%= computer["name"] %> <small><%= [computer["from"],computer["to"]].join("&ndash;").html_safe if computer["from"] && computer["to"]%></small></h3>
    <%= "<p>#{computer["description"]}</p>".html_safe if computer["description"] %>
  </div>
  <div class="col-sm-4"><%= project_image(img, attribution: computer["attribution"]) %></div>
  <div class="col-sm-8">
    <%= "<h4>#{computer["model"]}</h4>".html_safe if computer["model"] %>
    <%= [%Q(<ul class="list-unstyled">), computer["specs"].map{|spec| "<li>#{spec}</li>"}, %Q(</ul>)].join.html_safe if computer["specs"] %>
  </div>
</div><commit_msg>Parameterize anchors from names on Old Computers<commit_after><% img_root = "computers/old/#{computer["name"].parameterize}" %>
<% img = Rails.application.assets.find_asset("#{img_root}.png") ? "#{img_root}.png" : "#{img_root}.jpg" %>
<div id="<%= computer["name"].parameterize %>" class="container computer-summary">
  <div class="col-sm-12">
    <h3 id="<%= computer["name"].parameterize %>"><%= computer["name"] %> <small><%= [computer["from"],computer["to"]].join("&ndash;").html_safe if computer["from"] && computer["to"]%></small></h3>
    <%= "<p>#{computer["description"]}</p>".html_safe if computer["description"] %>
  </div>
  <div class="col-sm-4"><%= project_image(img, attribution: computer["attribution"]) %></div>
  <div class="col-sm-8">
    <%= "<h4>#{computer["model"]}</h4>".html_safe if computer["model"] %>
    <%= [%Q(<ul class="list-unstyled">), computer["specs"].map{|spec| "<li>#{spec}</li>"}, %Q(</ul>)].join.html_safe if computer["specs"] %>
  </div>
</div>
{'fraction_non_alphanumeric': 0.2863135815416885, 'fraction_numerical': 0.008390141583639224, 'mean_word_length': 6.511811023622047, 'pattern_counts': {'":': 0, '<': 62, '<?xml version=': 0, '>': 62, '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': '522822', 'n_tokens_mistral': 709, 'n_tokens_neox': 667, 'n_words': 98}