<commit_before>export class ElementModule {
  constructor(params = {}) {
    this.params = Object.assign({
      container: document.body
    }, params);

    this.element = window.document.createElement('div');
    this.element.className = 'whs';
    this.element.style.width = 'inherit';
    this.element.style.height = 'inherit';
  }

  manager(manager) {
    manager.add('element', this.element, {alias: '$element'});
    manager.add('container', this.params.container, {alias: '$container'});
  }

  integrate(self) {
    self.params.container.appendChild(self.element);
  }
}
<commit_msg>Fix position to relative for ElementModule<commit_after>export class ElementModule {
  constructor(params = {}) {
    this.params = Object.assign({
      container: document.body
    }, params);

    this.element = window.document.createElement('div');
    this.element.className = 'whs';
    this.element.style.width = 'inherit';
    this.element.style.height = 'inherit';
    this.element.style.position = 'relative';
  }

  manager(manager) {
    manager.add('element', this.element, {alias: '$element'});
    manager.add('container', this.params.container, {alias: '$container'});
  }

  integrate(self) {
    self.params.container.appendChild(self.element);
  }
}

{'fraction_non_alphanumeric': 0.16072842438638163, 'fraction_numerical': 0.0, 'mean_word_length': 3.787878787878788, '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': '5503970', 'n_tokens_mistral': 376, 'n_tokens_neox': 373, 'n_words': 63}