<commit_before><?php

/*
Plugin Name: FGC OpenParts parts loader
Description: Adds avaiability to load external code from GitHub
Plugin URI: https://github.com/FavoriStyle/FoodGuide/
Version: 0.0.4-a
Author: KaMeHb-UA
Author URI: https://github.com/KaMeHb-UA
License: MIT
*/

define('_USER_DEBUG_MODE', (isset($_GET['--beta']) || isset($_GET['--debug']) || isset($_GET['--devel'])));

(function(){
    $settings = [
		'user' => 'FavoriStyle',
		'repo' => 'FoodGuide'
    ];
    $parts = [
        //parts to be loaded
        'reformat_css',
        'disable-emojis/disable-emojis',
        'user_debug',

    ];
    $debug_parts = [
        //parts to be loaded only with --debug or --beta key
        'seo_template',
    ];

    if(_USER_DEBUG_MODE){
        foreach ($debug_parts as $part) {
            $parts[] = $part;
        }
    }
    foreach ($parts as $part){
        url_require("https://raw.githubusercontent.com/$settings[user]/$settings[repo]/master/parts/$part.php", $enable_debug);
    }
})();

?><commit_msg>seo template is now not a debug part<commit_after><?php

/*
Plugin Name: FGC OpenParts parts loader
Description: Adds avaiability to load external code from GitHub
Plugin URI: https://github.com/FavoriStyle/FoodGuide/
Version: 0.0.4-a
Author: KaMeHb-UA
Author URI: https://github.com/KaMeHb-UA
License: MIT
*/

define('_USER_DEBUG_MODE', (isset($_GET['--beta']) || isset($_GET['--debug']) || isset($_GET['--devel'])));

(function(){
    $settings = [
		'user' => 'FavoriStyle',
		'repo' => 'FoodGuide'
    ];
    $parts = [
        //parts to be loaded
        'reformat_css',
        'disable-emojis/disable-emojis',
        'user_debug',
        'seo_template',

    ];
    $debug_parts = [
        //parts to be loaded only with --debug or --beta key
        //'seo_template',
    ];

    if(_USER_DEBUG_MODE){
        foreach ($debug_parts as $part) {
            $parts[] = $part;
        }
    }
    foreach ($parts as $part){
        url_require("https://raw.githubusercontent.com/$settings[user]/$settings[repo]/master/parts/$part.php", $enable_debug);
    }
})();

?>
{'fraction_non_alphanumeric': 0.1745126010461246, 'fraction_numerical': 0.0028530670470756064, 'mean_word_length': 2.76386404293381, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 6, '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': '2307990', 'n_tokens_mistral': 722, 'n_tokens_neox': 699, 'n_words': 150}