<commit_before>import React, {PropTypes, Component} from 'react';
import Oscillator from '../oscillator';

class Controller extends Component {
  constructor(props, context) {
    super(props, context);
  }

  handleOscillatorAdd() {
    this.props.actions.addOscillator();
  }

  render() {
    const {oscillators, actions, audioContext} = this.props;

    return (
      <div className='controller'>
        <button className='btn btn--action' onClick={this.handleOscillatorAdd.bind(this)}>Add Oscillator</button>

        <div>
          {oscillators.map(oscillator =>
            <Oscillator key={oscillator.id} actions={actions} audioContext={audioContext} oscillator={oscillator}/>
          )}
        </div>
      </div>
    );
  }<commit_msg>remove add osc button<commit_after>import React, {PropTypes, Component} from 'react';
import Oscillator from '../oscillator';

class Controller extends Component {
  constructor(props, context) {
    super(props, context);
  }

  render() {
    const {oscillators, actions, audioContext} = this.props;

    return (
      <div className='controller'>
        <div>
          {oscillators.map(oscillator =>
            <Oscillator key={oscillator.id} actions={actions} audioContext={audioContext} oscillator={oscillator}/>
          )}
        </div>
      </div>
    );
  }
{'fraction_non_alphanumeric': 0.1351963746223565, 'fraction_numerical': 0.0, 'mean_word_length': 3.127725856697819, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 17, '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': '1866614', 'n_tokens_mistral': 404, 'n_tokens_neox': 385, 'n_words': 82}