<commit_before>import React, { Component, PropTypes } from "react"
import Helmet from "react-helmet"
import Hero from "../../Hero"

import styles from "./index.css"

export default class PageError extends Component {
  static propTypes = {
    error: PropTypes.number,
    errorText: PropTypes.string,
  };

  static defaultProps = {
    error: 404,
    errorText: "Page Not Found",
  };

  render() {
    const {
      error,
      errorText,
    } = this.props

    return (
      <main>

        <Helmet
          title={ `${error} - ${errorText}` }
        />

        <div className={ styles.hero }>
          <Hero />
        </div>

        <div className={ styles.inner }>
          <h2>{ 'Whooops!' }</h2>
            <p>
              <strong>{ error }</strong>
              { ' ' }
              { errorText }<commit_msg>Added some cleanup markup for ErrorPage<commit_after>import React, { Component, PropTypes } from "react"
import Helmet from "react-helmet"
import Hero from "../../Hero"

import styles from "./index.css"

export default class PageError extends Component {
  static propTypes = {
    error: PropTypes.number,
    errorText: PropTypes.string,
  };

  static defaultProps = {
    error: 404,
    errorText: "Page Not Found",
  };

  render() {
    const {
      error,
      errorText,
    } = this.props

    return (
      <main>

        <Helmet
          title={ `${error} - ${errorText}` }
        />

        <Hero />

        <div className={ styles.inner }>
          <h2>{ 'Whooops!' }</h2>
            <p>
              <strong>{ error }</strong>
              { ' ' }
              { errorText }
{'fraction_non_alphanumeric': 0.1363914373088685, 'fraction_numerical': 0.0061162079510703364, 'mean_word_length': 1.8255613126079446, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '6068687', 'n_tokens_mistral': 496, 'n_tokens_neox': 488, 'n_words': 131}