<commit_before>import React from 'react';

class InputField extends React.PureComponent {
    render() {
        return (
            <div className={`input-field ${this.props.className ? this.props.className : ''}`}>
                {!!this.props.label &&
                    <label htmlFor={this.props.text} className='input-label'>{this.props.label}</label>
                }
                {this.props.prefix ?
                    <i><span className={`symbols ${this.props.prefix.toLowerCase()}`} /></i>
                :
                undefined
                }
                <input
                    type={this.props.type}
                    name={this.props.name}
                    step={this.props.is_currency ? '0.01' : undefined}
                    placeholder={this.props.placeholder || undefined}
                    disabled={this.props.is_disabled}<commit_msg>fixed inputfield component<commit_after>import React from 'react';

class InputField extends React.PureComponent {
    render() {
        return (
            <div className={`input-field ${this.props.className ? this.props.className : ''}`}>
                {!!this.props.label &&
                    <label htmlFor={this.props.name} className='input-label'>{this.props.label}</label>
                }
                {this.props.prefix ?
                    <i><span className={`symbols ${this.props.prefix.toLowerCase()}`} /></i>
                :
                undefined
                }
                <input
                    type={this.props.type}
                    name={this.props.name}
                    step={this.props.is_currency ? '0.01' : undefined}
                    placeholder={this.props.placeholder || undefined}
                    disabled={this.props.is_disabled}
{'fraction_non_alphanumeric': 0.13109243697478992, 'fraction_numerical': 0.0033613445378151263, 'mean_word_length': 1.5049088359046283, 'pattern_counts': {'":': 0, '<': 17, '<?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': '5217561', 'n_tokens_mistral': 462, 'n_tokens_neox': 436, 'n_words': 67}