<commit_before>import Query from '../query/Query'
import { NormalizedData } from './Contract'
import Normalizer from './Normalizer'
import Attacher from './Attacher'
import Builder from './Builder'
import Incrementer from './Incrementer'

export default class Data {
  /**
   * Normalize the data.
   */
  static normalize (data: any, Query: Query): NormalizedData {
    const normalizedData = Normalizer.normalize(data, Query)

    const attachedData = Attacher.attach(normalizedData, Query)

    return Incrementer.increment(attachedData, Query)
  }

  /**
   * Fill missing records with default value based on model schema.
   */
  static fillAll (data: NormalizedData, Query: Query): NormalizedData {
    return Builder.build(data, Query)
  }
}<commit_msg>Fix some styling in the data class<commit_after>import Query from '../query/Query'
import { NormalizedData } from './Contract'
import Normalizer from './Normalizer'
import Attacher from './Attacher'
import Builder from './Builder'
import Incrementer from './Incrementer'

export default class Data {
  /**
   * Normalize the data.
   */
  static normalize (data: any, query: Query): NormalizedData {
    const normalizedData = Normalizer.normalize(data, query)

    const attachedData = Attacher.attach(normalizedData, query)

    return Incrementer.increment(attachedData, query)
  }

  /**
   * Fill missing records with default value based on model schema.
   */
  static fillAll (data: NormalizedData, query: Query): NormalizedData {
    return Builder.build(data, query)
  }
}
{'fraction_non_alphanumeric': 0.10512654120700844, 'fraction_numerical': 0.0, 'mean_word_length': 3.9581993569131835, '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': '3693694', 'n_tokens_mistral': 434, 'n_tokens_neox': 423, 'n_words': 144}