<commit_before>const {rpc, plugin, React} = Serverboards
import View from '../components/details'

class Details extends React.Component{
  constructor(props){
    super(props)

    this.state={
      vmc: this.props.vmc
    }
  }
  componentDidMount(){
    const vmc = this.props.vmc
    const parent = vmc.parent
    const id = vmc.id
    plugin
      .start_call_stop("serverboards.core.cloud/daemon","details", [parent, id])
      .then( vmc => {
        console.log("Got more info: ", vmc)
        this.setState({vmc})
      })
  }
  componentShouldUpdate(nextprops){
    return true
  }
  render(){
    const vmc = this.state.vmc
    return (
      <View {...this.props} {...this.state}/>
    )
  }
}

export default Details<commit_msg>Cleanup dead code<commit_after>const {rpc, plugin, React} = Serverboards
import View from '../components/details'

class Details extends React.Component{
  constructor(props){
    super(props)

    this.state={
      vmc: this.props.vmc
    }
  }
  componentDidMount(){
    const vmc = this.props.vmc
    const parent = vmc.parent
    const id = vmc.id
    plugin
      .start_call_stop("serverboards.core.cloud/daemon","details", [parent, id])
      .then( vmc => {
        console.log("Got more info: ", vmc)
        this.setState({vmc})
      })
  }
  render(){
    const vmc = this.state.vmc
    return (
      <View {...this.props} {...this.state}/>
    )
  }
}

export default Details
{'fraction_non_alphanumeric': 0.14106145251396648, 'fraction_numerical': 0.0, 'mean_word_length': 2.520884520884521, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4769566', 'n_tokens_mistral': 474, 'n_tokens_neox': 471, 'n_words': 104}