<commit_before>/** @jsx React.DOM */

var React      = require('react');
var classnames = require('classnames');

var guid = 0;
var noop = function(){};
var ComboboxOption = require('./option');

module.exports = React.createClass({
  propTypes: {
    /**
     * Defaults to 'both'. 'inline' will autocomplete the first matched Option
     * into the input value, 'list' will display a list of choices, and of
     * course, both does both (do you have a soft 'L' in there when you say
     * "both" out loud?)
    */
    autocomplete: React.PropTypes.oneOf(['both', 'inline', 'list']),

    /**
     * Called when the combobox receives user input, this is your chance to
     * filter the data and rerender the options.
     *
     * Signature:
     *
     * ```js
     * function(userInput){}
     * ```
    */
    onInput: React.PropTypes.func,

    /**
     * Called when the combobox receives a selection. You probably want to reset
     * the options to the full list at this point.
     *
     * Signature:
     *
     * ```js
     * function(selectedValue){}
     * ```
    */
    onSelect: React.PropTypes.func,

    /**
     * The initial value of the component.
    */
    value: React.PropTypes.any,

    /**
     * classes for input
     */
    inputClass: React.PropTypes.string,

    /*
     * Placeholder on input element
     */
    placeholder: React.propTypes.string
  },

  getDefaultProps: function() {
    return {
      autocomplete: 'both',
      placeholder: 'Search',
      onInput: noop,
      onSelect: noop,
      value: null
    };
  },

  getInitialState: function() {<commit_msg>syntax error, need to configure a simple test<commit_after>/** @jsx React.DOM */

var React      = require('react');
var classnames = require('classnames');

var guid = 0;
var noop = function(){};
var ComboboxOption = require('./option');

module.exports = React.createClass({
  propTypes: {
    /**
     * Defaults to 'both'. 'inline' will autocomplete the first matched Option
     * into the input value, 'list' will display a list of choices, and of
     * course, both does both (do you have a soft 'L' in there when you say
     * "both" out loud?)
    */
    autocomplete: React.PropTypes.oneOf(['both', 'inline', 'list']),

    /**
     * Called when the combobox receives user input, this is your chance to
     * filter the data and rerender the options.
     *
     * Signature:
     *
     * ```js
     * function(userInput){}
     * ```
    */
    onInput: React.PropTypes.func,

    /**
     * Called when the combobox receives a selection. You probably want to reset
     * the options to the full list at this point.
     *
     * Signature:
     *
     * ```js
     * function(selectedValue){}
     * ```
    */
    onSelect: React.PropTypes.func,

    /**
     * The initial value of the component.
    */
    value: React.PropTypes.any,

    /**
     * classes for input
     */
    inputClass: React.PropTypes.string,

    /*
     * Placeholder on input element
     */
    placeholder: React.PropTypes.string
  },

  getDefaultProps: function() {
    return {
      autocomplete: 'both',
      placeholder: 'Search',
      onInput: noop,
      onSelect: noop,
      value: null
    };
  },

  getInitialState: function() {
{'fraction_non_alphanumeric': 0.12569145666871542, 'fraction_numerical': 0.0006146281499692685, 'mean_word_length': 2.307926829268293, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1495606', 'n_tokens_mistral': 990, 'n_tokens_neox': 958, 'n_words': 307}