<commit_before>import React, {Component} from 'react';
// Material UI components:
import Paper from 'material-ui/Paper';
import RaisedButton from 'material-ui/RaisedButton';
// Timeline components:
import Timeline from 'react-calendar-timeline';
import moment from 'moment';

import './TimelinePanel.css';

class TimelinePanel extends Component {
  constructor(props) {
    super(props);

    this.state = {
        groups: [
            {id: 1, title: 'Adriamycin', canMove: false, canResize: false, canChangeGroup: false},
            {id: 2, title: 'Cytoxin', canMove: false, canResize: false, canChangeGroup: false},
            {id: 3, title: 'Tamoxifen', canMove: false, canResize: false, canChangeGroup: false},
            {id: 4, title: 'Letrozole', canMove: false, canResize: false, canChangeGroup: false},
            {id: 5, title: 'Coumadin', canMove: false, canResize: false, canChangeGroup: false},
            {id: 6, title: 'Aromaysin25', canMove: false, canResize: false, canChangeGroup: false}
        ],
        items: [
            {id: 1, group: 1, title: 'Adriamycin', start_time: moment("20110501"), end_time: moment("20110501").add(1, 'year')},
            {id: 2, group: 2, title: 'Cytoxin', start_time: moment("20110501"), end_time: moment("20110501").add(1, 'year')},
            {id: 3, group: 3, title: 'Tamoxifen', start_time: moment("20131101"), end_time: moment("20160813")},
            {id: 4, group: 4, title: 'Letrozole', start_time: moment("20150110"), end_time: moment("20150110").add(1, 'year')},
            {id: 5, group: 5, title: 'Coumadin', start_time: moment("20150805"), end_time: moment("20150805").add(4, 'months')},
            {id: 6, group: 6, title: 'Aromaysin25', start_time: moment("20161220"), end_time: moment()}
        ],
        defaultTimeStart: moment("20110501"),
        defaultTimeEnd: moment().add(1, 'month'),
        timeSteps: {
          day: 1,
          month: 1,
          year: 1
        }
    };
  }

  render() {
    return (
      <Paper className="timeline-paper">
        <Timeline
            groups={this.state.groups}
            items={this.state.items}
            defaultTimeStart={this.state.defaultTimeStart}
            defaultTimeEnd={this.state.defaultTimeEnd}
            rightSidebarWidth={0}
            rightSidebarContent={null}
            leftSidebarWidth={0}
            leftSidebarContent={null}
            timeSteps={this.state.timeSteps}
        />
      </Paper>
    )
  }
}
<commit_msg>suppressed left sidebar by fixing name of component properties<commit_after>import React, {Component} from 'react';
// Material UI components:
import Paper from 'material-ui/Paper';
import RaisedButton from 'material-ui/RaisedButton';
// Timeline components:
import Timeline from 'react-calendar-timeline';
import moment from 'moment';

import './TimelinePanel.css';

class TimelinePanel extends Component {
  constructor(props) {
    super(props);

    this.state = {
        groups: [
            {id: 1, title: 'Adriamycin', canMove: false, canResize: false, canChangeGroup: false},
            {id: 2, title: 'Cytoxin', canMove: false, canResize: false, canChangeGroup: false},
            {id: 3, title: 'Tamoxifen', canMove: false, canResize: false, canChangeGroup: false},
            {id: 4, title: 'Letrozole', canMove: false, canResize: false, canChangeGroup: false},
            {id: 5, title: 'Coumadin', canMove: false, canResize: false, canChangeGroup: false},
            {id: 6, title: 'Aromaysin25', canMove: false, canResize: false, canChangeGroup: false}
        ],
        items: [
            {id: 1, group: 1, title: 'Adriamycin', start_time: moment("20110501"), end_time: moment("20110501").add(1, 'year')},
            {id: 2, group: 2, title: 'Cytoxin', start_time: moment("20110501"), end_time: moment("20110501").add(1, 'year')},
            {id: 3, group: 3, title: 'Tamoxifen', start_time: moment("20131101"), end_time: moment("20160813")},
            {id: 4, group: 4, title: 'Letrozole', start_time: moment("20150110"), end_time: moment("20150110").add(1, 'year')},
            {id: 5, group: 5, title: 'Coumadin', start_time: moment("20150805"), end_time: moment("20150805").add(4, 'months')},
            {id: 6, group: 6, title: 'Aromaysin25', start_time: moment("20161220"), end_time: moment()}
        ],
        defaultTimeStart: moment("20110501"),
        defaultTimeEnd: moment().add(1, 'month'),
        timeSteps: {
          day: 1,
          month: 1,
          year: 1
        }
    };
  }

  render() {
    return (
      <Paper className="timeline-paper">
        <Timeline
            groups={this.state.groups}
            items={this.state.items}
            defaultTimeStart={this.state.defaultTimeStart}
            defaultTimeEnd={this.state.defaultTimeEnd}
            rightSidebarWidth={0}
            rightSidebarContent={null}
            sidebarWidth={0}
            sidebarContent={null}
            timeSteps={this.state.timeSteps}
        />
      </Paper>
    )
  }
}

{'fraction_non_alphanumeric': 0.14977096195976897, 'fraction_numerical': 0.05098585939055965, 'mean_word_length': 2.8601076095311297, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '7182325', 'n_tokens_mistral': 1759, 'n_tokens_neox': 1565, 'n_words': 384}