<commit_before><h1><%= @petition.title %></h1>
<p><%= @petition.body %></p>

<%= link_to @petition.url, @petition.url, target: "_blank" %>
<commit_msg>Format the show petitions page<commit_after><div class="container-fluid">
  <div class="row-fluid">
    <div class="span12">
      <h1><%= @petition.title %></h1>
      <p><%= @petition.body %></p>
        <div class="progress progress-info">
          <% percentage =  number_to_percentage((@petition.signature_count.to_f / @petition.signature_threshold) * 100) %>
          <div class="bar" style="width: <%="#{percentage}" %>"></div>
        </div>
        Signatures needed: <%= number_with_delimiter(@petition.signatures_needed)  %>
        <br/>
        Signature count: <%= number_with_delimiter(@petition.signature_count) %>
        <br/>
        Time left: <%= distance_of_time_in_words(DateTime.now, @petition.deadline) %>
        <br/>

       URL <%= link_to @petition.url, @petition.url, target: "_blank" %>
    </div>
  </div>
</div>

{'fraction_non_alphanumeric': 0.1961961961961962, 'fraction_numerical': 0.009009009009009009, 'mean_word_length': 3.3859649122807016, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, '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': '5303686', 'n_tokens_mistral': 368, 'n_tokens_neox': 324, 'n_words': 62}