<commit_before>import React from 'react';
import './status-button.scss';
import classnames from 'classnames';

export default (props) => (
  <button className={classnames('button', `-${props.type}`)} onClick={() => props.setStatus(props.type)}>
    {props.type}
  </button>
);<commit_msg>Slices the last two characters off the button text<commit_after>import React from 'react';
import './status-button.scss';
import classnames from 'classnames';

export default (props) => (
  <button className={classnames('button', `-${props.type}`)} onClick={() => props.setStatus(props.type)}>
    // This technical debt was lovingly created by <NAME>
    // When we aren't in crisis mode, we should untangle this button name from the prop name
    {props.type.slice(0,-2)}
  </button>
);
{'fraction_non_alphanumeric': 0.163659793814433, 'fraction_numerical': 0.002577319587628866, 'mean_word_length': 4.842105263157895, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 12, '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': '6137', 'n_tokens_mistral': 230, 'n_tokens_neox': 232, 'n_words': 72}