<commit_before>import Slideshow from './Slideshow';
import { sendEvent } from '../utilities/Analytics';

const React = require('react');

/**
 * Onboarding Component
 * <Onboarding />
 */
class Onboarding extends React.Component {
  constructor(props) {
    super(props);

    this.state = {
      closed: false,
    };

    sendEvent('Onboarding', 'Displayed to user');

    // Bind `this` to event handlers.
    this.close = this.close.bind(this);
  }

  close() {
    this.setState({closed: true});
  }

  render() {
    if (this.state.closed === true) {
      return null;
    }

    return (
      <div id="onboarding" className="onboarding -modal">
        <div className="wrapper">
          <Slideshow {...this.props} />

          <button className="onboarding__close-button" title="close" onClick={this.close}>&times;</button>
        </div>
      </div>
    );
  }
}

export default Onboarding;<commit_msg>Removes testing work<commit_after>import Slideshow from './Slideshow';
import { sendEvent } from '../utilities/Analytics';

const React = require('react');

/**
 * Onboarding Component
 * <Onboarding />
 */
class Onboarding extends React.Component {
  constructor(props) {
    super(props);

    this.state = {
      closed: false,
    };

    sendEvent('Onboarding', 'Displayed to user');

    // Bind `this` to event handlers.
    this.close = this.close.bind(this);
  }

  close() {
    this.setState({closed: true});
  }

  render() {
    if (this.state.closed === true) {
      return null;
    }

    return (
      <div id="onboarding" className="onboarding">
        <div className="wrapper">
          <Slideshow {...this.props} />

          <button className="onboarding__close-button" title="close" onClick={this.close}>&times;</button>
        </div>
      </div>
    );
  }
}

export default Onboarding;
{'fraction_non_alphanumeric': 0.15866957470010906, 'fraction_numerical': 0.0, 'mean_word_length': 2.707070707070707, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '2562808', 'n_tokens_mistral': 586, 'n_tokens_neox': 554, 'n_words': 122}