<commit_before>package pull

import (
	"fmt"
	"os"

	"github.com/google/go-github/github"
)

func Success(url string, desc string) *github.RepoStatus {
	return &github.RepoStatus{
		State:       github.String("success"),
		TargetURL:   github.String(url),
		Description: github.String(desc),
	}
}

func Failure(url string, desc string) *github.RepoStatus {
	return &github.RepoStatus{
		State:       github.String("failure"),
		TargetURL:   github.String(url),
		Description: github.String(desc),
	}
}

func Data(req *github.PullRequest) (user string, repository string, number int) {
	user = *req.Base.User.Login
	repository = *req.Base.Repo.Name
	number = *req.Number
	return
}<commit_msg>Slight cleanup.<commit_after>package pull

import "github.com/google/go-github/github"

func Success(url string, desc string, c string) *github.RepoStatus {
	return &github.RepoStatus{
		State:       github.String("success"),
		TargetURL:   github.String(url),
		Description: github.String(desc),
		Context:     github.String("pull/" + c),
	}
}

func Failure(url string, desc string, c string) *github.RepoStatus {
	return &github.RepoStatus{
		State:       github.String("failure"),
		TargetURL:   github.String(url),
		Description: github.String(desc),
		Context:     github.String("pull/" + c),
	}
}

func Data(req *github.PullRequest) (user string, repository string, number int) {
	user = *req.Base.User.Login
	repository = *req.Base.Repo.Name
	number = *req.Number
	return
}
{'fraction_non_alphanumeric': 0.13936097892590074, 'fraction_numerical': 0.0, 'mean_word_length': 4.238434163701068, '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': '6554634', 'n_tokens_mistral': 513, 'n_tokens_neox': 488, 'n_words': 109}