<commit_before>const React = require('react')
const Helmet = require('react-helmet')
const { object } = React.PropTypes

const MetaContainer = require('js/components/MetaContainer')
const Header = require('js/components/Header')

const Layout = React.createClass({
  propTypes: {
    location: object.isRequired,
    children: object.isRequired
  },

  childContextTypes: {
    location: object
  },

  getChildContext () {
    return { location: this.props.location }
  },

  render () {
    return (
      <div className='layout'><commit_msg>Added params prop to Layout proptypes.<commit_after>const React = require('react')
const Helmet = require('react-helmet')
const { string, shape, object } = React.PropTypes

const MetaContainer = require('js/components/MetaContainer')
const Header = require('js/components/Header')

const Layout = React.createClass({
  propTypes: {
    location: object.isRequired,
    children: object.isRequired,
    params: shape({ shape: string })
  },

  childContextTypes: {
    location: object
  },

  getChildContext () {
    return { location: this.props.location }
  },

  render () {
    return (
      <div className='layout'>
{'fraction_non_alphanumeric': 0.1269296740994854, 'fraction_numerical': 0.0, 'mean_word_length': 3.944915254237288, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7426920', 'n_tokens_mistral': 337, 'n_tokens_neox': 331, 'n_words': 78}