<commit_before>import React, {Component} from 'react';
import PropTypes from 'prop-types';
import {Page} from "tabler-react";
import Convert from 'ansi-to-html';
const convert = new Convert();

class Process extends Component {
  render() {
    const {processLogs, process}= this.props;
    return (
      <Page.Content title={process.name}>
        <p className="text-capitalize">State: {process.state}</p>
        <div className="logs">
          {
            processLogs.map((item, i) => <p key={i} className={item.logLevel} dangerouslySetInnerHTML={{__html: convert.toHtml(item.msg)}}></p>)
          }
        </div>
      </Page.Content>
    );
  }
}

Process.propTypes = {
  process: PropTypes.object,
  processLogs: PropTypes.arrayOf(PropTypes.object)
};

export default Process;
<commit_msg>caapitalize  header correctly<commit_after>import React, {Component} from 'react';
import PropTypes from 'prop-types';
import {Page} from "tabler-react";
import Convert from 'ansi-to-html';
const convert = new Convert();

class Process extends Component {
  render() {
    const {processLogs, process}= this.props;
    return (
      <Page.Content>
        <Page.Header><Page.Title className="text-capitalize">{process.name}</Page.Title></Page.Header>
        <p className="text-capitalize">State: {process.state}</p>
        <div className="logs">
          {
            processLogs.map((item, i) => <p key={i} className={item.logLevel} dangerouslySetInnerHTML={{__html: convert.toHtml(item.msg)}}></p>)
          }
        </div>
      </Page.Content>
    );
  }
}

Process.propTypes = {
  process: PropTypes.object,
  processLogs: PropTypes.arrayOf(PropTypes.object)
};

export default Process;

{'fraction_non_alphanumeric': 0.15235294117647058, 'fraction_numerical': 0.0, 'mean_word_length': 3.4528795811518322, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 25, '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': '5610654', 'n_tokens_mistral': 519, 'n_tokens_neox': 525, 'n_words': 113}