<commit_before><?php
	echo "hello";
$dsn = "pgsql:"
    . "host=ec2-79-125-5-199.eu-west-1.compute.amazonaws.com;"
    . "dbname=d3f5n2850gvvdk;"
    . "user=dguqsrqlvkwikg;"
    . "port=5432;"
    . "password=<PASSWORD>";

$db = new PDO($dsn);

$table = "tcompany";
try {
     $sql ="CREATE table $table(
     ID INT( 11 ) AUTO_INCREMENT PRIMARY KEY,
     Prename VARCHAR( 50 ) NOT NULL, 
     Name VARCHAR( 250 ) NOT NULL,
     StreetA VARCHAR( 150 ) NOT NULL, 
     StreetB VARCHAR( 150 ) NOT NULL, 
     StreetC VARCHAR( 150 ) NOT NULL, 
     County VARCHAR( 100 ) NOT NULL,
     Postcode VARCHAR( 50 ) NOT NULL,
     Country VARCHAR( 50 ) NOT NULL);" ;
     $db->exec($sql);
   
} catch(PDOException $e) {
    echo $e->getMessage();//Remove or change message in production code
}

$result = $db->exec("INSERT INTO tcompany(Prename, Name) VAULES('John', 'Doe')");
echo $result;



echo " we";


<commit_msg>asdsa<commit_after><?php
	echo "hello";
$dsn = "pgsql:"
    . "host=ec2-79-125-5-199.eu-west-1.compute.amazonaws.com;"
    . "dbname=d3f5n2850gvvdk;"
    . "user=dguqsrqlvkwikg;"
    . "port=5432;"
    . "password=<PASSWORD>bbe69966ee20";

$db = new PDO($dsn);

$table = "tcompany";
try {
     $sql ="CREATE table $table(
     ID INT( 11 ) AUTO_INCREMENT PRIMARY KEY,
     Prename VARCHAR( 50 ) NOT NULL, 
     Name VARCHAR( 250 ) NOT NULL,
     StreetA VARCHAR( 150 ) NOT NULL, 
     StreetB VARCHAR( 150 ) NOT NULL, 
     StreetC VARCHAR( 150 ) NOT NULL, 
     County VARCHAR( 100 ) NOT NULL,
     Postcode VARCHAR( 50 ) NOT NULL,
     Country VARCHAR( 50 ) NOT NULL);" ;
     $db->exec($sql);
	echo "in try";
   
echo "in between try and catch";

} catch(PDOException $e) {
	echo "in catch";
    echo $e->getMessage();//Remove or change message in production code
}

echo "before query";
$result = $db->exec("INSERT INTO tcompany(Prename, Name) VAULES('John', 'Doe')");
echo $result;
echo after "query";


echo " we";



{'fraction_non_alphanumeric': 0.15563598759048605, 'fraction_numerical': 0.04912099276111686, 'mean_word_length': 3.056603773584906, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, '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': '552539', 'n_tokens_mistral': 807, 'n_tokens_neox': 713, 'n_words': 194}