<commit_before><%@page import="org.apache.jasper.tagplugins.jstl.core.ForEach"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>I have No IDEA News</title>
</head>
<body>
	<%@ page import="edu.asupoly.ser422.lab4.dao.*"%>
	<%@ page import="edu.asupoly.ser422.lab4.model.*"%>
	<%@ page import="edu.asupoly.ser422.lab4.model.*"%>
	<%@ page import="java.util.Enumeration"%>
	<%
		Enumeration<String> attris= request.getSession().getAttributeNames();
		while (attris.hasMoreElements())
		{
			String attribute= attris.nextElement();
	%>
	<%=attribute%>
	<%=":"%>
	<%
		if (request.getSession() != null && request.getSession().getAttribute(attribute) != null)
			{
	%>
	<%=request.getSession().getAttribute(attribute)%>
	<%="  "%>
	<%
		}
		}
	%>
	<table>
		<tr>
			<th>Stories</th>
			<th>Buttons</th>
		</tr>
		<%
			NewsItemBean[] stories= (NewsItemBean[]) request.getAttribute("stories");
			for (int i= 0; i < stories.length; i++)
			{
				request.setAttribute("article", stories[i]);
		%>
		<jsp:include page="NewsArticle/summary.jsp"></jsp:include>
		<%
			}
		%>
	</table>
</body>
</html><commit_msg>Added msgs for home Screen.<commit_after><%@page import="org.apache.jasper.tagplugins.jstl.core.ForEach"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>I have No IDEA News</title>
</head>
<body>
	<%@ page import="edu.asupoly.ser422.lab4.dao.*"%>
	<%@ page import="edu.asupoly.ser422.lab4.model.*"%>
	<%@ page import="java.util.Enumeration"%>
	<%
		Enumeration<String> attris= request.getSession().getAttributeNames();
		while (attris.hasMoreElements())
		{
			String attribute= attris.nextElement();
	%>
	<%=attribute%>
	<%=":"%>
	<%
		if (request.getSession() != null && request.getSession().getAttribute(attribute) != null)
			{
	%>
	<%=request.getSession().getAttribute(attribute)%>
	<%="  "%>
	<%
		}
		}
	%>
	<%
		if (request.getParameter("msg") != null)
		{
	%>
	<%=request.getParameter("msg")%>
	<%
		}
	%>
	<table>
		<tr>
			<th>Stories</th>
			<th>Buttons</th>
		</tr>
		<%
			NewsItemBean[] stories= (NewsItemBean[]) request.getAttribute("stories");
			for (int i= 0; i < stories.length; i++)
			{
				request.setAttribute("article", stories[i]);
		%>
		<jsp:include page="NewsArticle/summary.jsp"></jsp:include>
		<%
			}
		%>
	</table>
</body>
</html>
{'fraction_non_alphanumeric': 0.2272069464544139, 'fraction_numerical': 0.023154848046309694, 'mean_word_length': 4.410958904109589, 'pattern_counts': {'":': 2, '<': 79, '<?xml version=': 0, '>': 77, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '7276916', 'n_tokens_mistral': 1212, 'n_tokens_neox': 1085, 'n_words': 153}