<commit_before>import React, { Component, PropTypes } from 'react'
import { Provider } from 'react-redux'
import DevTools from 'containers/DevTools'
import { Router, Route } from 'react-router-dom'
import App from 'containers/App'

export default class Root extends Component {
    displayName = 'root component';
    static propTypes = {
        store: PropTypes.object.isRequired,
        history: PropTypes.object.isRequired
    }
    render() {
        const { store, history } = this.props
        return (
          <Provider store={ store }>
              <div>
                  <Router history= { history }>
                    <Route exact path="/" component={ App } />
                  </Router>
                  <DevTools />
              </div>
          </Provider>
        )
    }
}
<commit_msg>update to ConnectedRouter<commit_after>import React, { Component, PropTypes } from 'react'
import { Provider } from 'react-redux'
import DevTools from 'containers/DevTools'
import { Route, Switch } from 'react-router-dom'
import { ConnectedRouter } from 'react-router-redux'
import App from 'containers/App'

export default class Root extends Component {
    displayName = 'root component';
    static propTypes = {
        store: PropTypes.object.isRequired,
        history: PropTypes.object.isRequired
    }
    render() {
        const { store, history } = this.props
        return (
          <Provider store={ store }>
              <div>
                  <ConnectedRouter history= { history }>
                    <Switch>
                        <Route exact path="/" component={ App } />
                    </Switch>
                  </ConnectedRouter>
                  <DevTools />
              </div>
          </Provider>
        )
    }
}

{'fraction_non_alphanumeric': 0.10564971751412429, 'fraction_numerical': 0.0, 'mean_word_length': 1.829073482428115, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '7362513', 'n_tokens_mistral': 460, 'n_tokens_neox': 453, 'n_words': 128}