<commit_before><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="decorator" uri="http://www.opensymphony.com/sitemesh/decorator" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<%@ taglib prefix="tabs" tagdir="/WEB-INF/tags/tabs" %>
<%@ taglib prefix="layout" tagdir="/WEB-INF/tags/layout" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<html>
<head>
    <link rel="shortcut icon" href="<tags:imageUrl name="favicon.ico"/>" type="image/x-icon">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>C3PRV2</title>
    <tags:include/>
    <tags:stylesheetLink name="tabbedflow"/>
    <tags:includeScriptaculous/>
    <tags:javascriptLink name="tabbedflow"/>
    <tags:javascriptLink name="autocomplete"/>
<script>
Effect.OpenUp = function(element) {
    element = $(element);
    new Effect.BlindDown(element, arguments[1] || {});
}

Effect.CloseDown = function(element) {
    element = $(element);
    new Effect.BlindUp(element, arguments[1] || {});
}

Effect.Combo = function(element) {
    element = $(element);
    if (element.style.display == 'none') {
        new Effect.OpenUp(element, arguments[1] || {});
    } else {
        new Effect.CloseDown(element, arguments[1] || {});
    }
}
function PanelCombo(element) {
    panelDiv = $(element);
    imageId= element+'-image';
    imageSource=document.getElementById(imageId).src;
    if (panelDiv.style.display == 'none') {
        new Effect.OpenUp(panelDiv, arguments[1] || {});
        document.getElementById(imageId).src=imageSource.replace('minimize','maximize');
    } else {
        new Effect.CloseDown(panelDiv, arguments[1] || {});
        document.getElementById(imageId).src=imageSource.replace('maximize','minimize');
    }
}
function displayDiv(id,flag){
	if(flag=='true'){
		document.getElementById(id).style.display='block';
	}else
		document.getElementById(id).style.display='none';	
}
</script>
<decorator:head/>
</head>

<body>

<div id="content">
    <layout:header/>
    <layout:navigation/>
    <c:choose>
        <c:when test="${!empty registrationAltFlow}">
            <c:set var="rFlow" value="${registrationAltFlow}"/>
        </c:when>
        <c:when test="${!empty registrationFlow}">
            <c:set var="rFlow" value="${registrationFlow}"/>
        </c:when>
        <c:otherwise>
            <c:set var="rFlow" value="false"/>
        </c:otherwise>
    </c:choose>
    <c:set var="rTab" value="${registrationTab}"/>
    <c:set var="studyParticipantAssignment" value="${command}" scope="request"/>
    <form:form id="flowredirect">
        <input type="hidden" name="_target${rTab.targetNumber}" id="flowredirect-target"/>
        <input type="hidden" name="_page${rTab.number}"/>
    </form:form>
    <%--currentSection.displayName : ${currentSection.displayName} <br>
    currentTask.displayName : ${currentTask.displayName }<BR>
    rTab.display : ${rTab.display }<br>
    rTab.shortTitle : ${rTab.shortTitle }<br>
    rTab.showSummary : ${rTab.showSummary }<br>
    rTab.subFlow : ${rTab.subFlow }<br>
    rFlow :  ${rFlow}<br>
    ${currentSection.displayName=='Registration' && rFlow!='false' && rTab.display!='false'}<br>
    <%= request.getSession().getAttribute("registrationFlow")!=null?"not empty":"empty" %><br>
    --%>
    <c:choose>
        <c:when test="${currentSection.displayName=='Registration' && rFlow!='false' && rTab.display!='false'}">
            <%System.out.println("--------setting tabs-------------"); %>
            <tabs:levelOneTabs tab='${rTab}' flow="${rFlow}"/>
            <div class="tabcontent workArea">
                <layout:summaryLayout-1-1 tab='${rTab}' flow="${rFlow}">
                    <c:choose>
                        <c:when test="${rTab.shortTitle=='Select Study'}">
                            <layout:studysearch-layout-2-0>
                                <decorator:body/>
                            </layout:studysearch-layout-2-0>
                        </c:when>
                        <c:when test="${rTab.shortTitle=='Select Subject'}">
                            <layout:selectsubject-layout-2-0>
                                <decorator:body/>
                            </layout:selectsubject-layout-2-0>
                        </c:when>
                        <c:otherwise>
                            <tags:panel title="${rTab.shortTitle}">
                                <decorator:body/>
                            </tags:panel>
                        </c:otherwise>
                    </c:choose>
                </layout:summaryLayout-1-1>
            </div>
        </c:when>
        <c:otherwise>
            <decorator:body/>
        </c:otherwise>
    </c:choose>
</div>

<div id="footer">
    <layout:footer/>
</div>

</body>
</html><commit_msg>formatting change<commit_after><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="decorator" uri="http://www.opensymphony.com/sitemesh/decorator" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<%@ taglib prefix="tabs" tagdir="/WEB-INF/tags/tabs" %>
<%@ taglib prefix="layout" tagdir="/WEB-INF/tags/layout" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<html>
<head>
    <link rel="shortcut icon" href="<tags:imageUrl name="favicon.ico"/>" type="image/x-icon">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>C3PRV2</title>
    <tags:include/>
    <tags:stylesheetLink name="tabbedflow"/>
    <tags:includeScriptaculous/>
    <tags:javascriptLink name="tabbedflow"/>
    <tags:javascriptLink name="autocomplete"/>
<script>
Effect.OpenUp = function(element) {
    element = $(element);
    new Effect.BlindDown(element, arguments[1] || {});
}

Effect.CloseDown = function(element) {
    element = $(element);
    new Effect.BlindUp(element, arguments[1] || {});
}

Effect.Combo = function(element) {
    element = $(element);
    if (element.style.display == 'none') {
        new Effect.OpenUp(element, arguments[1] || {});
    } else {
        new Effect.CloseDown(element, arguments[1] || {});
    }
}
function PanelCombo(element) {
    panelDiv = $(element);
    imageId= element+'-image';
    imageSource=document.getElementById(imageId).src;
    if (panelDiv.style.display == 'none') {
        new Effect.OpenUp(panelDiv, arguments[1] || {});
        document.getElementById(imageId).src=imageSource.replace('minimize','maximize');
    } else {
        new Effect.CloseDown(panelDiv, arguments[1] || {});
        document.getElementById(imageId).src=imageSource.replace('maximize','minimize');
    }
}
</script>
<decorator:head/>
</head>

<body>

<div id="content">
    <layout:header/>
    <layout:navigation/>
    <c:choose>
        <c:when test="${!empty registrationAltFlow}">
            <c:set var="rFlow" value="${registrationAltFlow}"/>
        </c:when>
        <c:when test="${!empty registrationFlow}">
            <c:set var="rFlow" value="${registrationFlow}"/>
        </c:when>
        <c:otherwise>
            <c:set var="rFlow" value="false"/>
        </c:otherwise>
    </c:choose>
    <c:set var="rTab" value="${registrationTab}"/>
    <c:set var="studyParticipantAssignment" value="${command}" scope="request"/>
    <form:form id="flowredirect">
        <input type="hidden" name="_target${rTab.targetNumber}" id="flowredirect-target"/>
        <input type="hidden" name="_page${rTab.number}"/>
    </form:form>
    <%--currentSection.displayName : ${currentSection.displayName} <br>
    currentTask.displayName : ${currentTask.displayName }<BR>
    rTab.display : ${rTab.display }<br>
    rTab.shortTitle : ${rTab.shortTitle }<br>
    rTab.showSummary : ${rTab.showSummary }<br>
    rTab.subFlow : ${rTab.subFlow }<br>
    rFlow :  ${rFlow}<br>
    ${currentSection.displayName=='Registration' && rFlow!='false' && rTab.display!='false'}<br>
    <%= request.getSession().getAttribute("registrationFlow")!=null?"not empty":"empty" %><br>
    --%>
    <c:choose>
        <c:when test="${currentSection.displayName=='Registration' && rFlow!='false' && rTab.display!='false'}">
            <%System.out.println("--------setting tabs-------------"); %>
            <tabs:levelOneTabs tab='${rTab}' flow="${rFlow}"/>
            <div class="tabcontent workArea">
                <layout:summaryLayout-1-1 tab='${rTab}' flow="${rFlow}">
                    <c:choose>
                        <c:when test="${rTab.shortTitle=='Select Study'}">
                            <layout:studysearch-layout-2-0>
                                <decorator:body/>
                            </layout:studysearch-layout-2-0>
                        </c:when>
                        <c:when test="${rTab.shortTitle=='Select Subject'}">
                            <layout:selectsubject-layout-2-0>
                                <decorator:body/>
                            </layout:selectsubject-layout-2-0>
                        </c:when>
                        <c:otherwise>
                            <tags:panel title="${rTab.shortTitle}">
                                <decorator:body/>
                            </tags:panel>
                        </c:otherwise>
                    </c:choose>
                </layout:summaryLayout-1-1>
            </div>
        </c:when>
        <c:otherwise>
            <decorator:body/>
        </c:otherwise>
    </c:choose>
</div>

<div id="footer">
    <layout:footer/>
</div>

</body>
</html>
{'fraction_non_alphanumeric': 0.18940329218106997, 'fraction_numerical': 0.006378600823045267, 'mean_word_length': 2.5195510499637943, 'pattern_counts': {'":': 2, '<': 185, '<?xml version=': 0, '>': 185, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, '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': '6987266', 'n_tokens_mistral': 3130, 'n_tokens_neox': 2984, 'n_words': 444}