<commit_before>import React, { PropTypes as T, Component } from 'react';
import { connect } from 'react-redux';
import { Grid, Row, Col, PanelGroup, Panel } from 'react-bootstrap';

import { changeActivePanel } from '../actions';

import SearchContainer from '../../search/components/SearchContainer';
import ViewContainer from '../../view/components/ViewContainer';
import ReadmeContainer from '../../view/components/ReadmeContainer';
import ManageContainer from '../../manage/components/ManageContainer';

const INFO_COL_WIDTH = 3;
const DOC_COL_WIDTH = 9;

class BundleEditor extends Component {
  static propTypes = {
    activePanel: T.oneOf(['search', 'view', 'manage']).isRequired,
    onPanelSelect: T.func.isRequired,
  }
  render() {
    const { onPanelSelect, activePanel } = this.props;
    return (
      <Grid fluid style={{ height: '100%', padding: '1em 0' }}>
        <Col sm={INFO_COL_WIDTH}>
          <PanelGroup accordion activeKey={activePanel} onSelect={onPanelSelect} >
            <Panel bsStyle='primary' eventKey='search' header='Search'><SearchContainer/></Panel>
            <Panel bsStyle='primary' eventKey='view' header='View'><ViewContainer/></Panel>
            <Panel bsStyle='primary' eventKey='manage' header='Manage'><ManageContainer/></Panel>
          </PanelGroup>
        </Col>
        <Col sm={DOC_COL_WIDTH} style={{ maxHeight: '100%', overflowY: 'scroll' }}>
          <Row>
            <ReadmeContainer />
          </Row>
        </Col>
      </Grid>
    );
  }
}

export default connect(
  ({ main }) => main,
  {
    onPanelSelect: changeActivePanel,
  }
)(BundleEditor);
<commit_msg>Change readme overflowY to auto<commit_after>import React, { PropTypes as T, Component } from 'react';
import { connect } from 'react-redux';
import { Grid, Row, Col, PanelGroup, Panel } from 'react-bootstrap';

import { changeActivePanel } from '../actions';

import SearchContainer from '../../search/components/SearchContainer';
import ViewContainer from '../../view/components/ViewContainer';
import ReadmeContainer from '../../view/components/ReadmeContainer';
import ManageContainer from '../../manage/components/ManageContainer';

const INFO_COL_WIDTH = 3;
const DOC_COL_WIDTH = 9;

class BundleEditor extends Component {
  static propTypes = {
    activePanel: T.oneOf(['search', 'view', 'manage']).isRequired,
    onPanelSelect: T.func.isRequired,
  }
  render() {
    const { onPanelSelect, activePanel } = this.props;
    return (
      <Grid fluid style={{ height: '100%', padding: '1em 0' }}>
        <Col sm={INFO_COL_WIDTH}>
          <PanelGroup accordion activeKey={activePanel} onSelect={onPanelSelect} >
            <Panel bsStyle='primary' eventKey='search' header='Search'><SearchContainer/></Panel>
            <Panel bsStyle='primary' eventKey='view' header='View'><ViewContainer/></Panel>
            <Panel bsStyle='primary' eventKey='manage' header='Manage'><ManageContainer/></Panel>
          </PanelGroup>
        </Col>
        <Col sm={DOC_COL_WIDTH} style={{ maxHeight: '100%', overflowY: 'auto' }}>
          <Row>
            <ReadmeContainer />
          </Row>
        </Col>
      </Grid>
    );
  }
}

export default connect(
  ({ main }) => main,
  {
    onPanelSelect: changeActivePanel,
  }
)(BundleEditor);

{'fraction_non_alphanumeric': 0.15417428397318708, 'fraction_numerical': 0.006093845216331505, 'mean_word_length': 3.383177570093458, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 45, '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': '3219861', 'n_tokens_mistral': 969, 'n_tokens_neox': 950, 'n_words': 228}