<commit_before><#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->

<#import "lib-vivo-form.ftl" as lvf>

<#-- Custom form for managing web pages for individuals -->
<#if subjectName?contains(",") >
<#assign lastName = subjectName?substring(0,subjectName?index_of(",")) />
<#assign firstName = subjectName?substring(subjectName?index_of(",") + 1) />
<h2>Manage Publications for ${firstName} ${lastName}</h2>
<#else>
<h2>Manage Publications for ${subjectName}</h2>
</#if>
<p style="margin-left:25px;margin-bottom:12px">
Check those publications you want to exclude from the profile page.
<script type="text/javascript">
    var publicationData = [];
</script>
</p>

<@lvf.unsupportedBrowser urls.base /> 

       
    <#list allSubclasses as sub>
    <h4>
        <#if sub = "Software" || sub = "Thesis">
            ${sub}
        <#elseif sub = "Speech">
            Speeches
        <#else>
            ${sub}s
        </#if>
    </h4>
        <section id="pubsContainer" role="container">
        <#assign pubs = publications[sub]>
        <ul >
            <#list pubs as pub><commit_msg>corrected plural display error redux<commit_after><#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->

<#import "lib-vivo-form.ftl" as lvf>

<#-- Custom form for managing web pages for individuals -->
<#if subjectName?contains(",") >
<#assign lastName = subjectName?substring(0,subjectName?index_of(",")) />
<#assign firstName = subjectName?substring(subjectName?index_of(",") + 1) />
<h2>Manage Publications for ${firstName} ${lastName}</h2>
<#else>
<h2>Manage Publications for ${subjectName}</h2>
</#if>
<p style="margin-left:25px;margin-bottom:12px">
Check those publications you want to exclude from the profile page.
<script type="text/javascript">
    var publicationData = [];
</script>
</p>

<@lvf.unsupportedBrowser urls.base /> 

       
    <#list allSubclasses as sub>
    <h4>
        <#if sub = "Software">
            ${sub}
        <#elseif sub = "Thesis">
            Theses
        <#elseif sub = "Speech">
            Speeches
        <#else>
            ${sub}s
        </#if>
    </h4>
        <section id="pubsContainer" role="container">
        <#assign pubs = publications[sub]>
        <ul >
            <#list pubs as pub>
{'fraction_non_alphanumeric': 0.160536564257897, 'fraction_numerical': 0.01038511466897447, 'mean_word_length': 3.0, 'pattern_counts': {'":': 0, '<': 60, '<?xml version=': 0, '>': 60, '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': '4943338', 'n_tokens_mistral': 755, 'n_tokens_neox': 741, 'n_words': 197}