<commit_before>import React from 'react';

import { IndexRedirect, Router, Route } from 'react-router';

import { browserHistory } from 'react-router';

// Import all pages
import App from 'pages/App/';
import CurrentPage from 'pages/CurrentReadingsPage/';
import HomePage from 'pages/HomePage/';
import RecentReadingsPage from 'pages/RecentReadingsPage';
import HistoryPage from 'pages/HistoryPage';

// Mind the order of routes: first match is served
const routes = (
    <Router history={ browserHistory }>
        <Route path="/" component={ App }>
            <IndexRedirect to="/home" />
            <Route path="/home" component={ HomePage } />
            <Route path="/current" component={ CurrentPage } />
            <Route path="/recent" component={ RecentReadingsPage } />
            <Route path="/history" component={ HistoryPage } />
        </Route>
    </Router>
);

export default routes;
<commit_msg>This hasn't been built yet, so do not include it<commit_after>import React from 'react';

import { IndexRedirect, Router, Route } from 'react-router';

import { browserHistory } from 'react-router';

// Import all pages
import App from 'pages/App/';
import CurrentPage from 'pages/CurrentReadingsPage/';
import HomePage from 'pages/HomePage/';
import RecentReadingsPage from 'pages/RecentReadingsPage';

// Mind the order of routes: first match is served
const routes = (
    <Router history={ browserHistory }>
        <Route path="/" component={ App }>
            <IndexRedirect to="/home" />
            <Route path="/home" component={ HomePage } />
            <Route path="/current" component={ CurrentPage } />
            <Route path="/recent" component={ RecentReadingsPage } />
        </Route>
    </Router>
);

export default routes;

{'fraction_non_alphanumeric': 0.1291053227633069, 'fraction_numerical': 0.0, 'mean_word_length': 3.278450363196126, 'pattern_counts': {'":': 0, '<': 20, '<?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': '2169408', 'n_tokens_mistral': 472, 'n_tokens_neox': 466, 'n_words': 157}