<commit_before><% if @heading.present? %>
  <section class="no-margin-top margin-bottom">
    <div class="expanded jumbo-budget budget-heading padding">

      <div class="row">
        <div class="small-12 column">
          <%= link_to budget_group_path(@budget, @heading.group), class: "back" do %>
            <i class="icon-angle-left"></i>
            <%= t("shared.back") %>
          <% end %>

          <% if can? :show, @ballot %>
            <%= link_to t("budget.investments.header.check_ballot"),
                        budget_ballot_path(@budget),
                        class: "button float-right" %>
          <% end %>
        </div>
      </div>

      <div class="row progress-votes">
        <div class="small-12 column">
          <div class="progress-bar-nav" data-fixed-bar>
            <h1 class="inline-block"><%= @filter_geozone_name %></h1>
            <div id="check-ballot" style="display: none;">
              <% if can? :show, @ballot %>
                <%= link_to t("budget.investments.header.check_ballot"),
                            budget_ballot_path(@budget) %>
              <% end %>
            </div>
              <% if @ballot.valid_heading?(@heading) %>
                <div id="progress_bar" class="no-margin-top">
                  <%= render 'budgets/ballot/progress_bar' %><commit_msg>Fixes typo<commit_after><% if @heading.present? %>
  <section class="no-margin-top margin-bottom">
    <div class="expanded jumbo-budget budget-heading padding">

      <div class="row">
        <div class="small-12 column">
          <%= link_to budget_group_path(@budget, @heading.group), class: "back" do %>
            <i class="icon-angle-left"></i>
            <%= t("shared.back") %>
          <% end %>

          <% if can? :show, @ballot %>
            <%= link_to t("budget.investments.header.check_ballot"),
                        budget_ballot_path(@budget),
                        class: "button float-right" %>
          <% end %>
        </div>
      </div>

      <div class="row progress-votes">
        <div class="small-12 column">
          <div class="progress-bar-nav" data-fixed-bar>
            <h1 class="inline-block"><%= @heading.name %></h1>
            <div id="check-ballot" style="display: none;">
              <% if can? :show, @ballot %>
                <%= link_to t("budget.investments.header.check_ballot"),
                            budget_ballot_path(@budget) %>
              <% end %>
            </div>
              <% if @ballot.valid_heading?(@heading) %>
                <div id="progress_bar" class="no-margin-top">
                  <%= render 'budgets/ballot/progress_bar' %>
{'fraction_non_alphanumeric': 0.16604197901049475, 'fraction_numerical': 0.004497751124437781, 'mean_word_length': 1.8243386243386244, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 61, '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': '5316711', 'n_tokens_mistral': 859, 'n_tokens_neox': 787, 'n_words': 145}