<%@ page import="java.text.DateFormat" %> <%@ page import="java.text.SimpleDateFormat" %> <%@ page import="java.util.Calendar" %> <%@ page import="java.util.Date" %> <%@ page import="java.util.Iterator" %> <%@ page import="java.util.List" %> <%@ page import="java.util.Random" %> <%@ page import="com.ikatun.reimaginings.artlogic.*" %> <%@ page import="com.ikatun.reimaginings.artlogic.History.HistoryItem" %> <% boolean submit = request.getParameter("is_submit") != null; int id = request.getParameter("historyId") == null || "".equals(request.getParameter("historyId")) ? -1 : Integer.parseInt(request.getParameter("historyId")); int pageNum = request.getParameter("pageNum") == null || "".equals(request.getParameter("pageNum")) ? 1 : Integer.parseInt(request.getParameter("pageNum")); History history = null; List histories = History.getAllHistories();; if (id != -1) { for (Iterator i = histories.iterator(); i.hasNext(); ) { History h = (History) i.next(); if (h.getId() == id) { history = h; break; } } } if (history == null && histories.size() > 0) history = (History) histories.get(new Random().nextInt(histories.size())); DateFormat format = new SimpleDateFormat("MM.dd.yyyy"); Date today = Calendar.getInstance().getTime(); if (submit) { //submit comments to rankings table int ranking1 = request.getParameter("ranking1") == null ? -1 : Integer.parseInt(request.getParameter("ranking1")); int ranking2 = request.getParameter("ranking2") == null ? -1 : Integer.parseInt(request.getParameter("ranking2")); int ranking3 = request.getParameter("ranking3") == null ? -1 : Integer.parseInt(request.getParameter("ranking3")); String comments = request.getParameter("comments"); String posted_by = request.getRemoteHost(); Ranking ranking = Ranking.createNewRanking( history.getId(), posted_by, new java.sql.Date(today.getTime()), ranking1, ranking2, ranking3, comments, Ranking.CHRONOLOGICAL_MODEL ); ranking.save(); } List rankings = null; if (history != null) { rankings = Ranking.getRankings(history.getId(), Ranking.CHRONOLOGICAL_MODEL); } %> reimaginings
The CHRONOLOGICAL MODEL (Cm) maps color, language, and conversation through the dimension of time, an important addition to the Newtonian Model. The Chronological Model (Cm) forms multiple spectrums (see Cm-1, Cm-2, ..., et. al.) in which each item has its basis in the human event of one human subject viewing an IM conversation through the Reenactment Model. Each of these viewings is tracked and aligned with other data points and event markers. Filling out the HUMAN SURVEY DATA COLLECTION below will provide vital human input and oversight of the generative algoritms of the Reimaginings Prism Engine - RPE 2004 rX.

<% if (history != null) { %> <% int start = (pageNum - 1) * 100; %> <% if (start >= 100) {%> PREVIOUS PAGE | <%}%> <% for (int i = start; i< Math.min( histories.size(), start + 100); i++) { History h1 = (History)histories.get(i); Date hDate = h1.date; %>Cm-<%= h1.getId() %> | <% } %> <% if (histories.size() > (pageNum * 100)) {%> NEXT PAGE <%}%> <% } %>

 

* <% if (history != null) { %> Cm-<%= history.getId()%>:  <%= format.format(history.date) %> <%}%> *


<% if (history != null) {%><%for (int j = 0; j <%}//end hist items }//end null check %>
 

<% if (history != null && !submit) {%>

*HUMAN SURVEY DATA COLLECTION*

Please contribute to the evolution of the RPE 2004 RX (tm) by filling out this brief survey.

Correlation of Cm-<%= history.getId() %> spectrum to rSpectrum 2.0(Ideal):
(1 - Strong, 7 - Weak)
1 2 3 4 5 6 7
Perfection Index:
(rXNCRel - Newtonian Correspondance Relevancy)
Perfect Not perfect
How do you feel about Cm-<%= history.getId() %> spectrum above?
(rXPsychIDX - Inner emotional state):
Good Bad
Qualitative comments:
<% } //end if history is null%> <% if (history != null) {%>

*HUMAN SURVEY DATA COLLECTION RESULTS*

<% for (int i= rankings.size() - 1; i >= 0; i-- ) { Ranking ranking = (Ranking)rankings.get(i); %>

HDCSR-<%= ranking.getId()%>

Date Collected: <%= ranking.date_posted%>

Human Subject ID: <%= ranking.posted_by%>

Correlation Index: <%= ranking.ranking1%>

Perfection Index (rXNCRel): <%= ranking.ranking2%> <%= ranking.ranking2 == 0 ? "(Not perfect)" : ranking.ranking2 == 1 ? "(Perfect)" : "(unanswered)"%>

Psychological Index (rXPsychIDX): <%= ranking.ranking3%> <%= ranking.ranking3 == 0 ? "(Bad)" : ranking.ranking3 == 1 ? "(Good)" : "(unanswered)"%>

Input: <%= ranking.comments%>


<% } } //end if history == null%>