<commit_before><?php
namespace Minds\Core;

use Minds\Core\Di\Di;

/**
 * Core Minds Engine
 */
class Minds extends base
{
    public $root = __MINDS_ROOT__;
    public $legacy_lib_dir = "/lib/";
    public static $booted = false;

    /**
     * Initializes the site
     * @return null
     */
    public function init()
    {
        $this->initProviders();
    }

    /**
     * Register our DI providers
     * @return null
     */
    public function initProviders()
    {
        Di::_()->bind('Guid', function ($di) {
            return new GuidBuilder();
        }, ['useFactory' => true]);

        (new \Minds\Entities\EntitiesProvider())->register();
        (new Config\ConfigProvider())->register();
        (new Boost\BoostProvider())->register();
        (new Plugins\PluginsProvider())->register();
        (new Data\DataProvider())->register();
        (new Email\EmailProvider())->register();
        (new Events\EventsProvider())->register();
        //(new Core\Notification\NotificationProvider())->register();
        (new Pages\PagesProvider())->register();
        (new Payments\PaymentsProvider())->register();
        (new Queue\QueueProvider())->register();
        (new Security\SecurityProvider())->register();
        (new Http\HttpProvider())->register();
        (new Translation\TranslationProvider())->register();
        (new Categories\CategoriesProvider())->register();
        (new ThirdPartyNetworks\ThirdPartyNetworksProvider())->register();
        (new I18n\I18nProvider())->register();
        (new Storage\StorageProvider())->register();
        (new Monetization\MonetizationProvider())->register();
        (new Programs\ProgramsProvider())->register();
        (new Wire\WireProvider())->register();
        (new Trending\TrendingProvider())->register();
        (new Media\MediaProvider())->register();
        (new Notification\NotificationProvider())->register();
        (new Reports\ReportsProvider())->register();
        (new Groups\GroupsProvider())->register();
        (new Search\SearchProvider())->register();
        (new Votes\VotesProvider())->register();
        (new Features\FeaturesProvider())->register();
        (new SMS\SMSProvider())->register();
        (new Blockchain\BlockchainProvider())->register();
        (new Payments\Subscriptions\SubscriptionsProvider())->register();
        (new Faq\FaqProvider())->register();
        (new Rewards\RewardsProvider())->register();
        (new Email\EmailProvider())->register();
        (new Plus\PlusProvider())->register();
    }

    /**
     * Start the Minds engine
     * @return null
     */
    public function start()<commit_msg>(fix): register provider<commit_after><?php
namespace Minds\Core;

use Minds\Core\Di\Di;

/**
 * Core Minds Engine
 */
class Minds extends base
{
    public $root = __MINDS_ROOT__;
    public $legacy_lib_dir = "/lib/";
    public static $booted = false;

    /**
     * Initializes the site
     * @return null
     */
    public function init()
    {
        $this->initProviders();
    }

    /**
     * Register our DI providers
     * @return null
     */
    public function initProviders()
    {
        Di::_()->bind('Guid', function ($di) {
            return new GuidBuilder();
        }, ['useFactory' => true]);

        (new \Minds\Entities\EntitiesProvider())->register();
        (new Config\ConfigProvider())->register();
        (new Boost\BoostProvider())->register();
        (new Plugins\PluginsProvider())->register();
        (new Data\DataProvider())->register();
        (new Email\EmailProvider())->register();
        (new Events\EventsProvider())->register();
        //(new Core\Notification\NotificationProvider())->register();
        (new Pages\PagesProvider())->register();
        (new Payments\PaymentsProvider())->register();
        (new Queue\QueueProvider())->register();
        (new Security\SecurityProvider())->register();
        (new Http\HttpProvider())->register();
        (new Translation\TranslationProvider())->register();
        (new Categories\CategoriesProvider())->register();
        (new ThirdPartyNetworks\ThirdPartyNetworksProvider())->register();
        (new I18n\I18nProvider())->register();
        (new Storage\StorageProvider())->register();
        (new Monetization\MonetizationProvider())->register();
        (new Programs\ProgramsProvider())->register();
        (new Wire\WireProvider())->register();
        (new Trending\TrendingProvider())->register();
        (new Media\MediaProvider())->register();
        (new Notification\NotificationProvider())->register();
        (new Reports\ReportsProvider())->register();
        (new Groups\GroupsProvider())->register();
        (new Search\SearchProvider())->register();
        (new Votes\VotesProvider())->register();
        (new Features\FeaturesProvider())->register();
        (new SMS\SMSProvider())->register();
        (new Blockchain\BlockchainProvider())->register();
        (new Payments\Subscriptions\SubscriptionsProvider())->register();
        (new Faq\FaqProvider())->register();
        (new Rewards\RewardsProvider())->register();
        (new Email\EmailProvider())->register();
        (new Plus\PlusProvider())->register();
        (new Helpdesk\HelpdeskProvider())->register();
    }

    /**
     * Start the Minds engine
     * @return null
     */
    public function start()
{'fraction_non_alphanumeric': 0.17484206614641398, 'fraction_numerical': 0.0014864362690449647, 'mean_word_length': 2.9320672023374725, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 82, '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': '1146075', 'n_tokens_mistral': 1458, 'n_tokens_neox': 1415, 'n_words': 261}