<commit_before><?

$config="ok";
/*
	Dati di connessione al db e a ldap
*/
define('DB_HOST',   'localhost');
define('DB_PORT',   '6543');
define('DB_USER',   'prjadmin');
define('DB_PSW',    '');
define('DB_SCHEMA', 'metopack');

/*
	importazione librerie di accesso al db
*/
require_once 'MDB2.php';
/*

*/
define('PIC',     'PIC');
define('COP',     'Copilot');
define('DUAL',     'Dual');
define('INSTR',     'Instructor');
$options=Array('spt'=> Array('S', 'M'),
			   'function' => Array (PIC, COP,DUAL,INSTR),

);

/*
costanti booleane sul db
*/
define('TRUE',     'S');
define('FALSE',     'N');
/*
	importazione libreria di query upacontratti e di file accessori
*/
require_once 'sql.php';
require_once 'html.php';
require_once 'funzioni.php';
require 'php-sdk/src/facebook.php';
/*
	connessione al db
*/
$dsn='pgsql://' . DB_USER . ':' . DB_PSW . '@tcp(' . DB_HOST . ':' . DB_PORT . ')/' . DB_SCHEMA;

//$dsn='pgsql://' . DB_USER . '@unix(' . DB_HOST . ')/' . DB_SCHEMA;

$db =& MDB2::connect($dsn);
if (PEAR::isError($db)) {
	//print_r($db);
	echo "d'oh!";
    die($db->getMessage());
}

$db->setFetchMode(MDB2_FETCHMODE_ASSOC);

date_default_timezone_set('Europe/Rome');

?>
<commit_msg>altro commit di test<commit_after><?

$config="ok";
/*
	Dati di connessione al db e a ldap
*/
define('DB_HOST',   'localhost');
define('DB_PORT',   '6543');
define('DB_USER',   'prjadmin');
define('DB_PSW',    '');
define('DB_SCHEMA', 'metopack');

/*
	importazione librerie di accesso al db
*/
require_once 'MDB2.php';
/*

*/
define('PIC',     'PIC');
define('COP',     'Copilot');
define('DUAL',     'Dual');
define('INSTR',     'Instructor');
$options=Array('spt'=> Array('S', 'M'),
			   'function' => Array (PIC, COP,DUAL,INSTR),

);

/*
costanti booleane sul db
*/
define('TRUE',     'S');
define('FALSE',     'N');
/*
	importazione libreria di query upacontratti e di file accessori
*/
require_once 'sql.php';
require_once 'html.php';
require_once 'funzioni.php';
/*
	connessione al db
*/
$dsn='pgsql://' . DB_USER . ':' . DB_PSW . '@tcp(' . DB_HOST . ':' . DB_PORT . ')/' . DB_SCHEMA;

//$dsn='pgsql://' . DB_USER . '@unix(' . DB_HOST . ')/' . DB_SCHEMA;

$db =& MDB2::connect($dsn);
if (PEAR::isError($db)) {
	//print_r($db);
	echo "d'oh!";
    die($db->getMessage());
}

$db->setFetchMode(MDB2_FETCHMODE_ASSOC);

date_default_timezone_set('Europe/Rome');

?>

{'fraction_non_alphanumeric': 0.23109421208280523, 'fraction_numerical': 0.005914659907055344, 'mean_word_length': 4.05982905982906, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3902409', 'n_tokens_mistral': 994, 'n_tokens_neox': 981, 'n_words': 185}