<commit_before>import React from 'react';
import { Route, Link } from 'react-router-dom';
import {
  skillTraitNames,
  skillTraitDisplayNameOverride,
  backgroundTraitNames,
  backgroundTraitDisplayNameOverride
} from '../constants/characterOptions';
import ClanContainer from '../containers/ClanContainer';
import ArchetypeContainer from '../containers/ArchetypeContainer';
import AttributesContainer from '../containers/AttributesContainer';
import TraitCategoryContainer from '../containers/TraitCategoryContainer';
import DisciplinesContainer from '../containers/DisciplinesContainer';
import MeritsFlawsContainer from '../containers/MeritsFlawsContainer';
import XPContainer from '../containers/XPContainer';
import BloodContainer from '../containers/BloodContainer';
import PencilEraserContainer from '../containers/PencilEraserContainer';
import MoralityContainer from '../containers/MoralityContainer';
import Section from '../components/Section';

const skills = (
  <TraitCategoryContainer
    categoryName="skills"
    traitNames={skillTraitNames}
    traitDisplayNameOverride={skillTraitDisplayNameOverride}
  />
);

const backgrounds = (
  <TraitCategoryContainer
    categoryName="backgrounds"
    traitNames={backgroundTraitNames}
    traitDisplayNameOverride={backgroundTraitDisplayNameOverride}
  />
);

const disciplines = (
  <div>
    <DisciplinesContainer affinity="inClan" />
    <hr />
    <DisciplinesContainer affinity="outOfClan" />
  </div>
);

const meritsFlaws = (
  <div>
    <MeritsFlawsContainer type="merits" />
    <hr />
    <MeritsFlawsContainer type="flaws" />
  </div>
);

const App = () => (
  <div className="container-fluid">
    <h1>Embracer</h1>
    <Section header="Character">
      <ArchetypeContainer />
      <ClanContainer />
      <PencilEraserContainer />
    </Section>
    <XPContainer />
    <BloodContainer />
    <hr />
    <Link to="/">Attributes</Link> |
    <Link to="/skills">Skills</Link> |
    <Link to="/backgrounds">Backgrounds</Link> |
    <Link to="/disciplines">Disciplines</Link> |
    <Link to="/merits_flaws">Merits / Flaws</Link> |
    <Link to="/morality">Morality</Link>
    <Route exact path="/" component={AttributesContainer} />
    <Route path="/skills" render={() => skills} />
    <Route path="/backgrounds" render={() => backgrounds} />
    <Route path="/disciplines" render={() => disciplines} />
    <Route path="/merits_flaws" render={() => meritsFlaws} />
    <Route path="/morality" component={MoralityContainer} />
  </div>
);

export default App;<commit_msg>Revise to single page with no routing<commit_after>import React from 'react';
import {
  skillTraitNames,
  skillTraitDisplayNameOverride,
  backgroundTraitNames,
  backgroundTraitDisplayNameOverride
} from '../constants/characterOptions';
import ClanContainer from '../containers/ClanContainer';
import ArchetypeContainer from '../containers/ArchetypeContainer';
import AttributesContainer from '../containers/AttributesContainer';
import TraitCategoryContainer from '../containers/TraitCategoryContainer';
import DisciplinesContainer from '../containers/DisciplinesContainer';
import MeritsFlawsContainer from '../containers/MeritsFlawsContainer';
import XPContainer from '../containers/XPContainer';
import BloodContainer from '../containers/BloodContainer';
import PencilEraserContainer from '../containers/PencilEraserContainer';
import MoralityContainer from '../containers/MoralityContainer';
import Section from '../components/Section';

const App = () => (
  <div className="container-fluid">
    <h1>Embracer</h1>
    <Section header="Character">
      <ArchetypeContainer />
      <ClanContainer />
      <PencilEraserContainer />
    </Section>
    <XPContainer />
    <AttributesContainer />
    <TraitCategoryContainer
      categoryName="skills"
      traitNames={skillTraitNames}
      traitDisplayNameOverride={skillTraitDisplayNameOverride}
    />

    <div className="row">
      <div className="col-sm-7">
        <div className="container-fluid">
          <TraitCategoryContainer
            categoryName="backgrounds"
            traitNames={backgroundTraitNames}
            traitDisplayNameOverride={backgroundTraitDisplayNameOverride}
          />
        </div>
      </div>
      <div className="col-sm-5">
        <div className="container-fluid">
          <DisciplinesContainer affinity="inClan" />
          <DisciplinesContainer affinity="outOfClan" />
        </div>
      </div>
    </div>
    <div className="row">
      <div className="col-sm-6">
        <div className="container-fluid">
          <MeritsFlawsContainer type="merits" />
        </div>
      </div>
      <div className="col-sm-6">
        <div className="container-fluid">
          <MeritsFlawsContainer type="flaws" />
        </div>
      </div>
    </div>

    <div className="row">
      <div className="col-sm-6">
        <div className="container-fluid">
          <BloodContainer />
        </div>
      </div>
      <div className="col-sm-6">
        <div className="container-fluid">
          <MoralityContainer />
        </div>
      </div>
    </div>
  </div>
);

export default App;
{'fraction_non_alphanumeric': 0.13616938616938618, 'fraction_numerical': 0.0019425019425019425, 'mean_word_length': 3.6471119133574006, 'pattern_counts': {'":': 0, '<': 94, '<?xml version=': 0, '>': 100, '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': '5071971', 'n_tokens_mistral': 1466, 'n_tokens_neox': 1450, 'n_words': 284}