<commit_before>import '~/assets/stylesheets/App.scss';
import React, { Component } from 'react';
import MinmaxInput from './MinmaxInput';
import MinmaxOutput from './MinmaxOutput';
import MinmaxHeader from './MinmaxHeader';
import Options from '../Options';

export default class Minmax extends Component {
  constructor() {
    super();

    const options = JSON.parse(localStorage.getItem('options')) || {};

    this.state = {
      name: '',
      level: 0,
      wild: false,
      options,
    };

    this.onNameChange = this.onNameChange.bind(this);
    this.onLevelChange = this.onLevelChange.bind(this);
    this.onWildChange = this.onWildChange.bind(this);
    this.onOptionChange = this.onOptionChange.bind(this);
  }

  componentDidMount() {
    document.title = 'iv.minmax';
  }

  onNameChange(name) {
    this.setState({
      name,
    });
  }

  onLevelChange(level) {
    this.setState({
      level,
    });
  }

  onOptionChange(options) {
    this.setState({
      options,
    });
  }

  onWildChange(wild) {
    this.setState({
      wild,
    });
  }

  render() {
    return (
			<div className="page">
          <MinmaxHeader onOptionChangeCB={this.onOptionChange} />
        <div className="middle-section">
          <MinmaxInput onNameChangeCB={this.onNameChange} onLevelChangeCB={this.onLevelChange}
            onWildChangeCB={this.onWildChange} />
        </div>
          <MinmaxOutput {...this.state} />
			</div>
		);
  }
}
<commit_msg>remove options from minmax main component<commit_after>import '~/assets/stylesheets/App.scss';
import React, { Component } from 'react';
import MinmaxInput from './MinmaxInput';
import MinmaxOutput from './MinmaxOutput';
import MinmaxHeader from './MinmaxHeader';

export default class Minmax extends Component {
  constructor() {
    super();

    const options = JSON.parse(localStorage.getItem('options')) || {};

    this.state = {
      name: '',
      level: 0,
      wild: false,
      options,
    };

    this.onNameChange = this.onNameChange.bind(this);
    this.onLevelChange = this.onLevelChange.bind(this);
    this.onWildChange = this.onWildChange.bind(this);
    this.onOptionChange = this.onOptionChange.bind(this);
  }

  componentDidMount() {
    document.title = 'iv.minmax';
  }

  onNameChange(name) {
    this.setState({
      name,
    });
  }

  onLevelChange(level) {
    this.setState({
      level,
    });
  }

  onOptionChange(options) {
    this.setState({
      options,
    });
  }

  onWildChange(wild) {
    this.setState({
      wild,
    });
  }

  render() {
    return (
			<div className="page">
          <MinmaxHeader onOptionChangeCB={this.onOptionChange} />
        <div className="middle-section">
          <MinmaxInput onNameChangeCB={this.onNameChange} onLevelChangeCB={this.onLevelChange}
            onWildChangeCB={this.onWildChange} />
        </div>
          <MinmaxOutput {...this.state} />
			</div>
		);
  }
}

{'fraction_non_alphanumeric': 0.14227365554799182, 'fraction_numerical': 0.0006807351940095302, 'mean_word_length': 2.763124199743918, 'pattern_counts': {'":': 0, '<': 17, '<?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': '5694050', 'n_tokens_mistral': 958, 'n_tokens_neox': 921, 'n_words': 161}