<commit_before>package vcs_test

import (
	"reflect"
	"testing"
	"time"

	"github.com/sourcegraph/go-vcs/vcs"
)

func TestRepository_BlameFile(t *testing.T) {
	t.Parallel()

	cmds := []string{
		"echo line1 > f",
		"git add f",
		"GIT_COMMITTER_NAME=a GIT_COMMITTER_EMAIL=<EMAIL> GIT_COMMITTER_DATE=2006-01-02T15:04:05Z git commit -m foo --author='a <<EMAIL>>' --date 2006-01-02T15:04:05Z",
		"echo line2 >> f",
		"git add f",
		"GIT_COMMITTER_NAME=a GIT_COMMITTER_EMAIL=<EMAIL> GIT_COMMITTER_DATE=2006-01-02T15:04:05Z git commit -m foo --author='a <<EMAIL>>' --date 2006-01-02T15:04:05Z",<commit_msg>use sourcegraph.com/sourcegraph/go-vcs/... import path<commit_after>package vcs_test

import (
	"reflect"
	"testing"
	"time"

	"sourcegraph.com/sourcegraph/go-vcs/vcs"
)

func TestRepository_BlameFile(t *testing.T) {
	t.Parallel()

	cmds := []string{
		"echo line1 > f",
		"git add f",
		"GIT_COMMITTER_NAME=a GIT_COMMITTER_EMAIL=<EMAIL> GIT_COMMITTER_DATE=2006-01-02T15:04:05Z git commit -m foo --author='a <<EMAIL>>' --date 2006-01-02T15:04:05Z",
		"echo line2 >> f",
		"git add f",
		"GIT_COMMITTER_NAME=a GIT_COMMITTER_EMAIL=<EMAIL> GIT_COMMITTER_DATE=2006-01-02T15:04:05Z git commit -m foo --author='a <<EMAIL>>' --date 2006-01-02T15:04:05Z",
{'fraction_non_alphanumeric': 0.16987179487179488, 'fraction_numerical': 0.09294871794871795, 'mean_word_length': 4.947619047619048, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 21, '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': '5171471', 'n_tokens_mistral': 640, 'n_tokens_neox': 557, 'n_words': 96}