<commit_before>import Component from "./pure-render-component";

export default class Comparison extends Component{
  render(){
    var {state, Component, title, width} = this.props;
    var {data, yAxisRange, xAxisRange, criteriaNames} = state;
    return (
        <div className="row">
          <h3 className="page-header">{title}</h3>
          {data.map((datum, index) => (
              <div className="col-md-6">
                <Component
                    key={index}
                    yAxisRange={yAxisRange}
                    xAxisRange={xAxisRange}
                    data={datum}
                    pageHeaderTitle={false}
                    title={criteriaNames[index] || "Other"}
                    width={width}
                />
              </div>
          ))}
        </div>
    )
  }
}<commit_msg>OCVN-93 Fixed 2x2 section titles<commit_after>import Component from "./pure-render-component";

export default class Comparison extends Component{
  render(){
    var {state, Component, title, width} = this.props;
    var {data, yAxisRange, xAxisRange, criteriaNames} = state;
    return (
        <div>
          <h3 className="page-header">{title}</h3>
          <div className="row">
            {data.map((datum, index) => (
                <div className="col-md-6">
                  <Component
                      key={index}
                      yAxisRange={yAxisRange}
                      xAxisRange={xAxisRange}
                      data={datum}
                      pageHeaderTitle={false}
                      title={criteriaNames[index] || "Other"}
                      width={width}
                  />
                </div>
            ))}
          </div>
        </div>
    )
  }
}
{'fraction_non_alphanumeric': 0.12298850574712644, 'fraction_numerical': 0.005747126436781609, 'mean_word_length': 1.4147018030513177, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 21, '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': '4984478', 'n_tokens_mistral': 474, 'n_tokens_neox': 445, 'n_words': 92}