<commit_before><?php

class Mustache_Application_Resource_Mustache extends Zend_Application_Resource_ResourceAbstract {

        /**
         * (non-PHPdoc)
         * @see Zend_Application_Resource_Resource::init()
         * @return Mustache_View
         */
        public function init() {
                $options = $this->mergeOptions(array(
                            'basePath' => APPLICATION_PATH . '/views',
                            'partialPath' => NULL,
                            'suffix' => 'mustache',
                            'enabled' => true),
                    $this->getOptions()
                );
                extract($options); // $basePath, $partialPath, $suffix, $enabled
                $view = new Mustache_View();
                $view->setBasePath($basePath);
                $engine = $view->getEngine();
                if ($partialPath !== NULL) {
                        if (is_array($partialPath)) {
                                foreach ($partialPath as $path) {
                                        $engine->addPartialDirectory($path);
                                }
                        }
                        else {
                                $engine->addPartialDirectory($partialPath);
                        }
                }
                if ($enabled) {<commit_msg>Fixed Mustache_View not found problem<commit_after><?php

class Mustache_Application_Resource_Mustache extends Zend_Application_Resource_ResourceAbstract {

        /**
         * (non-PHPdoc)
         * @see Zend_Application_Resource_Resource::init()
         * @return Mustache_View
         */
        public function init() {
                $options = $this->mergeOptions(array(
                            'basePath' => APPLICATION_PATH . '/views',
                            'partialPath' => NULL,
                            'suffix' => 'mustache',
                            'enabled' => true),
                    $this->getOptions()
                );
                extract($options); // $basePath, $partialPath, $suffix, $enabled
                require_once dirname(__FILE__) . '/../../View.php';
                $view = new Mustache_View();
                $view->setBasePath($basePath);
                $engine = $view->getEngine();
                if ($partialPath !== NULL) {
                        if (is_array($partialPath)) {
                                foreach ($partialPath as $path) {
                                        $engine->addPartialDirectory($path);
                                }
                        }
                        else {
                                $engine->addPartialDirectory($partialPath);
                        }
                }
                if ($enabled) {
{'fraction_non_alphanumeric': 0.10647482014388489, 'fraction_numerical': 0.0, 'mean_word_length': 1.0815868263473054, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1763731', 'n_tokens_mistral': 636, 'n_tokens_neox': 590, 'n_words': 107}