<commit_before><%- # Get the GetIt holding from the HoldingManager -%>
<% holding = GetIt::HoldingManager.new(service_response).holding %>
<%- # Only display holdings that aren't expired. -%>
<% unless holding.expired? %>
  <div class="umlaut-holding">
    <div class="row-fluid">
      <div class="span3 location">
        <strong><%= holding.location %></strong>
      </div>
      <div class="span4 call-number"><%= holding.call_number %></div>
      <%- # Set status class based on configured available statuses -%>
      <% available_statuses = umlaut_config.holdings.available_statuses
        status_class = available_statuses.include?("#{holding.status}") ?
          'text-success' : '' %>
      <div class="span3 status <%= status_class %>">
        <%= holding.status %>
      </div>
      <div class="span2">
        <%- # More info link -%>
        <%= link_to("More Info", {controller: "link_router",
          id: service_response.id}, target: "_blank",
          class: "btn btn-success more-info" ) %>
        <%- # Request link -%>
        <%= render("request_link", holding: holding) if requestable?(holding) %>
        <%- # E-ZBorrow link -%>
        <%= render("ezborrow_link", holding: holding) %>
      </div>
    </div>
    <%- # Display edition info -%>
    <% if holding.reliability.present? &&
        holding.reliability != ServiceResponse::MatchExact %>
      <div class="row-fluid edition-information">
        <div class="span11 offset1">
          <div class="umlaut-content-indent">
            <% if holding.edition.present? %>
              <em class="text-info">Edition information</em> <%= holding.edition %>
            <% else %>
              <em class="text-info">May be alternate edition.</em>
            <% end %>
          <div>
        </div>
      </div>
    <% end %>
    <%- # Display notes -%>
    <% if holding.notes.present? %>
      <div class="row-fluid notes">
        <div class="span11 offset1"><%= holding.notes %></div>
      </div>
    <% end %>
    <%- # Display coverage -%>
    <% if holding.coverage.present? %>
      <div class="row-fluid coverage">
        <div class="span11 offset1"><commit_msg>Render the StackMap link partials for Holdings<commit_after><%- # Get the GetIt holding from the HoldingManager -%>
<% holding = GetIt::HoldingManager.new(service_response).holding %>
<%- # Only display holdings that aren't expired. -%>
<% unless holding.expired? %>
  <div class="umlaut-holding">
    <div class="row-fluid">
      <div class="span3 location">
        <strong><%= holding.location %></strong>
      </div>
      <div class="span4 call-number"><%= holding.call_number %></div>
      <%- # Set status class based on configured available statuses -%>
      <% available_statuses = umlaut_config.holdings.available_statuses
        status_class = available_statuses.include?("#{holding.status}") ?
          'text-success' : '' %>
      <div class="span3 status <%= status_class %>">
        <%= holding.status %>
      </div>
      <div class="span2">
        <%- # More info link -%>
        <%= link_to("More Info", {controller: "link_router",
          id: service_response.id}, target: "_blank",
          class: "btn btn-success more-info" ) %>
        <%- # Request link -%>
        <%= render("request_link", holding: holding) if requestable?(holding) %>
        <%- # E-ZBorrow link -%>
        <%= render("ezborrow_link", holding: holding) %>
        <%- # StackMap link -%>
        <%= render("stackmap_link", holding: holding) %>
      </div>
    </div>
    <%- # Display edition info -%>
    <% if holding.reliability.present? &&
        holding.reliability != ServiceResponse::MatchExact %>
      <div class="row-fluid edition-information">
        <div class="span11 offset1">
          <div class="umlaut-content-indent">
            <% if holding.edition.present? %>
              <em class="text-info">Edition information</em> <%= holding.edition %>
            <% else %>
              <em class="text-info">May be alternate edition.</em>
            <% end %>
          <div>
        </div>
      </div>
    <% end %>
    <%- # Display notes -%>
    <% if holding.notes.present? %>
      <div class="row-fluid notes">
        <div class="span11 offset1"><%= holding.notes %></div>
      </div>
    <% end %>
    <%- # Display coverage -%>
    <% if holding.coverage.present? %>
      <div class="row-fluid coverage">
        <div class="span11 offset1">
{'fraction_non_alphanumeric': 0.17348314606741572, 'fraction_numerical': 0.005842696629213483, 'mean_word_length': 2.4423820572312454, 'pattern_counts': {'":': 0, '<': 121, '<?xml version=': 0, '>': 121, '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': '5519858', 'n_tokens_mistral': 1439, 'n_tokens_neox': 1308, 'n_words': 290}