<commit_before>import React,{Component} from 'react';

export default class SelectBar extends Component{
  render(){
    return (
      <select>
        <option value="ntut">NTUT</option>
        <option value="station">台北車站</option>
        <option value="taipei101">台北101</option>
      </select>
    )
  }
}<commit_msg>add select onchange event<commit_after>import React,{Component} from 'react';

export default class SelectBar extends Component{

  onSelectChange(event){
    console.log(event.target.value);
  }

  render(){
    return (
      <select onChange={this.onSelectChange}>
        <option value="ntut">NTUT</option>
        <option value="station">台北車站</option>
        <option value="taipei101">台北101</option>
      </select>
    )
  }
}
{'fraction_non_alphanumeric': 0.1403973509933775, 'fraction_numerical': 0.015894039735099338, 'mean_word_length': 3.3448275862068964, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '6484594', 'n_tokens_mistral': 245, 'n_tokens_neox': 244, 'n_words': 46}