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


import {
  StyleSheet,
  Text,
  View,
  Image,
  Navigator,
  TouchableOpacity,
  TextInput
} from 'react-native';

class Setting extends Component {
  constructor(props){
    super(props);
    this.state = {
      category: "",
      radius: "", // destination lat lng
      newPlace: "",
    }
  }
  render(){
    return(
      <View>
        <Text style={styles.text}>HIsdfsdf</Text>
        <Text>This is the category: {this.state.category}</Text>
        <TextInput
          style={{height: 40, borderColor: 'gray', borderWidth: 1}}
          onChangeText={(category) => this.setState({category})}
          value={this.state.category}
        />
        <Text>This is the second: {this.state.category}</Text>
      </View>
    )
  }
};
<commit_msg>change text input to picker, add all the type of categories in seed in<commit_after>import React, { Component } from 'react';


import {
  StyleSheet,
  Text,
  View,
  Image,
  Navigator,
  TouchableOpacity,
  TextInput,
  Picker,
} from 'react-native';

class Setting extends Component {
  constructor(props){
    super(props);
    this.state = {
      category: "",
      radius: "", // destination lat lng
      newPlace: "",
    }
  }
  render(){
    return(
      <View>
        <Text style={styles.text}>This is the category: {this.state.category}</Text>
        <Picker
          selectedValue={this.state.category}
          onValueChange={(category) => this.setState({category: category})}>
          <Picker.Item label="Popular" value="tourist_destination" />
          <Picker.Item label="Restaurant" value="restaurant" />
          <Picker.Item label="Aquarium" value="aquarium" />
          <Picker.Item label="Casino" value="casino" />
          <Picker.Item label="Museum" value="museum" />
          <Picker.Item label="Night Life" value="night_club" />
          <Picker.Item label="Park" value="park" />
          <Picker.Item label="Zoo" value="zoo" />
          <Picker.Item label="Attractions" value="place_of_interset" />
        </Picker>
        <Text>This is the second: {this.state.category}</Text>
      </View>
    )
  }
};

{'fraction_non_alphanumeric': 0.14806273062730627, 'fraction_numerical': 0.0013837638376383763, 'mean_word_length': 2.585123966942149, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 31, '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': '2595359', 'n_tokens_mistral': 669, 'n_tokens_neox': 659, 'n_words': 145}