<commit_before><%
   all_responses = fulltext
   
   (title_level_fulltxt, fulltxt) = 
      all_responses.partition {|i| i.view_data[:coverage_checked] == false || i.view_data[:can_link_to_article] == false}      
      
%>

<div class="umlaut_section fulltext <%= unless fulltxt.blank? && title_level_fulltxt.blank?; 'highlighted_section' ; end %>">

  <%= renderer.render_heading %>

  
<div class="umlaut_section_content">
  
  <%
      list_with_limit('umlaut_fulltext', all_responses, :ul_class => "response_list", :limit => renderer.list_visible_limit ) do |item, index |
        # Display special warnign header if it's title-level only,
        # and it's an article or issue level link. Are we
        # at the beginning of title level display?
        if ( index == fulltxt.length && 
             !title_level_request? )
           genre = @user_request.referent.metadata['genre']<commit_msg>ensure title-level links are in list AFTER ordinary fulltext. Before we were relying on order of adding to db, service order. that's bad.<commit_after><%
  
  #debugger
   all_responses = fulltext
   
   (title_level_fulltxt, fulltxt) = 
      all_responses.partition {|i| i.view_data[:coverage_checked] == false || i.view_data[:can_link_to_article] == false}      
   # order em with full fulltxt before title_level_fulltxt
   all_responses = fulltxt + title_level_fulltxt   
%>

<div class="umlaut_section fulltext <%= unless fulltxt.blank? && title_level_fulltxt.blank?; 'highlighted_section' ; end %>">

  <%= renderer.render_heading %>

  
<div class="umlaut_section_content">
  
  <%
      list_with_limit('umlaut_fulltext', all_responses, :ul_class => "response_list", :limit => renderer.list_visible_limit ) do |item, index |
        # Display special warnign header if it's title-level only,
        # and it's an article or issue level link. Are we
        # at the beginning of title level display?
        if ( index == fulltxt.length && 
             !title_level_request? )
           genre = @user_request.referent.metadata['genre']
{'fraction_non_alphanumeric': 0.11116528522671867, 'fraction_numerical': 0.0, 'mean_word_length': 3.5, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 17, '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': '798470', 'n_tokens_mistral': 661, 'n_tokens_neox': 635, 'n_words': 156}