<commit_before>import './global';
import { mergeDeep, init } from './helper';

class Balm {
  constructor() {
    this.running = false;
  }
  get config() {
    return configs;
  }
  set config(data) {
    let defaults = config;
    // step 1: overwrite config
    config = mergeDeep(defaults, data);
    // step 2: cp config.paths.source config.paths.tmp
    config = mergeDeep(config, {
      paths: {
        tmp: defaults.paths.source
      }
    });
    // step 3: overwrite config.paths.tmp
    if (typeof data.paths !== 'undefined' && typeof data.paths.tmp !== 'undefined') {
      config = mergeDeep(config, {
        paths: {<commit_msg>fix get config<commit_after>import './global';
import { mergeDeep, init } from './helper';

class Balm {
  constructor() {
    this.running = false;
  }
  get config() {
    return config; // global
  }
  set config(data) {
    let defaults = config;
    // step 1: overwrite config
    config = mergeDeep(defaults, data);
    // step 2: cp config.paths.source config.paths.tmp
    config = mergeDeep(config, {
      paths: {
        tmp: defaults.paths.source
      }
    });
    // step 3: overwrite config.paths.tmp
    if (typeof data.paths !== 'undefined' && typeof data.paths.tmp !== 'undefined') {
      config = mergeDeep(config, {
        paths: {
{'fraction_non_alphanumeric': 0.141321044546851, 'fraction_numerical': 0.004608294930875576, 'mean_word_length': 2.474666666666667, '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': '1139139', 'n_tokens_mistral': 400, 'n_tokens_neox': 389, 'n_words': 107}