<commit_before><p><a target="_blank" href="http://test.develop.pleesher.com/Liquipedia">Manage Liquipedia Goals</a> (ask PoP for usernames/passwords)</p>

<p><a data-redirect="self" href="<?php echo $h->actionUrl('pleesher.refresh_cache', ['refresh' => 'goals']) ?>">Refresh goals cache</a></p>
<p><a data-redirect="self" href="<?php echo $h->actionUrl('pleesher.refresh_cache', ['refresh' => 'achievements']) ?>">Refresh achievements cache</a></p>
<p><a data-redirect="self" href="<?php echo $h->actionUrl('pleesher.refresh_cache', ['refresh' => 'users']) ?>">Refresh users cache</a></p>
<p><a data-redirect="self" href="<?php echo $h->actionUrl('pleesher.refresh_cache', ['refresh' => 'all']) ?>">Refresh whole cache</a></p><commit_msg>Better admin page, with a description for every action<commit_after><p><a target="_blank" href="http://test.develop.pleesher.com/Liquipedia">Manage Liquipedia Goals</a> (ask PoP for usernames/passwords)</p>

<div class="pleesher-admin-block">
	<p class="pleesher-admin-block-title"
		><a data-redirect="self" data-confirm="Are you sure this is required?"
		href="<?php echo $h->actionUrl('pleesher.refresh_cache', ['refresh' => 'goals']) ?>"
		>Refresh goals cache</a></p>
	Use this after adding/changing a goal from the Pleesher.com admin (see above)
</div>

<div class="pleesher-admin-block">
	<p class="pleesher-admin-block-title"
		><a data-redirect="self" data-confirm="Are you sure this is required?"
		href="<?php echo $h->actionUrl('pleesher.refresh_cache', ['refresh' => 'achievements']) ?>"
		>Refresh achievements cache</a></p>
	Use this only when either:
	<ul>
		<li>The way to check an existing achievement has been changed</li>
		<li>Something seems wrong with achievements
	</ul>
	<strong>This will recompute achievements for all users, and will take quite some time</strong>
</div>

<div class="pleesher-admin-block">
	<p class="pleesher-admin-block-title"
		><a data-redirect="self" data-confirm="Are you sure this is required?"
		href="<?php echo $h->actionUrl('pleesher.refresh_cache', ['refresh' => 'users']) ?>"
		>Refresh users cache</a></p>
	Use this if anyone's Kudos seems wrong (in general it should never be used, but it may be useful in case of a bug)
</div>

<div class="pleesher-admin-block">
	<p class="pleesher-admin-block-title"
		><a data-redirect="self" data-confirm="Are you sure this is required?"
		href="<?php echo $h->actionUrl('pleesher.refresh_cache', ['refresh' => 'all']) ?>"
		>Refresh whole cache</a></p>
	<p>Use this to remove all cache and fetch/check everything again.</p>

	<strong>Use with caution: this will compute everything from scratch for every user, and will take quite some time</strong>
</div>
{'fraction_non_alphanumeric': 0.1813452248234857, 'fraction_numerical': 0.0, 'mean_word_length': 5.713216957605985, 'pattern_counts': {'":': 0, '<': 70, '<?xml version=': 0, '>': 86, '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': '2076648', 'n_tokens_mistral': 880, 'n_tokens_neox': 874, 'n_words': 248}