<commit_before><%@ page import="gov.nih.nci.evs.browser.bean.IteratorBean" %>
<%@ page import="gov.nih.nci.evs.browser.bean.UserSessionBean" %>
<%@ page import="gov.nih.nci.evs.browser.bean.IteratorBeanManager" %>
<%@ page import="gov.nih.nci.evs.browser.properties.NCItBrowserProperties" %>

<FORM NAME="paginationForm" METHOD="POST" action="<%=request.getContextPath() %>/pages/search_results.jsf?" >
  <table>
    <tr>
      <td class="textbody" align=left>
    
<%    
//String search_key = (String) request.getSession().getAttribute("key");
String search_key = (String) request.getAttribute("key");

//System.out.println("pagination.jsp search_key: " + search_key);
request.setAttribute("key", search_key);
%>
<input type="hidden" id="key" name="key" value="<%=key%>" />
<%

IteratorBeanManager iteratorBeanMgr = (IteratorBeanManager) FacesContext.getCurrentInstance().getExternalContext()
.getSessionMap().get("iteratorBeanManager");
<commit_msg>[#31190] Banner changes when results per page is changed. [KLO, 050911]<commit_after><%@ page import="gov.nih.nci.evs.browser.bean.IteratorBean" %>
<%@ page import="gov.nih.nci.evs.browser.bean.UserSessionBean" %>
<%@ page import="gov.nih.nci.evs.browser.bean.IteratorBeanManager" %>
<%@ page import="gov.nih.nci.evs.browser.properties.NCItBrowserProperties" %>

<FORM NAME="paginationForm" METHOD="POST" action="<%=request.getContextPath() %>/pages/search_results.jsf?" >
  <table>
    <tr>
      <td class="textbody" align=left>
    
<%    
//String search_key = (String) request.getSession().getAttribute("key");
String search_key = (String) request.getAttribute("key");

//System.out.println("pagination.jsp search_key: " + search_key);
request.setAttribute("key", search_key);
%>
<input type="hidden" id="key" name="key" value="<%=key%>" />
<input type="hidden" id="dictionary" name="dictionary" value="<%=search_results_dictionary%>" />
<input type="hidden" id="version" version="key" value="<%=search_results_version%>" />
<%


IteratorBeanManager iteratorBeanMgr = (IteratorBeanManager) FacesContext.getCurrentInstance().getExternalContext()
.getSessionMap().get("iteratorBeanManager");

{'fraction_non_alphanumeric': 0.18770377270610153, 'fraction_numerical': 0.005123428039124359, 'mean_word_length': 6.644128113879003, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 31, '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': '6436223', 'n_tokens_mistral': 725, 'n_tokens_neox': 694, 'n_words': 104}