<commit_before><?php
class Pdo
{
    /**
    * function to connect to bdd 
    * @return PDO
    */
    public static function Connect() 
    {
        $host = '10.111.61.148';
        $bdd = 'interventionbdd';
        $user = 'csharp';
        $password = '<PASSWORD>';
        try
        {
            $mysqlPDO = new PDO("mysql:host=$host;dbname=$bdd;charset=utf8",
            $user, $password,
            array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
        }
        catch(Exception $e)
        { // en cas erreur on affiche un message et on arrete tout
            die('<h1>Erreur de connexion : </h1>' . $e->getMessage());
        }
        return $mysqlPDO;
    }

    /**
    * function which disconnects bdd 
    */
    public static function Disconnect() 
    {
        // TODO : disconnect BDD

    }
}

?>
<commit_msg>change bdd name<commit_after><?php
class Pdo
{
    /**
    * function to connect to bdd 
    * @return PDO
    */
    public static function Connect() 
    {
        $host = '10.111.61.148';
        $bdd = 'intervention_bdd';
        $user = 'csharp';
        $password = '<PASSWORD>';
        try
        {
            $mysqlPDO = new PDO("mysql:host=$host;dbname=$bdd;charset=utf8",
            $user, $password,
            array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
        }
        catch(Exception $e)
        { // en cas erreur on affiche un message et on arrete tout
            die('<h1>Erreur de connexion : </h1>' . $e->getMessage());
        }
        return $mysqlPDO;
    }

    /**
    * function which disconnects bdd 
    */
    public static function Disconnect() 
    {
        // TODO : disconnect BDD

    }
}

?>

{'fraction_non_alphanumeric': 0.13633669235328985, 'fraction_numerical': 0.015411973918197985, 'mean_word_length': 1.7358184764991895, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '5067851', 'n_tokens_mistral': 571, 'n_tokens_neox': 542, 'n_words': 124}