<commit_before><?php
session_start();

if (isset($_GET['t']))
{
	include("libs/cool-php-captcha/simplecaptcha.php");
	$captcha = new SimpleCaptcha();

	$captcha->lineWidth = 3;
	$captcha->scale = 3;
	$captcha->blur = true;
	if (extension_loaded('imagick'))
	{
		$captcha->reduceImageColors = true;
		$captcha->useImageMagick = true;
	}
	$captcha->CreateImage();
} elseif (isset($_GET['i'])) {
	echo "<a style='position: absolute; left: 0; top: 0;' href='?i=".time()."'><img style='width: 100%;' src='?t=".time()."' alt='CAPTCHA'/></a>";
} else {
	echo "<a style='display: block; padding-top: 10px; text-align: center; text-decoration: none; color: #FFF; font-size: 30px; text-shadow: -1px 0px #000, 0px 1px #000, 1px 0px #000, 0px -1px #000' href='?i=".time()."'>Click here</a>";
}
?><commit_msg>small captcha fix<commit_after><?php
session_start();

if (isset($_GET['t']))
{
	include("libs/cool-php-captcha/simplecaptcha.php");
	$captcha = new SimpleCaptcha();

	$captcha->lineWidth = 3;
	$captcha->scale = 3;
	$captcha->blur = true;
	if (extension_loaded('imagick'))
	{
		$captcha->reduceImageColors = true;
		$captcha->useImageMagick = true;
	}
	$captcha->CreateImage();
} elseif (isset($_GET['i'])) {
	echo "<a style='position: absolute; left: 0; top: 0;' href='?i=".time()."'><img style='width: 100%; height: 70px;' src='?t=".time()."' alt='CAPTCHA'/></a>";
} else {
	echo "<a style='display: block; padding-top: 10px; text-align: center; text-decoration: none; color: #FFF; font-size: 30px; text-shadow: -1px 0px #000, 0px 1px #000, 1px 0px #000, 0px -1px #000' href='?i=".time()."'>Click here</a>";
}
?>
{'fraction_non_alphanumeric': 0.2360248447204969, 'fraction_numerical': 0.03975155279503106, 'mean_word_length': 5.367588932806324, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 27, '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': '1911313', 'n_tokens_mistral': 711, 'n_tokens_neox': 620, 'n_words': 136}