<commit_before>const React = require('react')

class Details extends React.Component {
  render () {
    return (
      <div style={{textAlign: 'left'}} className='container'>
        <pre><code>
          {JSON.stringify(this.props.params, null, 4)}
        </code></pre>
      </div>
    )
  }
}

module.exports = Details<commit_msg>Adding proptypes to Details page<commit_after>const React = require('react')

class Details extends React.Component {
  render () {
    return (
      <div style={{textAlign: 'left'}} className='container'>
        <pre><code>
          {JSON.stringify(this.props.params, null, 4)}
        </code></pre>
      </div>
    )
  }
}

const { object } = React.PropTypes

Details.propTypes = {
  params: object
}

module.exports = Details
{'fraction_non_alphanumeric': 0.15254237288135594, 'fraction_numerical': 0.002607561929595828, 'mean_word_length': 2.8208955223880596, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '2170692', 'n_tokens_mistral': 238, 'n_tokens_neox': 237, 'n_words': 51}