<commit_before>package studentcapture.video.videoIn;

/**
 * Created by c13vfm on 2016-04-27.
 */
public class HashCodeGenerator {

    // TODO: Make more complex
    protected static String generateHash(String userID){
        int hashCode = 13;
        hashCode = 31 * hashCode + (int)userID.charAt(1);
        hashCode = 31 * hashCode + (int)userID.charAt(2);
        hashCode = 31 * hashCode + (int)userID.charAt(3);
        hashCode = 31 * hashCode + (int)userID.charAt(4);
        hashCode = 31 * hashCode + (int)userID.charAt(3);<commit_msg>Changed from 4 to 0 change 4 caused an exception with input 'user'<commit_after>package studentcapture.video.videoIn;

/**
 * Created by c13vfm on 2016-04-27.
 */
public class HashCodeGenerator {

    // TODO: Make more complex
    protected static String generateHash(String userID){
        int hashCode = 13;
        hashCode = 31 * hashCode + (int)userID.charAt(1);
        hashCode = 31 * hashCode + (int)userID.charAt(2);
        hashCode = 31 * hashCode + (int)userID.charAt(3);
        hashCode = 31 * hashCode + (int)userID.charAt(0);
        hashCode = 31 * hashCode + (int)userID.charAt(3);
{'fraction_non_alphanumeric': 0.12184508268059181, 'fraction_numerical': 0.04960835509138381, 'mean_word_length': 3.0350877192982457, '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': '3872265', 'n_tokens_mistral': 412, 'n_tokens_neox': 368, 'n_words': 95}