<commit_before><?
require_once(__DIR__.'/../require.php');
class Komment {
	
	private $ab ;
	private $id ;
	private $datum ;
	private $tartalom ;
	private $szerzo_id ;
	private $szerzo_nev ;
	private $szerzo_teljes_nev ;
	private $hozzaszolas_ok=false;
	
	public function __construct($id, $ab){
		$this -> ab = $ab ;
		$komment_lekerdezes = sprintf("
			SELECT
				k.id               AS k_id,
				k.datum            AS k_datum,
				k.tartalom         AS k_tartalom,
				f.id               AS f_id,
				f.felhasznaloi_nev AS f_nev,
				f.teljes_nev       AS f_teljes_nev
			FROM hozzaszolasok AS k
			JOIN felhasznalok AS f
				ON k.szerzo_id = f.id
			WHERE k.id = %d",
			$id);
		$komment_eredmeny = $this -> ab -> query( $komment_lekerdezes ) ;<commit_msg>Fixes<commit_after><?
require_once(__DIR__.'/../require.php');
class Komment {
	
	private $ab ;
	private $id ;
	private $datum ;
	private $tartalom ;
	private $szerzo_id ;
	private $szerzo_nev ;
	private $szerzo_teljes_nev ;
	private $hozzaszolas_ok=false;
	
	public function __construct($id){
		$komment_eredmeny = query("
			SELECT
				k.id               AS k_id,
				k.datum            AS k_datum,
				k.tartalom         AS k_tartalom,
				f.id               AS f_id,
				f.felhasznaloi_nev AS f_nev,
				f.teljes_nev       AS f_teljes_nev
			FROM hozzaszolasok AS k
			JOIN felhasznalok AS f
				ON k.szerzo_id = f.id
			WHERE k.id = #1
			ORDER BY datum DESC",
			$id);
{'fraction_non_alphanumeric': 0.1026536312849162, 'fraction_numerical': 0.0006983240223463687, 'mean_word_length': 2.395734597156398, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, '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': '5979535', 'n_tokens_mistral': 661, 'n_tokens_neox': 587, 'n_words': 131}