<commit_before>import React, { Component, PropTypes } from 'react'
// import { Button } from 'react-native'
import Icon from 'react-native-vector-icons/FontAwesome'

export default class StarButton extends Component {
  static propTypes = {
    size: PropTypes.number,
    fullness: PropTypes.number,
  }

  render() {
    const { size, fullness } = this.props

    let name = 'star'

    if (fullness < 0.5) {
      name = 'star-o'
    }
    if (fullness == 0.5) {
      name = 'star-half-o'
    }

    return (
      <Icon
        name={name}
        size={size}
        color="#f9cb00"
      />
    )
  }
}<commit_msg>Updated StarButton component<commit_after>import React, { Component, PropTypes } from 'react'
import Icon from 'react-native-vector-icons/FontAwesome'

export default class StarButton extends Component {
  static propTypes = {
    size: PropTypes.number,
    fullness: PropTypes.number,
  }

  render() {
    const { size, fullness } = this.props

    let name = 'star'

    if (fullness < 0.5) {
      name = 'star-o'
    }
    if (fullness === 0.5) {
      name = 'star-half-o'
    }

    return (
      <Icon
        name={name}
        size={size}
        color="#f9cb00"
      />
    )
  }
}
{'fraction_non_alphanumeric': 0.12982744453574363, 'fraction_numerical': 0.011503697617091208, 'mean_word_length': 2.230769230769231, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, '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': '1181303', 'n_tokens_mistral': 412, 'n_tokens_neox': 400, 'n_words': 96}