<commit_before>import React, { Component } from 'react'

class SendGameMessage extends Component {
  constructor (props) {
    super(props)
    this.state = {
      message: ''
    }

    this.handleInputChange = this.handleInputChange.bind(this)
    this.handleSubmit = this.handleSubmit.bind(this)
  }

  handleSubmit (e) {
    e.preventDefault()
    this.props.sendMessage(this.state.message)
  }

  handleInputChange (e) {
    e.preventDefault()
    this.setState({[e.target.name]: e.target.value})
  }

  render () {
    return (
      <div>

      <form className='form-horizontal' onSubmit={this.handleSubmit}>
        <div className='form-group'>
          <label className='control-label col-sm-2'>Send a message</label>
          <div className='col-sm-8'>
            <input name='message' type='text' className='form-control' value={this.state.message} onChange={this.handleInputChange} placeholder='Write something' />
          </div>
          <div className='col-sm-2'>
            <button type='submit' className='btn btn-default'>Send</button>
          </div>
        </div>
      </form><commit_msg>corrected indentation<commit_after>import React, { Component } from 'react'

class SendGameMessage extends Component {
  constructor (props) {
    super(props)
    this.state = {
      message: ''
    }

    this.handleInputChange = this.handleInputChange.bind(this)
    this.handleSubmit = this.handleSubmit.bind(this)
  }

  handleSubmit (e) {
    e.preventDefault()
    this.props.sendMessage(this.state.message)
  }

  handleInputChange (e) {
    e.preventDefault()
    this.setState({[e.target.name]: e.target.value})
  }

  render () {
    return (
      <div>

        <form className='form-horizontal' onSubmit={this.handleSubmit}>
          <div className='form-group'>
            <label className='control-label col-sm-2'>Send a message</label>
            <div className='col-sm-8'>
              <input name='message' type='text' className='form-control' value={this.state.message} onChange={this.handleInputChange} placeholder='Write something' />
            </div>
            <div className='col-sm-2'>
              <button type='submit' className='btn btn-default'>Send</button>
            </div>
          </div>
        </form>
{'fraction_non_alphanumeric': 0.14285714285714285, 'fraction_numerical': 0.0026455026455026454, 'mean_word_length': 2.731907894736842, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '3283347', 'n_tokens_mistral': 668, 'n_tokens_neox': 663, 'n_words': 120}