<commit_before>package raytracer

//representing a point in the room
type vector struct {
	X, Y, Z int32

	// I NEED A FUCKING CONSTRUCTUR
}

//constructor
//see: https://golang.org/doc/effective_go.html#composite_literals
func NewVector(x, y, z int32) *vector {
	v := new(vector)

	//more stuff here

	return v
}

func (v *vector) Multiply(a, b vector) int32 {
	return a.X*b.X + a.Y*b.Y + a.Z*b.Z
}

func (v *vector) Subtract(a, b vector) vector {
	var result vector
	result.X = a.X - b.X
	result.Y = a.Y - b.Y
	result.Z = a.Z - b.Z
	return result
}<commit_msg>fixed vector bullshit<commit_after>package raytracer

//representing a point in the room
type vector struct {
	X, Y, Z int32

	// I NEED A FUCKING CONSTRUCTUR
}

//constructor
//see: https://golang.org/doc/effective_go.html#composite_literals
func NewVector(x, y, z int32) *vector {
	v := new(vector)

	//more stuff here

	return v
}

func Multiply(a, b vector) int32 {
	return a.X*b.X + a.Y*b.Y + a.Z*b.Z
}

func Subtract(a, b vector) vector {
	var result vector
	result.X = a.X - b.X
	result.Y = a.Y - b.Y
	result.Z = a.Z - b.Z
	return result
}
{'fraction_non_alphanumeric': 0.1371841155234657, 'fraction_numerical': 0.010830324909747292, 'mean_word_length': 3.062271062271062, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6011615', 'n_tokens_mistral': 473, 'n_tokens_neox': 449, 'n_words': 134}