<commit_before><?php
	include('include/function.php');
	//lang management
	include('include/lang.php');
	//Database connect
	try {
    /**************************************
    * Create databases and                *
    * open connections                    *
    **************************************/

    // Create (connect to) SQLite database in file
    $file_db = new PDO('sqlite:database.sqlite3');
    // Set errormode to exceptions
    $file_db->setAttribute(PDO::ATTR_ERRMODE,
                            PDO::ERRMODE_EXCEPTION);
  }
  catch(PDOException $e) {
    // Print PDOException message
    echo "failed : ".$e->getMessage();<commit_msg>The database is now in a parent folder for cleaner code + dockerisation move<commit_after><?php
	include('include/function.php');
	//lang management
	include('include/lang.php');
	//Database connect
	try {
    /**************************************
    * Create databases and                *
    * open connections                    *
    **************************************/

    // Create (connect to) SQLite database in file
    $file_db = new PDO('../sqlite:database.sqlite3');
    // Set errormode to exceptions
    $file_db->setAttribute(PDO::ATTR_ERRMODE,
                            PDO::ERRMODE_EXCEPTION);
  }
  catch(PDOException $e) {
    // Print PDOException message
    echo "failed : ".$e->getMessage();
{'fraction_non_alphanumeric': 0.21820809248554912, 'fraction_numerical': 0.001445086705202312, 'mean_word_length': 2.6351706036745406, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '4379537', 'n_tokens_mistral': 376, 'n_tokens_neox': 367, 'n_words': 85}