<commit_before>React = require 'react'
PropTypes = require 'prop-types'
createReactClass = require 'create-react-class'
{Link} = require 'react-router'
talkClient = require 'panoptes-client/lib/talk-client'
Loading = require('../../components/loading-indicator').default
CommentLink = require '../../pages/profile/comment-link'
ModerationReports = require './reports'
ModerationActions = require './actions'

module.exports = createReactClass
  displayName: 'ModerationComment'

  propTypes:
    moderation: PropTypes.object.isRequired
    user: PropTypes.object.isRequired
    updateModeration: PropTypes.func.isRequired

  getInitialState: ->
    comment: null

  getComment: ->
    if @props.moderation.destroyed_target<commit_msg>Fix comment link import (#4742)<commit_after>React = require 'react'
PropTypes = require 'prop-types'
createReactClass = require 'create-react-class'
{Link} = require 'react-router'
talkClient = require 'panoptes-client/lib/talk-client'
Loading = require('../../components/loading-indicator').default
CommentLink = require('../../pages/profile/comment-link').default
ModerationReports = require './reports'
ModerationActions = require './actions'

module.exports = createReactClass
  displayName: 'ModerationComment'

  propTypes:
    moderation: PropTypes.object.isRequired
    user: PropTypes.object.isRequired
    updateModeration: PropTypes.func.isRequired

  getInitialState: ->
    comment: null

  getComment: ->
    if @props.moderation.destroyed_target
{'fraction_non_alphanumeric': 0.12307692307692308, 'fraction_numerical': 0.0026755852842809363, 'mean_word_length': 4.776061776061776, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '5903603', 'n_tokens_mistral': 433, 'n_tokens_neox': 423, 'n_words': 88}