<commit_before>import React from 'react';
import { Route, IndexRoute } from 'react-router';

import { App } from './components/App';
import { Home } from './components/Home';
import DemoPage from './containers/Demo';
import LoginPage from './containers/LoginPage';
import { SignupPage } from './components/SignupPage';
import DashboardPage from './containers/DashboardPage';
import AddDevicePage from './containers/AddDevicePage';
import SetupDevicePage from './containers/SetupDevicePage';
import DeviceProfilePage from './containers/DeviceProfilePage';
import HomeUsage from './components/HomeUsage';
import JoinRentalPage from './containers/JoinRentalPage';
import DevicePage from './containers/DevicePage';
import Logout from './components/Logout';
import { requireAuthentication } from './containers/requireAuthentication';

export default (
  <Route path="/" component={App}>
    <IndexRoute component={Home} />
    <Route path="/demo" component={DemoPage} />
    <Route path="/login" component={LoginPage} />
    <Route path="/signup" component={SignupPage} />
    <Route path="/dashboard" component={requireAuthentication(DashboardPage)} />
    <Route path="/add-device" component={requireAuthentication(AddDevicePage)} />
    <Route path="/setup-device" component={requireAuthentication(SetupDevicePage)} />
    <Route path="/device-profile" component={requireAuthentication(DeviceProfilePage)} />
    <Route path="/home-usage" component={requireAuthentication(HomeUsage)} />
    <Route path="/join-rental" component={requireAuthentication(JoinRentalPage)} />
    <Route path="/device" component={requireAuthentication(DevicePage)} /><commit_msg>Make container name match route<commit_after>import React from 'react';
import { Route, IndexRoute } from 'react-router';

import { App } from './components/App';
import { Home } from './components/Home';
import Demo from './containers/Demo';
import LoginPage from './containers/LoginPage';
import { SignupPage } from './components/SignupPage';
import DashboardPage from './containers/DashboardPage';
import AddDevicePage from './containers/AddDevicePage';
import SetupDevicePage from './containers/SetupDevicePage';
import DeviceProfilePage from './containers/DeviceProfilePage';
import HomeUsage from './components/HomeUsage';
import JoinRentalPage from './containers/JoinRentalPage';
import DevicePage from './containers/DevicePage';
import Logout from './components/Logout';
import { requireAuthentication } from './containers/requireAuthentication';

export default (
  <Route path="/" component={App}>
    <IndexRoute component={Home} />
    <Route path="/demo" component={Demo} />
    <Route path="/login" component={LoginPage} />
    <Route path="/signup" component={SignupPage} />
    <Route path="/dashboard" component={requireAuthentication(DashboardPage)} />
    <Route path="/add-device" component={requireAuthentication(AddDevicePage)} />
    <Route path="/setup-device" component={requireAuthentication(SetupDevicePage)} />
    <Route path="/device-profile" component={requireAuthentication(DeviceProfilePage)} />
    <Route path="/home-usage" component={requireAuthentication(HomeUsage)} />
    <Route path="/join-rental" component={requireAuthentication(JoinRentalPage)} />
    <Route path="/device" component={requireAuthentication(DevicePage)} />
{'fraction_non_alphanumeric': 0.14457831325301204, 'fraction_numerical': 0.0, 'mean_word_length': 5.819301848049282, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, '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': '174725', 'n_tokens_mistral': 839, 'n_tokens_neox': 839, 'n_words': 208}