<commit_before>package main

import (
	"fmt"
	"math/rand"
)

type CardSuit int
type CardValue int

const (
	Spades CardSuit = iota
	Hearts
	Diamonds
	Clubs
	numSuits int = iota
)

func (s CardSuit) String() string {
	suits := []string{":spades:", ":hearts:", ":diamonds:", ":clubs:"}
	return suits[int(s)]
}

const (
	_ CardValue = iota
	Ace
	Two
	Three
	Four
	Five
	Six
	Seven
	Eight
	Nine
	Ten
	Jack
	Queen
	King
	numValues int = iota
)

func (v CardValue) Value() int {
	if v < Jack {
		return int(v)
	}
	return 10
}

func (v CardValue) String() string {
	values := []string{"", "A", "2", "3", "4", "5", "6", "7", "8", "9", "J", "Q", "K"}
	return values[int(v)]
}

type Card struct {
	Suit  CardSuit
	Value CardValue
}

func (c Card) String() string {
	return fmt.Sprintf("%s%s", c.Suit, c.Value)
}<commit_msg>Oops, there is a 10 card<commit_after>package main

import (
	"fmt"
	"math/rand"
)

type CardSuit int
type CardValue int

const (
	Spades CardSuit = iota
	Hearts
	Diamonds
	Clubs
	numSuits int = iota
)

func (s CardSuit) String() string {
	suits := []string{":spades:", ":hearts:", ":diamonds:", ":clubs:"}
	return suits[int(s)]
}

const (
	_ CardValue = iota
	Ace
	Two
	Three
	Four
	Five
	Six
	Seven
	Eight
	Nine
	Ten
	Jack
	Queen
	King
	numValues int = iota
)

func (v CardValue) Value() int {
	if v < Jack {
		return int(v)
	}
	return 10
}

func (v CardValue) String() string {
	values := []string{"", "A", "2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K"}
	return values[int(v)]
}

type Card struct {
	Suit  CardSuit
	Value CardValue
}

func (c Card) String() string {
	return fmt.Sprintf("%s%s", c.Suit, c.Value)
}
{'fraction_non_alphanumeric': 0.16920267802799757, 'fraction_numerical': 0.014607425441265977, 'mean_word_length': 3.630985915492958, 'pattern_counts': {'":': 8, '<': 5, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5635827', 'n_tokens_mistral': 728, 'n_tokens_neox': 699, 'n_words': 208}