<commit_before>
package euchre;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.StringTokenizer;

public class Game {
    private Map<String, Player> players;
    private ArrayList<String> playerOrder;
    private ArrayList<Card> onTable;
    private int playerTurn, dealer;
    private String trump;
    private int bidWinner;
    private Card trumpCard;
    private boolean alone;
    private long gameEnded;
    private Card[] deck;
    private int deckposn;
    public static final boolean debug = true;
    
    public final static String[] suits = new String[]{"c","d","h","s"};
    public final static String[] types = new String[]{"a","k","q","j","10","9"};
    
    public Game() {
        players = new HashMap<String, Player>();
        playerOrder = new ArrayList<String>();
        onTable = new ArrayList<Card>();
        clearVars();
        deck = new Card[52];
        int idx=0;
        for(String suit : suits) {
            for(String type : types) {
                deck[idx++] = new Card(suit, type);
            }
        }
        gameEnded = -1;
    }
    
    public Set<String> getPlayerUsernames() {
        return players.keySet();
    }
    
    public boolean shouldBoot() {
        return gameEnded != -1 && System.currentTimeMillis() - gameEnded > 10*1000;
    }
    <commit_msg>Fix Wheeler's-an-idiot bug<commit_after>
package euchre;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.StringTokenizer;

public class Game {
    private Map<String, Player> players;
    private ArrayList<String> playerOrder;
    private ArrayList<Card> onTable;
    private int playerTurn, dealer;
    private String trump;
    private int bidWinner;
    private Card trumpCard;
    private boolean alone;
    private long gameEnded;
    private Card[] deck;
    private int deckposn;
    public static final boolean debug = true;
    
    public final static String[] suits = new String[]{"c","d","h","s"};
    public final static String[] types = new String[]{"a","k","q","j","10","9"};
    
    public Game() {
        players = new HashMap<String, Player>();
        playerOrder = new ArrayList<String>();
        onTable = new ArrayList<Card>();
        clearVars();
        deck = new Card[suits.length * types.length];
        int idx=0;
        for(String suit : suits) {
            for(String type : types) {
                deck[idx++] = new Card(suit, type);
            }
        }
        gameEnded = -1;
    }
    
    public Set<String> getPlayerUsernames() {
        return players.keySet();
    }
    
    public boolean shouldBoot() {
        return gameEnded != -1 && System.currentTimeMillis() - gameEnded > 10*1000;
    }
    
{'fraction_non_alphanumeric': 0.12104539202200826, 'fraction_numerical': 0.008940852819807428, 'mean_word_length': 2.613664596273292, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 19, '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': '3712027', 'n_tokens_mistral': 847, 'n_tokens_neox': 836, 'n_words': 241}