<commit_before>import * as React from 'react';

type Props = {
};
type State = {
  count: number;
};

export class Counter extends React.Component<Props, State> {
  interval: any;
  state = { count: 0 };

  componentWillMount() {
    const incrementCounter = () => {
      this.setState({ count: this.state.count + 1 });
    };
    this.interval = setInterval(incrementCounter, 1000);
  }

  componentWillUnmount() {
    clearInterval(this.interval);
  }

  render() {
    return (
      <div>
        <div>Counter: {this.state.count}</div>
      </div>
    );
  }
}

export default Counter;<commit_msg>fix formatting<commit_after>import * as React from 'react';

type Props = {
};
type State = {
  count: number,
};

export class Counter extends React.Component<Props, State> {
  interval: any;
  state = { count: 0 };

  componentWillMount() {
    const incrementCounter = () => {
      this.setState({ count: this.state.count + 1 });
    };
    this.interval = setInterval(incrementCounter, 1000);
  }

  componentWillUnmount() {
    clearInterval(this.interval);
  }

  render() {
    return (
      <div>
        <div>Counter: {this.state.count}</div>
      </div>
    );
  }
}

export default Counter;
{'fraction_non_alphanumeric': 0.14747307373653687, 'fraction_numerical': 0.009942004971002486, 'mean_word_length': 2.8967741935483873, 'pattern_counts': {'":': 0, '<': 13, '<?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': '3047973', 'n_tokens_mistral': 405, 'n_tokens_neox': 382, 'n_words': 86}