<commit_before><?php namespace ProcessWire;

/**
 * Class TwigExtensionsConfig
 */
class TwigExtensionsConfig extends ModuleConfig {

  /**
   * array Default config values
   */
  public function getDefaults() {
    return array(
      'debugExt' => 1,
      'textExt' => 0,
      'arrayExt' => 0,
      'dateExt' => 0,
      'intlExt' => 0,
      'fileExistsHelper' => 0,
      'widontHelper' => 0
    );
  }

  /**
   * Retrieves the list of config input fields
   * Implementation of the ConfigurableModule interface
   *
   * @return InputfieldWrapper
   */
  public function getInputfields() {
    // get inputfields
    $inputfields = parent::getInputfields();

    // EXTENSIONS
    // ----------
    $fieldset = $this->modules->get('InputfieldFieldset');<commit_msg>deactivate debug extension by default<commit_after><?php namespace ProcessWire;

/**
 * Class TwigExtensionsConfig
 */
class TwigExtensionsConfig extends ModuleConfig {

  /**
   * array Default config values
   */
  public function getDefaults() {
    return array(
      'debugExt' => 0,
      'textExt' => 0,
      'arrayExt' => 0,
      'dateExt' => 0,
      'intlExt' => 0,
      'fileExistsHelper' => 0,
      'widontHelper' => 0
    );
  }

  /**
   * Retrieves the list of config input fields
   * Implementation of the ConfigurableModule interface
   *
   * @return InputfieldWrapper
   */
  public function getInputfields() {
    // get inputfields
    $inputfields = parent::getInputfields();

    // EXTENSIONS
    // ----------
    $fieldset = $this->modules->get('InputfieldFieldset');
{'fraction_non_alphanumeric': 0.1372299872935197, 'fraction_numerical': 0.008894536213468869, 'mean_word_length': 2.6041189931350113, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, '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': '1843682', 'n_tokens_mistral': 488, 'n_tokens_neox': 463, 'n_words': 115}