<commit_before>import React from 'react';
import { configure, addDecorator } from '@kadira/storybook';

// CSS
import 'bootstrap-loader';
import '../src/styles/core.scss';

// Load all files ending in Stories.js
const req = require.context('../src/', true, /Stories\.js$/);

// Wrap all components in a container, and vertically center them.
// TODO: Upgrade Storybook when https://github.com/kadirahq/react-storybook/issues/284 is fixed
// (Currently applies decorator on every HMR reload)
addDecorator(story => (
  <div className="container">
    <div className="row storybook-container">
      {story()}
    </div>
  </div>
));

configure(() => {
  req.keys().forEach(req);
}, module);
<commit_msg>removes TODO comment for #2<commit_after>import React from 'react';
import { configure, addDecorator } from '@kadira/storybook';

// CSS
import 'bootstrap-loader';
import '../src/styles/core.scss';

// Load all files ending in Stories.js
const req = require.context('../src/', true, /Stories\.js$/);

// Wrap all components in a container, and vertically center them.
addDecorator(story => (
  <div className="container">
    <div className="row storybook-container">
      {story()}
    </div>
  </div>
));

configure(() => {
  req.keys().forEach(req);
}, module);

{'fraction_non_alphanumeric': 0.1696921862667719, 'fraction_numerical': 0.0031570639305445935, 'mean_word_length': 3.8957528957528957, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 15, 'https://': 1, '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': '2806640', 'n_tokens_mistral': 403, 'n_tokens_neox': 394, 'n_words': 112}