<commit_before>import React from 'react';
import { render } from 'react-dom';
import { Router, Route, IndexRoute, browserHistory } from 'react-router';
import 'current-input';

import App from './components/App';
import Home from './components/Home';
import PageNotFound from './components/PageNotFound';
import ExampleComponent from './components/ExampleComponent';
import ExampleTwoDeepComponent from './components/ExampleTwoDeepComponent';
import Post from './components/Post';


const routes = (
    <Route path="/" mapMenuTitle="Home" component={App}>
        <IndexRoute component={Home} />

        <Route path="example" mapMenuTitle="Example" component={ExampleComponent}>
          <Route path="two-deep" mapMenuTitle="Two Deep" component={ExampleTwoDeepComponent} />
        </Route>
        <Route path="sample-post" mapMenuTitle="Sample post" component={Post} />
        <Route path="post/:category/:" mapMenuTitle="Post" component={PageNotFound} />

        <Route path="*" mapMenuTitle="Page Not Found" component={PageNotFound} />
    </Route>
);


render(
  <Router
    history={browserHistory}<commit_msg>Add route to a single post<commit_after>import React from 'react';
import { render } from 'react-dom';
import { Router, Route, IndexRoute, browserHistory } from 'react-router';
import 'current-input';

import App from './components/App';
import Home from './components/Home';
import PageNotFound from './components/PageNotFound';
import ExampleComponent from './components/ExampleComponent';
import ExampleTwoDeepComponent from './components/ExampleTwoDeepComponent';
import Post from './components/Post';


const routes = (
    <Route path="/" mapMenuTitle="Home" component={App}>
        <IndexRoute component={Home} />

        <Route path="example" mapMenuTitle="Example" component={ExampleComponent}>
          <Route path="two-deep" mapMenuTitle="Two Deep" component={ExampleTwoDeepComponent} />
        </Route>
        <Route path="posts/:category/:slug" component={Post} />

        <Route path="*" mapMenuTitle="Page Not Found" component={PageNotFound} />
    </Route>
);


render(
  <Router
    history={browserHistory}
{'fraction_non_alphanumeric': 0.1413296141329614, 'fraction_numerical': 0.0, 'mean_word_length': 4.5038363171355495, 'pattern_counts': {'":': 0, '<': 22, '<?xml version=': 0, '>': 20, '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': '2901513', 'n_tokens_mistral': 560, 'n_tokens_neox': 554, 'n_words': 154}