<commit_before>import React, { PropTypes } from 'react';
import AppBar from 'material-ui/AppBar';
import Drawer from 'material-ui/Drawer';
import Menu from 'material-ui/Menu';
import CustomMenuItem from '../CustomMenuItem';
import './SidebarMenu.scss';

var menuStyle = {
  'overflow': 'hidden'
};

export default class SidebarMenu extends React.Component {
  static propTypes = {
    title:              PropTypes.string.isRequired,
    opened:             PropTypes.bool.isRequired,
    menus:              PropTypes.arrayOf(PropTypes.shape({
      id:                 PropTypes.number.isRequired,
      text:               PropTypes.string.isRequired,
      selected:           PropTypes.bool.isRequired
    }).isRequired).isRequired,
    onMenuClick:        PropTypes.func.isRequired,
    onToggleMenuClick:  PropTypes.func.isRequired
  };

  render () {
    return (
      <div>
        <Drawer
          docked={true}
          width={200}
          open={this.props.opened}
          onRequestChange={() => this.props.onToggleMenuClick()}
          containerStyle={menuStyle}
        >
          <AppBar
            title={this.props.title}
            iconClassNameLeft='fa fa-rocket'
            onClick={() => this.props.onToggleMenuClick()}
          />
          <Menu>
            {this.props.menus.map(menu =>
              <CustomMenuItem
                key={menu.id}
                id={menu.id}
                text={menu.text}
                link={menu.link}
                icon={menu.icon}
              />
            )}
          </Menu>
        </Drawer>
      </div>
    );
  }
}
<commit_msg>Update drawer to not be docked<commit_after>import React, { PropTypes } from 'react';
import AppBar from 'material-ui/AppBar';
import Drawer from 'material-ui/Drawer';
import Menu from 'material-ui/Menu';
import CustomMenuItem from '../CustomMenuItem';
import './SidebarMenu.scss';

var menuStyle = {
  'overflow': 'hidden'
};

export default class SidebarMenu extends React.Component {
  static propTypes = {
    title:              PropTypes.string.isRequired,
    opened:             PropTypes.bool.isRequired,
    menus:              PropTypes.arrayOf(PropTypes.shape({
      id:                 PropTypes.number.isRequired,
      text:               PropTypes.string.isRequired,
      selected:           PropTypes.bool.isRequired
    }).isRequired).isRequired,
    onMenuClick:        PropTypes.func.isRequired,
    onToggleMenuClick:  PropTypes.func.isRequired
  };

  render () {
    return (
      <div>
        <Drawer
          docked={false}
          width={200}
          open={this.props.opened}
          onRequestChange={() => this.props.onToggleMenuClick()}
          containerStyle={menuStyle}
        >
          <AppBar
            title={this.props.title}
            iconClassNameLeft='fa fa-rocket'
            onClick={() => this.props.onToggleMenuClick()}
          />
          <Menu>
            {this.props.menus.map(menu =>
              <CustomMenuItem
                key={menu.id}
                id={menu.id}
                text={menu.text}
                link={menu.link}
                icon={menu.icon}
              />
            )}
          </Menu>
        </Drawer>
      </div>
    );
  }
}

{'fraction_non_alphanumeric': 0.11800860479409957, 'fraction_numerical': 0.0018438844499078057, 'mean_word_length': 1.7125, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 25, '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': '3507427', 'n_tokens_mistral': 895, 'n_tokens_neox': 902, 'n_words': 163}