<commit_before>package gothub

import "testing"

func TestRepositories(t *testing.T) {
	repos, err := tgh.Repositories()
	if err != nil {
		t.Errorf("%s", err)
	} else {
		t.Logf("You have %d repositories:", len(repos))
		for _, repo := range repos {
			t.Logf("%#v", repo)
		}
	}
}

func TestUserRepositories(t *testing.T) {
	user, err := tgh.GetUser("octocat")
	if err != nil {
		t.Errorf("%s", err)
		return
	}

	repos, err := user.Repositories()
	if err != nil {
		t.Errorf("%s", err)
	} else {
		t.Logf("%s has the following repositories:", user.Login)
		for _, repo := range repos {
			t.Logf("%#v", repo)
		}
	}
	return
}<commit_msg>Changed some of the logging output.<commit_after>package gothub

import "testing"

func TestRepositories(t *testing.T) {
	repos, err := tgh.Repositories()
	if err != nil {
		t.Errorf("%s", err)
	} else {
		t.Logf("You have %d repositories:", len(repos))
		for _, repo := range repos {
			t.Logf("%s", repo.FullName)
			//t.Logf("%#v", repo)
		}
	}
}

func TestUserRepositories(t *testing.T) {
	user, err := tgh.GetUser("octocat")
	if err != nil {
		t.Errorf("%s", err)
		return
	}

	repos, err := user.Repositories()
	if err != nil {
		t.Errorf("%s", err)
	} else {
		t.Logf("%s has the following repositories:", user.Login)
		for _, repo := range repos {
			t.Logf("%s", repo.FullName)
			//t.Logf("%#v", repo)
		}
	}
	return
}
{'fraction_non_alphanumeric': 0.18932748538011696, 'fraction_numerical': 0.0, 'mean_word_length': 3.401929260450161, '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': '4513017', 'n_tokens_mistral': 592, 'n_tokens_neox': 538, 'n_words': 131}