<commit_before>var React = require('react');

class CheckboxOptionsInput extends React.Component {

  constructor(props) {
    super(props);

    this.state = {
      value : this.props.value
    };<commit_msg>checkboxOptionsInput - Clone the value state to avoid any issues with values combining.<commit_after>var React = require('react');

var CloneArray = require('../lib/cloneArray');

class CheckboxOptionsInput extends React.Component {

  constructor(props) {
    super(props);

    this.state = {
      value : this.props.value.length > 0
                ? cloneArray(this.props.value)
                : []
    };
{'fraction_non_alphanumeric': 0.11594202898550725, 'fraction_numerical': 0.001610305958132045, 'mean_word_length': 3.0129032258064514, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '3297657', 'n_tokens_mistral': 176, 'n_tokens_neox': 168, 'n_words': 40}