<commit_before><?php

function loadDefaultConfig($cfg) {
  // default configuration for all the environments
  $cfg->config(function($cfg) {
    /** Template Finder */
    // in which folder the Views are stored (relative to the root)
    $cfg->templatefinder_dir = "Views";
    // the extension of the template files
    $cfg->templatefinder_ext = "tpl";

    /** Dispatcher */
    // all controllers have to have this suffix
    $cfg->dispatcher_controller_ext = "Controller";
    // all actions have to have this prefix
    $cfg->dispatcher_method_prefix = "action_";
    // the default action if none is given
    $cfg->dispatcher_default_method = "index";

    /** Router */
    $cfg->router_index_file = "index.php";

    /** Booter */
    $cfg->booter_classes = Array('ErrorToException', 'MagicQuoteFix', 'PHPErrorMessages');

    /** Assets */
    $cfg->cssasset_dir = "stylesheets";
    $cfg->cssasset_ext = "css";
    $cfg->javascriptasset_dir = "javascripts";
    $cfg->javascriptasset_ext = "js";

  }, 'all');

  // default configuration for the development environment
  $cfg->config(function($cfg) {
    $cfg->phperrormessages_on = true;
    $cfg->phperrormessages_level = E_ALL | E_STRICT;
  }, DEVELOPMENT);

  // default configuration for the test environment
  $cfg->config(function($cfg) {
    $cfg->phperrormessages_on = true;
    $cfg->phperrormessages_level = E_ALL;
  }, TEST);

  // default configuration for the test environment
  $cfg->config(function($cfg) {
    $cfg->phperrormessages_on = false;<commit_msg>added a key to set the model folder<commit_after><?php

function loadDefaultConfig($cfg) {
  // default configuration for all the environments
  $cfg->config(function($cfg) {
    /** Template Finder */
    // in which folder the Views are stored (relative to the root)
    $cfg->templatefinder_dir = "Views";
    // the extension of the template files
    $cfg->templatefinder_ext = "tpl";

    /** Dispatcher */
    // all controllers have to have this suffix
    $cfg->dispatcher_controller_ext = "Controller";
    // all actions have to have this prefix
    $cfg->dispatcher_method_prefix = "action_";
    // the default action if none is given
    $cfg->dispatcher_default_method = "index";

    /** Router */
    $cfg->router_index_file = "index.php";

    /** Booter */
    $cfg->booter_classes = Array('ErrorToException', 'MagicQuoteFix', 'PHPErrorMessages');

    /** Assets */
    $cfg->cssasset_dir = "stylesheets";
    $cfg->cssasset_ext = "css";
    $cfg->javascriptasset_dir = "javascripts";
    $cfg->javascriptasset_ext = "js";


    /** Model **/
    $cfg->modelconfig_dir = "Models";

  }, 'all');

  // default configuration for the development environment
  $cfg->config(function($cfg) {
    $cfg->phperrormessages_on = true;
    $cfg->phperrormessages_level = E_ALL | E_STRICT;
  }, DEVELOPMENT);

  // default configuration for the test environment
  $cfg->config(function($cfg) {
    $cfg->phperrormessages_on = true;
    $cfg->phperrormessages_level = E_ALL;
  }, TEST);

  // default configuration for the test environment
  $cfg->config(function($cfg) {
    $cfg->phperrormessages_on = false;
{'fraction_non_alphanumeric': 0.13855421686746988, 'fraction_numerical': 0.0, 'mean_word_length': 3.4625176803394626, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 44, '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': '1534085', 'n_tokens_mistral': 979, 'n_tokens_neox': 951, 'n_words': 235}