<commit_before>import React, {
  View,
  Text,
  Component,
  Alert,
  TouchableHighlight} from 'react-native';
import moment from 'moment';
const styles = require('../Styles/Styles.js');

class ListComment extends Component {
  // handle time precision
  handleTime(){
    if (this.props.comment.time === undefined){
      return console.log('time empty');
    }
    else if (this.props.comment.time !== undefined){
      return moment(this.props.comment.time).format('dddd, MMMM Do YYYY, h:mm:ss a');
    } else {
      console.log('neither cases pass');
      Alert.alert('fuck please call a developer');
    }
  }
  // function that generates random icon based on UID
  generateIcon(){
    var userId = this.props.comment.user.uid;

    
  }
  render(){
    return(
      <TouchableHighlight onPress={this.props.onPress}>
        <View style={styles.li}>
          <Text style={styles.liText}>{this.props.comment.comment}</Text>
          <Text style={styles.liText}>{this.props.comment.id}</Text>
          <Text style={styles.liText}>{this.handleTime()}</Text>
        </View>
      </TouchableHighlight>
    );
  }
}


module.exports = ListComment;<commit_msg>ci tests<commit_after>import React, {
  View,
  Text,
  Component,
  Alert,
  TouchableHighlight} from 'react-native';
import moment from 'moment';
const styles = require('../Styles/Styles.js');

class ListComment extends Component {
  // handle time precision
  handleTime(){
    if (this.props.comment.time === undefined){
      return console.log('time empty');
    }
    else if (this.props.comment.time !== undefined){
      return moment(this.props.comment.time).format('dddd, MMMM Do YYYY, h:mm:ss a');
    } else {
      console.log('neither cases pass');
      Alert.alert('fuck please call a developer');
    }
  }
  // function that generates random icon based on UID
  generateIcon(){
    var userId = this.props.comment.user.uid;

    console.log('fuck circleci');
  }
  render(){
    return(
      <TouchableHighlight onPress={this.props.onPress}>
        <View style={styles.li}>
          <Text style={styles.liText}>{this.props.comment.comment}</Text>
          <Text style={styles.liText}>{this.props.comment.id}</Text>
          <Text style={styles.liText}>{this.handleTime()}</Text>
        </View>
      </TouchableHighlight>
    );
  }
}


module.exports = ListComment;
{'fraction_non_alphanumeric': 0.15012722646310434, 'fraction_numerical': 0.0, 'mean_word_length': 3.039383561643836, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '1173039', 'n_tokens_mistral': 731, 'n_tokens_neox': 721, 'n_words': 158}