<commit_before>package gomoku

//記録用
type Record struct {
	turns []int
	x     []int
	y     []int
}

func NewRecord() *Record {
	return &Record{
		turns: make([]int, 0),
		x:     make([]int, 0),
		y:     make([]int, 0),
	}
}

func (r *Record) Push(turn, x, y int) {
	r.turns = append(r.turns, turn)
	r.x = append(r.x, x)
	r.y = append(r.y, y)
}

func (r *Record) LastX() int {
	return r.x[len(r.x)-1]
}

func (r *Record) LastY() int {
	return r.y[len(r.y)-1]<commit_msg>ちょこっと修正<commit_after>package gomoku

//記録用
type Record struct {
	turns []int
	x     []int
	y     []int
}

func NewRecord() *Record {
	return &Record{
		turns: make([]int, 0),
		x:     make([]int, 0),
		y:     make([]int, 0),
	}
}

func (r *Record) Push(turn, x, y int) {
	r.turns = append(r.turns, turn)
	r.x = append(r.x, x)
	r.y = append(r.y, y)
}

func (r *Record) Last() (int, int) {
	return r.x[len(r.x)-1], r.y[len(r.y)-1]
{'fraction_non_alphanumeric': 0.21070234113712374, 'fraction_numerical': 0.011148272017837236, 'mean_word_length': 2.9043478260869566, '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': '6369332', 'n_tokens_mistral': 441, 'n_tokens_neox': 431, 'n_words': 106}