<commit_before>package main

import "testing"

func TestAdd(t *testing.T) {
	tests := []struct {
		in   int
		want int
	}{
		{in: 1, want: 1},
		{in: 2, want: 2},
		{in: 3, want: 3},
	}
	for _, tt := range tests {
		got := add(tt.in)
		if got != tt.want {
			t.Errorf("(%d) add(%d) = %d; want %d",
				value,
				tt.in,
				got,
				tt.want)
		}
	}

}<commit_msg>buildtags: add testAdd and clean TestAdd<commit_after>package main

import "testing"

func TestAdd(t *testing.T) {
	tests := []int{1, 2, 3}
	testAdd(t, value, tests)
}

func testAdd(t *testing.T, value int, tests []int) {
	for _, in := range tests {
		got := add(in)
		want := value + in
		if got != want {
			t.Errorf("(%d) add(%d) = %d; want %d",
				value,
				in,
				got,
				want)
		}
	}
}
{'fraction_non_alphanumeric': 0.18733509234828497, 'fraction_numerical': 0.011873350923482849, 'mean_word_length': 2.6490384615384617, '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': '5593041', 'n_tokens_mistral': 371, 'n_tokens_neox': 321, 'n_words': 90}