<commit_before><html>
    <head>
        <title>vithesaurus - admin page</title>
        <meta name="layout" content="main" />
    </head>
    <body>

		<div class="body">

		<h1>Admin Page</h1>
		
        <p>
        Manage:
        <g:link controller="user" action="list">Users</g:link> |
        <g:link controller="language" action="list">Languages</g:link> |
        <g:link controller="source" action="list">Sources</g:link> |
        <g:link controller="category" action="list">Categories</g:link> |
        <g:link controller="termLevel" action="list">Term Level</g:link> |
        <g:link controller="linkType" action="list">Synset Link Types</g:link> |
        <g:link controller="termLinkType" action="list">Term Link Types</g:link> |
        <g:link controller="wordGrammar" action="list">Grammar Forms</g:link> |
        <g:link controller="section" action="list">Thesauri</g:link> |
        <g:link controller="thesaurusConfigurationEntry" action="list">Configuration</g:link><br />

        Export:
        <g:link controller="exportOxt" action="run">Export OXT (slow for large data sets)</g:link> |
        <g:link controller="exportText" action="run">Export text</g:link> 
        <br />

        Lists:
        <g:link controller="check" action="listInvisibleSynsets">Invisible</g:link>
        <br />

        Term Checks:
        <g:link controller="check" action="listHomonyms" params="['section.id': 0]">Homonyms</g:link>

		<h2>Latest ${resultLimit} User subscription</h2>
		
		<table>
		<thead>
			<tr>
				<td>email</td>
				<td>display name</td>
				<td>registration</td>
				<td>last login</td>
			</tr>
		</thead>
		<g:each in="${latestUsers}" status="i" var="latestUser">
			<tr>
				<td>${latestUser.userId}</td>
				<td>${latestUser.realName}</td>
				<td>${latestUser.creationDate}</td>
				<td>${latestUser.lastLoginDate}</td>
			</tr>
		</g:each>
		</table>
		
        </div>

    </body>
</html>
<commit_msg>fix HTML escaping<commit_after><html>
    <head>
        <title>vithesaurus - admin page</title>
        <meta name="layout" content="main" />
    </head>
    <body>

		<div class="body">

		<h1>Admin Page</h1>
		
        <p>
        Manage:
        <g:link controller="user" action="list">Users</g:link> |
        <g:link controller="language" action="list">Languages</g:link> |
        <g:link controller="source" action="list">Sources</g:link> |
        <g:link controller="category" action="list">Categories</g:link> |
        <g:link controller="termLevel" action="list">Term Level</g:link> |
        <g:link controller="linkType" action="list">Synset Link Types</g:link> |
        <g:link controller="termLinkType" action="list">Term Link Types</g:link> |
        <g:link controller="wordGrammar" action="list">Grammar Forms</g:link> |
        <g:link controller="section" action="list">Thesauri</g:link> |
        <g:link controller="thesaurusConfigurationEntry" action="list">Configuration</g:link><br />

        Export:
        <g:link controller="exportOxt" action="run">Export OXT (slow for large data sets)</g:link> |
        <g:link controller="exportText" action="run">Export text</g:link> 
        <br />

        Lists:
        <g:link controller="check" action="listInvisibleSynsets">Invisible</g:link>
        <br />

        Term Checks:
        <g:link controller="check" action="listHomonyms" params="['section.id': 0]">Homonyms</g:link>

		<h2 style="margin-top:25px">Latest ${resultLimit} User subscription</h2>
		
		<table>
		<thead>
			<tr>
				<th>email</th>
				<th>display name</th>
				<th>registration</th>
				<th>last login</th>
			</tr>
		</thead>
		<g:each in="${latestUsers}" status="i" var="latestUser">
			<tr>
				<td>${latestUser.userId.encodeAsHTML()}</td>
				<td>${latestUser.realName?.encodeAsHTML()}</td>
				<td>${latestUser.creationDate}</td>
				<td>${latestUser.lastLoginDate}</td>
			</tr>
		</g:each>
		</table>
		
        </div>

    </body>
</html>

{'fraction_non_alphanumeric': 0.1891001267427123, 'fraction_numerical': 0.003041825095057034, 'mean_word_length': 3.3031624863685933, 'pattern_counts': {'":': 0, '<': 149, '<?xml version=': 0, '>': 149, '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': '3606455', 'n_tokens_mistral': 1461, 'n_tokens_neox': 1322, 'n_words': 221}