<commit_before>import Header from '../header/header.jsx'
import StatePicker from '../state_picker/state_picker.jsx'
import VotingInfo from '../voting_info/voting_info.jsx'

import style from './layout.styl'
import { states } from '../../fixtures/voting_data'

export default {
  name: 'Layout',
  data: () => ({
    selectedState: null
  }),
  methods: {
    onStatePicked (event) {
      this.selectedState = states[event.target.selectedIndex - 1]
    },
    votingInfo () {
      console.log('votingInfo')
      if (!this.selectedState) return null
      console.log('render')
      return <VotingInfo state={this.selectedState} />
    }
  },
  render () {
    return (
      <div class={style.content}>
        <Header />
        <StatePicker statePicked={this.onStatePicked} />
        { this.votingInfo() }
      </div>
    )
  }
}
<commit_msg>remove console logs again<commit_after>import Header from '../header/header.jsx'
import StatePicker from '../state_picker/state_picker.jsx'
import VotingInfo from '../voting_info/voting_info.jsx'

import style from './layout.styl'
import { states } from '../../fixtures/voting_data'

export default {
  name: 'Layout',
  data: () => ({
    selectedState: null
  }),
  methods: {
    onStatePicked (event) {
      this.selectedState = states[event.target.selectedIndex - 1]
    },
    votingInfo () {
      if (!this.selectedState) return null
      return <VotingInfo state={this.selectedState} />
    }
  },
  render () {
    return (
      <div class={style.content}>
        <Header />
        <StatePicker statePicked={this.onStatePicked} />
        { this.votingInfo() }
      </div>
    )
  }
}

{'fraction_non_alphanumeric': 0.14909090909090908, 'fraction_numerical': 0.0012121212121212121, 'mean_word_length': 2.701793721973094, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, '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': '1763278', 'n_tokens_mistral': 522, 'n_tokens_neox': 523, 'n_words': 105}