<commit_before>import React from 'react';

import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';

import TitleActions from '../state/title';

import css from './Input.less';

const Input = ({ title, actions }) => {
  return (
    <div class={css({ component: true, red: true })}>
      <label class={css.label}>Enter title</label>
      <input class={css.textbox} value={title} onChange={e => actions.changeTitle(e.target.value)} autoFocus /><commit_msg>Made the label red and not the component<commit_after>import React from 'react';

import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';

import TitleActions from '../state/title';

import css from './Input.less';

const Input = ({ title, actions }) => {
  return (
    <div class={css.component}>
      <label class={css({ label: true, red: true })}>Enter title</label>
      <input class={css.textbox} value={title} onChange={e => actions.changeTitle(e.target.value)} autoFocus />
{'fraction_non_alphanumeric': 0.16314199395770393, 'fraction_numerical': 0.0, 'mean_word_length': 4.344086021505376, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 15, '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': '1181430', 'n_tokens_mistral': 295, 'n_tokens_neox': 294, 'n_words': 88}