<commit_before>@charset "UTF-8";

/// Remove settings
///
/// @param  {String} $settings Configuration path
/// @param  {Bool}   $default  Whether the configuration is default
///
/// @return {Bool}             True if the configuration path is removed.
@function config-reset($settings, $default: false) {
  $settings: $config-namespace + $settings;

  @if length($settings) == 1 {
    $settings: nth($settings, 1);
  }

  @each $setting in $settings {
    @if ($default) {
      $config-default: map-remove($config-default, $setting) !global;
    } @else {
      $config-attr: map-remove($config-attr, $setting) !global;
    }
  }

  @return true;
}<commit_msg>Update config-reset() to respect $config-manger-variable<commit_after>@charset "UTF-8";

/// Remove settings
///
/// @param  {String} $settings Configuration path
/// @param  {Bool}   $default  Whether the configuration is default
///
/// @return {Bool}             True if the configuration path is removed.
@function config-reset($settings, $default: false) {
  $settings: $config-namespace + $settings;

  @if length($settings) == 1 {
    $settings: nth($settings, 1);
  }

  @each $setting in $settings {
    @if ($default) {
      @if ($config-manger-variables == 'global') {
        $config-default: map-remove($config-default, $setting) !global;
      } @else {
        $config-default: map-remove($config-default, $setting);
      }
    } @else {
      @if ($config-manger-variables == 'global') {
        $config-attr: map-remove($config-attr, $setting) !global;
      } @else {
        $config-attr: map-remove($config-attr, $setting);
      }
    }
  }

  @return true;
}
{'fraction_non_alphanumeric': 0.16899696048632218, 'fraction_numerical': 0.00364741641337386, 'mean_word_length': 2.9004739336492893, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4108466', 'n_tokens_mistral': 516, 'n_tokens_neox': 504, 'n_words': 130}