<commit_before><div class="row">
  <div class="eight columns">
    <h3>Data Quality Targets</h3>
    <% if @local_government_area.has_import? %>
      <%=
        render(
          :object => @local_government_area.data_quality,
          :partial => 'stats_tables/data_quality'
        )
      %>
    <% else %>
      No imports have been performed for this LGA.
    <% end %>
  </div>

  <div id="detailed_reports" class="four columns">
    <h3>Detailed Reports</h3>
      <%=
        render(
          :collection => @local_government_area.local_government_area_record_import_logs.finished,
          :partial => 'local_government_area_record_import_logs/link'
        ) || 'No imports have been performed for this LGA'
      %>
    </div>
  </div>


  <div class="row">
    <div class="eight columns">
      <h3>Upload new data file</h3>

      <%= form_tag(uploads_local_government_area_path(@local_government_area),
                    { :multipart => true }) do %>
        <input id="data_file" type="file" name="data_file">
        <button type="submit" class="button">Upload</button>
      <% end %>
    </div>

    <div id="member_list" class="four columns">
      <h3>Members</h3>
      <ul id="users">
        <%= render(
          :collection => @local_government_area.users,<commit_msg>Only show the last 3 import statistic sets<commit_after><div class="row">
  <div class="eight columns">
    <h3>Data Quality Targets</h3>
    <% if @local_government_area.has_import? %>
      <%=
        render(
          :object => @local_government_area.data_quality,
          :partial => 'stats_tables/data_quality'
        )
      %>
    <% else %>
      No imports have been performed for this LGA.
    <% end %>
  </div>

  <div id="detailed_reports" class="four columns">
    <h3>Detailed Reports</h3>
      <%=
        render(
          :collection => @local_government_area.local_government_area_record_import_logs.finished.limit(3),
          :partial => 'local_government_area_record_import_logs/link'
        ) || 'No imports have been performed for this LGA'
      %>
    </div>
  </div>


  <div class="row">
    <div class="eight columns">
      <h3>Upload new data file</h3>

      <%= form_tag(uploads_local_government_area_path(@local_government_area),
                    { :multipart => true }) do %>
        <input id="data_file" type="file" name="data_file">
        <button type="submit" class="button">Upload</button>
      <% end %>
    </div>

    <div id="member_list" class="four columns">
      <h3>Members</h3>
      <ul id="users">
        <%= render(
          :collection => @local_government_area.users,
{'fraction_non_alphanumeric': 0.14291129643669448, 'fraction_numerical': 0.006823351023502654, 'mean_word_length': 2.64, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 73, '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': '1879047', 'n_tokens_mistral': 878, 'n_tokens_neox': 815, 'n_words': 164}