<commit_before><sec:ifNotLoggedIn>
	<form method="POST" action="${resource(file: 'j_spring_security_check')}">
		<table>
		<tr><td><g:message code="index.username"/></td><td><g:textField name="j_username"/></td></tr>
		<tr><td><g:message code="index.password"/></td><td><input name="j_password" type="password"/></td></tr>
		<tr><td colspan="2"><g:submitButton name="login" value="${message(code: 'index.log_in')}"/></td></tr>
		</table>              
	</form>
	<g:form name="signup" url="[action:'create',controller:'user']">
		<g:submitButton name="signup" value="${message(code: 'index.sign_up')}"/>
	</g:form>
</sec:ifNotLoggedIn>

<sec:ifAnyGranted roles="ROLE_USER">
		<g:link controller="user" action="profile">
			<g:message code="user.my_profile" />
		</g:link>

	<g:remoteLink class="logout" controller="logout">${message(code: 'index.log_out')}</g:remoteLink><br>

		<g:link controller="question" action="create">
			<g:message code="question.create_question" />
		</g:link><br>
</sec:ifAnyGranted>

<sec:ifAnyGranted roles="ROLE_ADMIN">
	<link:aboutConfig>
		<g:message code="index.about_config" /> 
	</link:aboutConfig>
</sec:ifAnyGranted><commit_msg>[View] Display error if there is any<commit_after><sec:ifNotLoggedIn>
	<form method="POST" action="${resource(file: 'j_spring_security_check')}">
		<table>
		<tr><td><g:message code="index.username"/></td><td><g:textField name="j_username"/></td></tr>
		<tr><td><g:message code="index.password"/></td><td><input name="j_password" type="password"/></td></tr>
		<tr><td colspan="2"><g:submitButton name="login" value="${message(code: 'index.log_in')}"/></td></tr>
		</table>              
	</form>
	<g:form name="signup" url="[action:'create',controller:'user']">
		<g:submitButton name="signup" value="${message(code: 'index.sign_up')}"/>
	</g:form>
</sec:ifNotLoggedIn>

<sec:ifAnyGranted roles="ROLE_USER">
		<g:link controller="user" action="profile">
			<g:message code="user.my_profile" />
		</g:link><br>

	<g:remoteLink class="logout" controller="logout">${message(code: 'index.log_out')}</g:remoteLink><br>

		<g:link controller="question" action="create">
			<g:message code="question.create_question" />
		</g:link><br>
</sec:ifAnyGranted>
<g:if test="${flash.message}">
	<div class="message" role="status">${flash.message}</div>
</g:if>

<sec:ifAnyGranted roles="ROLE_ADMIN">
	<link:aboutConfig>
		<g:message code="index.about_config" /> 
	</link:aboutConfig><br>
</sec:ifAnyGranted>
{'fraction_non_alphanumeric': 0.23565323565323565, 'fraction_numerical': 0.000814000814000814, 'mean_word_length': 6.929032258064516, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 0, '>': 103, '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': '3074464', 'n_tokens_mistral': 951, 'n_tokens_neox': 905, 'n_words': 121}