<commit_before>import React from 'react'

const Message = ({ hover, state }) => {
  switch (state.status) {
    case 'IDLE': return (
      <div>
        <h1>
          { hover ? 'Drop' : 'TEST' }
        </h1>
        <p className="detail">
          {`your files here to ${state.shifted ? 'convert' : 'add them'}`}
        </p>
      </div>
    )
    case 'CONVERTING': return (
      <div>
        <h1>
          Converting
        </h1>
        <p className="detail">(this should only take a sec)</p>
      </div>
    )
    case 'DONE': return (
      <div>
        <h1>
          Complete!
        </h1>
        <p className="detail">{`${state.fileName || 'File'} created`}</p>
      </div>
    )
    case 'FAILED': return (
      <div>
        <h1>
          Conversion failed
        </h1>
        <p className="detail">Uh oh, something went wrong 😕</p>
      </div>
    )
    default: return null
  }
}

export default Message
<commit_msg>Revert "Test commit"<commit_after>import React from 'react'

const Message = ({ hover, state }) => {
  switch (state.status) {
    case 'IDLE': return (
      <div>
        <h1>
          { hover ? 'Drop' : 'Drag & drop' }
        </h1>
        <p className="detail">
          {`your files here to ${state.shifted ? 'convert' : 'add them'}`}
        </p>
      </div>
    )
    case 'CONVERTING': return (
      <div>
        <h1>
          Converting
        </h1>
        <p className="detail">(this should only take a sec)</p>
      </div>
    )
    case 'DONE': return (
      <div>
        <h1>
          Complete!
        </h1>
        <p className="detail">{`${state.fileName || 'File'} created`}</p>
      </div>
    )
    case 'FAILED': return (
      <div>
        <h1>
          Conversion failed
        </h1>
        <p className="detail">Uh oh, something went wrong 😕</p>
      </div>
    )
    default: return null
  }
}

export default Message

{'fraction_non_alphanumeric': 0.1609014675052411, 'fraction_numerical': 0.008385744234800839, 'mean_word_length': 1.6186556927297668, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 53, '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': '4901660', 'n_tokens_mistral': 641, 'n_tokens_neox': 634, 'n_words': 163}