<commit_before>import React, { Component } from 'react';
import { StyleSheet } from 'react-native';
import { Text, Thumbnail, Grid, Left, Body, ListItem, Icon, Right } from 'native-base';
import I18n from '../../../../I18n/components/developer/sample-screen/I18n';
import WorkerScreenStyle from './chooseWorkerStyles';

export default class SampleScreen extends Component {
  static propTypes = {
    name: React.PropTypes.string.isRequired,
    rating: React.PropTypes.string.isRequired,
    price: React.PropTypes.string.isRequired,
  }
  static navigationOptions = {
    title: I18n.t('screenTitle'),
  };

  render() {
    const { name, rating, price } = this.props;
    return (
      <ListItem>
        <Left>
          <Thumbnail
            style={StyleSheet.flatten(WorkerScreenStyle.pictureStyle)}
            source={{
              uri: 'https://facebook.github.io/react/img/logo_og.png',
            }}
          />
          <Body>
            <Text>{name}</Text>
            <Grid
              style={WorkerScreenStyle.ratingGridStyle}
            >
              <Text
                note style={StyleSheet.flatten(WorkerScreenStyle.ratingStyle)}
              >{rating}/5</Text>
              <Thumbnail
                style={StyleSheet.flatten(WorkerScreenStyle.starStyle)} source={{
                  uri: 'https://facebook.github.io/react/img/logo_og.png',
                }}
              />
            </Grid>
          </Body>
        </Left>
        <Right>
          <Grid style={WorkerScreenStyle.priceGridStyle}>
            <Text
              style={StyleSheet.flatten(WorkerScreenStyle.priceStyle)}
            >{price}</Text>
            <Icon active name="arrow-forward" />
          </Grid>
        </Right>
      </ListItem>
    );
  }
}<commit_msg>add static data<commit_after>import React, { Component } from 'react';
import { StyleSheet } from 'react-native';
import { Text, Thumbnail, Grid, Left, Body, ListItem, Icon, Right } from 'native-base';
import I18n from '../../../../I18n/components/developer/sample-screen/I18n';
import WorkerScreenStyle from './chooseWorkerStyles';

export default class SampleScreen extends Component {
  static propTypes = {
    name: React.PropTypes.string.isRequired,
    rating: React.PropTypes.string.isRequired,
    price: React.PropTypes.string.isRequired,
  }
  static navigationOptions = {
    title: I18n.t('screenTitle'),
  };

  render() {
    return (
      <ListItem>
        <Left>
          <Thumbnail
            style={StyleSheet.flatten(WorkerScreenStyle.pictureStyle)}
            source={{
              uri: 'https://facebook.github.io/react/img/logo_og.png',
            }}
          />
          <Body>
            <Text><NAME></Text>
            <Grid
              style={WorkerScreenStyle.ratingGridStyle}
            >
              <Text
                note style={StyleSheet.flatten(WorkerScreenStyle.ratingStyle)}
              >5/5</Text>
              <Thumbnail
                style={StyleSheet.flatten(WorkerScreenStyle.starStyle)} source={{
                  uri: 'https://facebook.github.io/react/img/logo_og.png',
                }}
              />
            </Grid>
          </Body>
        </Left>
        <Right>
          <Grid style={WorkerScreenStyle.priceGridStyle}>
            <Text
              style={StyleSheet.flatten(WorkerScreenStyle.priceStyle)}
            >500 kr</Text>
            <Icon active name="arrow-forward" />
          </Grid>
        </Right>
      </ListItem>
    );
  }
}
{'fraction_non_alphanumeric': 0.13039772727272728, 'fraction_numerical': 0.00625, 'mean_word_length': 1.8789860997547017, 'pattern_counts': {'":': 0, '<': 46, '<?xml version=': 0, '>': 46, 'https://': 4, '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': '3433083', 'n_tokens_mistral': 987, 'n_tokens_neox': 967, 'n_words': 174}