<commit_before>package downloader_test

import (
	"errors"
	"google.golang.org/appengine/aetest"
	"os"
	"strings"
	"testing"

	"github.com/m-lab/annotation-service/downloader"
	"github.com/m-lab/annotation-service/parser"
)

func TestInitilizationTableIPv4(t *testing.T) {
	if testFiles("annotator-data/GeoIPCountryWhoisSAMPLE.csv", 4, "testdata/GeoIPCountryWhoisSAMPLE.csv") != nil {
		t.Fatal("Failed initializing IPv4 table")
	}
}
func TestInitilizationTableIPv6(t *testing.T) {
	if testFiles("annotator-data/GeoLiteCityv6SAMPLE.csv", 6, "testdata/GeoLiteCityv6SAMPLE.csv") != nil {<commit_msg>change directory for GCS files in loader<commit_after>package downloader_test

import (
	"errors"
	"google.golang.org/appengine/aetest"
	"os"
	"strings"
	"testing"

	"github.com/m-lab/annotation-service/downloader"
	"github.com/m-lab/annotation-service/parser"
)

func TestInitilizationTableIPv4(t *testing.T) {
	if testFiles("annotator-data/MaxMind/GeoIPCountryWhoisSAMPLE.csv", 4, "testdata/GeoIPCountryWhoisSAMPLE.csv") != nil {
		t.Fatal("Failed initializing IPv4 table")
	}
}
func TestInitilizationTableIPv6(t *testing.T) {
	if testFiles("annotator-data/MaxMind/GeoLiteCityv6SAMPLE.csv", 6, "testdata/GeoLiteCityv6SAMPLE.csv") != nil {
{'fraction_non_alphanumeric': 0.137429264349232, 'fraction_numerical': 0.01131770412287793, 'mean_word_length': 6.074285714285714, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6514885', 'n_tokens_mistral': 490, 'n_tokens_neox': 467, 'n_words': 66}