<commit_before>package ru.stqa.pft.addressbook.appmanager;

/**
 * Created by gis on 25.11.2016.
 */
public class RandomDataGenerator {
    public int getInt(int min, int max) {
        return min + (int)(Math.random()*(max - min + 1));
    }
}
<commit_msg>random name & surname functions<commit_after>package ru.stqa.pft.addressbook.appmanager;

/**
 * Created by gis on 25.11.2016.
 */
public class RandomDataGenerator {
    public int getInt(int min, int max) {
        return min + (int)(Math.random()*(max - min + 1));
    }

    public String getFirstnameEng() {
        String[] firstnames = {"Bob", "Pit", "Sam", "Ted", "Yen"};
        return firstnames[getInt(0, firstnames.length - 1)];
    }

    public String getSurnameEng() {
        String[] surnames = {"Davis", "Doe", "Lee", "Smith", "Tramp"};
        return surnames[getInt(0, surnames.length - 1)];
    }
}

{'fraction_non_alphanumeric': 0.16095890410958905, 'fraction_numerical': 0.02511415525114155, 'mean_word_length': 3.0414746543778803, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1798609', 'n_tokens_mistral': 316, 'n_tokens_neox': 292, 'n_words': 73}