<commit_before><?php
	session_start();
	$dsn = 'mysql:dbname=WebGroup;host=localhost';
	$user = 'WebGroup';
	$password = '<PASSWORD>';
	try{
		$dbh = new PDO($dsn, $user, $password);
		if ($dbh == null){
			$_SESSION['error1'] = '通信で問題が発生しました。';
			header('Location: login.php');
			exit();
		}
	$dbh->query('SET NAMES UTF-8');
	$before = h($_POST['task']);
	$sql = 'SELECT * from task';
	foreach ($dbh->query($sql) as $row) {    
		if($_SESSION['name'] == $row['password'] && $before == $row['task']){
			echo $row['time'];
		}
	}
	
	}catch (PDOException $e){
		print('Error:'.$e->getMessage());
		die();
	}
	
	$dbh = null;	
?><commit_msg>edit-power<commit_after><?php
	session_start();
	$dsn = 'mysql:dbname=WebGroup;host=localhost';
	$user = 'WebGroup';
	$password = '<PASSWORD>';
	function h($s) {
    	return htmlspecialchars($s, ENT_QUOTES, 'UTF-8');
	}
	try{
		$dbh = new PDO($dsn, $user, $password);
		if ($dbh == null){
			$_SESSION['error1'] = '通信で問題が発生しました。';
			header('Location: login.php');
			exit();
		}
	$dbh->query('SET NAMES UTF-8');
	$before = h($_POST['task']);
	$sql = 'SELECT * from task';
	foreach ($dbh->query($sql) as $row) {    
		if($_SESSION['name'] == $row['password'] && $before == $row['task']){
			echo $row['time'];
		}
	}
	
	}catch (PDOException $e){
		print('Error:'.$e->getMessage());
		die();
	}
	
	$dbh = null;	
?>
{'fraction_non_alphanumeric': 0.24907612712490762, 'fraction_numerical': 0.003695491500369549, 'mean_word_length': 4.248062015503876, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 13, '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': '3458667', 'n_tokens_mistral': 592, 'n_tokens_neox': 553, 'n_words': 102}