<commit_before>import React, { PropTypes } from 'react'
import classnames from 'classnames'
import IncidentDialog, { incidentDialogType } from 'components/adminPage/IncidentDialog'
import IncidentItem from 'components/adminPage/IncidentItem'
import FoolproofDialog from 'components/adminPage/FoolproofDialog'
import Button from 'components/common/Button'
import ErrorMessage from 'components/common/ErrorMessage'
import { innerDialogID } from 'utils/dialog'
import { getIncidentColor } from 'utils/status'
import classes from './Incidents.scss'

const dialogType = {
  none: 0,
  add: 1,
  update: 2,
  delete: 3
}

export default class Incidents extends React.Component {
  static propTypes = {
    incidents: PropTypes.arrayOf(PropTypes.shape({
      incidentID: PropTypes.string.isRequired,
      name: PropTypes.string.isRequired,<commit_msg>Fix lint error<commit_after>import React, { PropTypes } from 'react'
import classnames from 'classnames'
import IncidentDialog, { incidentDialogType } from 'components/adminPage/IncidentDialog'
import IncidentItem from 'components/adminPage/IncidentItem'
import FoolproofDialog from 'components/adminPage/FoolproofDialog'
import Button from 'components/common/Button'
import ErrorMessage from 'components/common/ErrorMessage'
import { innerDialogID } from 'utils/dialog'
import classes from './Incidents.scss'

const dialogType = {
  none: 0,
  add: 1,
  update: 2,
  delete: 3
}

export default class Incidents extends React.Component {
  static propTypes = {
    incidents: PropTypes.arrayOf(PropTypes.shape({
      incidentID: PropTypes.string.isRequired,
      name: PropTypes.string.isRequired,
{'fraction_non_alphanumeric': 0.08936170212765958, 'fraction_numerical': 0.004863221884498481, 'mean_word_length': 5.480314960629921, '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': '6345870', 'n_tokens_mistral': 471, 'n_tokens_neox': 467, 'n_words': 129}