<commit_before>import {
  safeRequire,
  sep,
  exists
} from '../utils';
import {fxData} from '../core';

 class config {
  rootConfig = __dirname;
  configCache = {};

  init(options) {
    options = options || {};
    this.configPath = options.configPath;
    this.appPath = options.appPath;
    this.configCache = {};
    this.initConfig = Object.assign({}, options);
    // 配置变了实例对象需要重建
    fxData.container = {};
  }

  clear() {
    this.configCache = {};<commit_msg>取消，必须初始化前设置好系统<commit_after>import {
  safeRequire,
  sep,
  exists
} from '../utils';

 class config {
  rootConfig = __dirname;
  configCache = {};

  init(options) {
    options = options || {};
    this.configPath = options.configPath;
    this.appPath = options.appPath;
    this.configCache = {};
    this.initConfig = Object.assign({}, options);
  }

  clear() {
    this.configCache = {};
{'fraction_non_alphanumeric': 0.15632183908045977, 'fraction_numerical': 0.0, 'mean_word_length': 2.9954128440366974, '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': '6845087', 'n_tokens_mistral': 299, 'n_tokens_neox': 293, 'n_words': 54}