<commit_before>import * as React from 'react';
import Dialog from 'material-ui/Dialog';
import FlatButton from 'material-ui/FlatButton';

interface Props {
  open: boolean;
  msg: string;
  onClose: Function;
}

class ErrorDialog extends React.Component<Props, null> {
  render() {
    console.log(this.props);
    const actions = [(
      <FlatButton
        label="OK"
        primary
        onTouchTap={() => this.props.onClose()}
      />
    )];

    return (
      <div>
        <Dialog
          actions={actions}
          modal={false}
          open={this.props.open}
          onRequestClose={() => this.props.onClose()}
        >
          {this.props.msg}
        </Dialog>
      </div>
    );<commit_msg>remove log<commit_after>import * as React from 'react';
import Dialog from 'material-ui/Dialog';
import FlatButton from 'material-ui/FlatButton';

interface Props {
  open: boolean;
  msg: string;
  onClose: Function;
}

class ErrorDialog extends React.Component<Props, null> {
  render() {
    const actions = [(
      <FlatButton
        label="OK"
        primary
        onTouchTap={() => this.props.onClose()}
      />
    )];

    return (
      <div>
        <Dialog
          actions={actions}
          modal={false}
          open={this.props.open}
          onRequestClose={() => this.props.onClose()}
        >
          {this.props.msg}
        </Dialog>
      </div>
    );
{'fraction_non_alphanumeric': 0.1386913229018492, 'fraction_numerical': 0.0, 'mean_word_length': 2.0923076923076924, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 19, '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': '3805673', 'n_tokens_mistral': 428, 'n_tokens_neox': 427, 'n_words': 92}