<commit_before>// external imports
import React from 'react'

export default config => component => {
  // the stateful class that will manage the state
  return class StatefulComponent extends React.Component {
    static propTypes = {
      children: React.PropTypes.element
    }

    constructor(...args) {
      // instantiate this
      super(...args)
      // use the initial value of the config as the state of the prop
      this.state = {
          componentState: config.initialValue
      }
    }

    // this getter returns the handlers associated with the
    get mutations() {
      // the handlers associated with the component state all have the form<commit_msg>removed children requirement on wrapped components<commit_after>// external imports
import React from 'react'

export default config => component => {
  // the stateful class that will manage the state
  return class StatefulComponent extends React.Component {

    constructor(...args) {
      // instantiate this
      super(...args)
      // use the initial value of the config as the state of the prop
      this.state = {
          componentState: config.initialValue
      }
    }

    // this getter returns the handlers associated with the
    get mutations() {
      // the handlers associated with the component state all have the form
{'fraction_non_alphanumeric': 0.07250755287009064, 'fraction_numerical': 0.0, 'mean_word_length': 2.6103542234332426, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '1943228', 'n_tokens_mistral': 322, 'n_tokens_neox': 310, 'n_words': 138}