<commit_before><%@ include file="/shared/taglibs.jsp" %>

<!--setFavourite.jsp-->

<c:if test="${! empty PROFILE.username}">

	<tiles:importAttribute name="name" ignore="false"/>
	<tiles:importAttribute name="type" ignore="false"/>
	
	<c:set var="name" value="${fn:replace(name,'\\'','#039;')}" />
	
	<c:choose>
		<c:when test="${isFavourite == 'true'}">
	<img id="favourite_${name}" src="images/star_active.png" style="cursor:pointer;" onclick="setFavourite('${name}','${type}',this)" title="Favourite"/>
		</c:when>
		<c:otherwise>
	<img id="favourite_${name}" src="images/star_unactive.png" style="cursor:pointer;" onclick="setFavourite('${name}','${type}',this)"  title="Set as favourite"/>
		</c:otherwise>
	</c:choose>
</c:if>

<!--/setFavourite.jsp--><commit_msg>png is actually a gif<commit_after><%@ include file="/shared/taglibs.jsp" %>

<!--setFavourite.jsp-->

<c:if test="${! empty PROFILE.username}">

	<tiles:importAttribute name="name" ignore="false"/>
	<tiles:importAttribute name="type" ignore="false"/>
	
	<c:set var="name" value="${fn:replace(name,'\\'','#039;')}" />
	
	<c:choose>
		<c:when test="${isFavourite == 'true'}">
	<img id="favourite_${name}" src="images/star_active.gif" style="cursor:pointer;" onclick="setFavourite('${name}','${type}',this)" title="Favourite"/>
		</c:when>
		<c:otherwise>
	<img id="favourite_${name}" src="images/star_unactive.gif" style="cursor:pointer;" onclick="setFavourite('${name}','${type}',this)"  title="Set as favourite"/>
		</c:otherwise>
	</c:choose>
</c:if>

<!--/setFavourite.jsp-->
{'fraction_non_alphanumeric': 0.26098191214470284, 'fraction_numerical': 0.003875968992248062, 'mean_word_length': 6.78391959798995, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, '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': '6268115', 'n_tokens_mistral': 614, 'n_tokens_neox': 569, 'n_words': 85}