<commit_before>
import styles from "./style.css"
import React from 'react'
import EventTable from '../common/EventTable.jsx'
import Box from '../common/Box.jsx'
import Page from '../Page.jsx'
import * as Table from 'reactabular-table';


// competition/:competition_id/:competitor_id
export default class PageCompetitionHomeAdmin extends React.Component {
  constructor(props) {
    super(props)
    this.state = {
      /** We will populate this w/ data from the API */
      competition: null,
      competitor_events: [],
      competitor: [],

    }

    /** Take the competition ID from the URL (Router hands
    it to us; see the path for this Page on Router) and make
    sure it's an integer */
    try {this.competition_id = parseInt(this.props.params.competition_id)}
    catch (e) { alert('Invalid competition ID!') }
    try{this.competitor_id = parseInt(this.props.params.competitor_id)}
    catch (e) {alert('Invalid competitor ID!') }<commit_msg>minor update classname<commit_after>
import styles from "./style.css"
import React from 'react'
import EventTable from '../common/EventTable.jsx'
import Box from '../common/Box.jsx'
import Page from '../Page.jsx'
import * as Table from 'reactabular-table';


// competition/:competition_id/:competitor_id
export default class PageCompetition extends React.Component {
  constructor(props) {
    super(props)
    this.state = {
      /** We will populate this w/ data from the API */
      competition: null,
      competitor_events: [],
      competitor: [],

    }

    /** Take the competition ID from the URL (Router hands
    it to us; see the path for this Page on Router) and make
    sure it's an integer */
    try {this.competition_id = parseInt(this.props.params.competition_id)}
    catch (e) { alert('Invalid competition ID!') }
    try{this.competitor_id = parseInt(this.props.params.competitor_id)}
    catch (e) {alert('Invalid competitor ID!') }
{'fraction_non_alphanumeric': 0.11758584807492195, 'fraction_numerical': 0.0, 'mean_word_length': 3.4617169373549883, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4598688', 'n_tokens_mistral': 567, 'n_tokens_neox': 571, 'n_words': 182}