<commit_before>import { get } from "lodash-es";
import React from "react";
import { connect } from "react-redux";
import { pushState } from "../../app/actions";
import { Modal, ModalHeader } from "../../base";
import { routerLocationHasState } from "../../utils/utils";
import { createLabel } from "../actions";
import { LabelForm } from "./Form";

export class CreateLabel extends React.Component {
    constructor(props) {
        super(props);
        this.state = {
            name: "",
            color: "",
            description: "",
            errorName: "",
            errorColor: ""
        };
    }

    handleChange = (name, value) => {<commit_msg>Change initial color in sample label creator<commit_after>import { get } from "lodash-es";
import React from "react";
import { connect } from "react-redux";
import { pushState } from "../../app/actions";
import { Modal, ModalHeader } from "../../base";
import { routerLocationHasState } from "../../utils/utils";
import { createLabel } from "../actions";
import { LabelForm } from "./Form";

export class CreateLabel extends React.Component {
    constructor(props) {
        super(props);
        this.state = {
            name: "",
            color: "#3C8786",
            description: "",
            errorName: "",
            errorColor: ""
        };
    }

    handleChange = (name, value) => {
{'fraction_non_alphanumeric': 0.1600877192982456, 'fraction_numerical': 0.003654970760233918, 'mean_word_length': 2.314769975786925, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '7576827', 'n_tokens_mistral': 366, 'n_tokens_neox': 365, 'n_words': 105}