<commit_before><% content_locals ||= {} %>
<% actions_locals ||= {} %>
<% resource = resource_list_item %>
<% content_partial = get_list_item_content_partial(resource) %>
<% actions_partial = get_list_item_actions_partial(resource) %>
<% avatar_partial = get_list_item_avatar_partial(resource) if avatar_partial.nil?%>
<% box_width = 75 %>
<% box_width += 10 if actions_partial.blank? %>
<% box_width += 12 if avatar_partial.blank? %><commit_msg>dont show the actions_partial on VL homepage tabs<commit_after><% content_locals ||= {} %>
<% actions_locals ||= {} %>
<% resource = resource_list_item %>
<% content_partial = get_list_item_content_partial(resource) %>
<%
   #not showing actions_partial on VL home page tabs
   root_path = root_url.end_with?('/') ? root_url : (root_url + '/')
   request_uri = request.headers['REQUEST_URI']
   request_uri = request_uri.end_with?('/') ? request_uri : (request_uri + '/')
   if !request_uri.include?(root_path)
     request_uri = root_path.chop + request_uri
   end
   if request_uri == root_path
      actions_partial = nil
   else
     actions_partial = get_list_item_actions_partial(resource)
   end
%>
<% avatar_partial = get_list_item_avatar_partial(resource) if avatar_partial.nil?%>
<% box_width = 75 %>
<% box_width += 10 if actions_partial.blank? %>
<% box_width += 12 if avatar_partial.blank? %>
{'fraction_non_alphanumeric': 0.14063656550703182, 'fraction_numerical': 0.008882309400444115, 'mean_word_length': 5.438095238095238, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '1988', 'n_tokens_mistral': 489, 'n_tokens_neox': 436, 'n_words': 84}