<commit_before>#!/bin/bash

set -eu

REPO_ROOT=$(dirname ${BASH_SOURCE[0]})
cd $REPO_ROOT
REPO_ROOT=$(pwd) # Resolve relative paths

GOPATH_TMP="${REPO_ROOT}/gopath.tmp"
export GOPATH="${GOPATH_TMP}:${REPO_ROOT}/vendor"
export GOBIN="${GOPATH_TMP}/bin"

PROJECT_PATH="github.com/alphagov/router"
mkdir -p $(dirname ${GOPATH_TMP}/src/${PROJECT_PATH})

rm -f ${GOPATH_TMP}/src/${PROJECT_PATH}
ln -s ../../../.. ${GOPATH_TMP}/src/${PROJECT_PATH}

go get -v -d
<commit_msg>build_gopath.sh no longer needs to run go get.<commit_after>#!/bin/bash

set -eu

REPO_ROOT=$(dirname ${BASH_SOURCE[0]})
cd $REPO_ROOT
REPO_ROOT=$(pwd) # Resolve relative paths

GOPATH_TMP="${REPO_ROOT}/gopath.tmp"
export GOPATH="${GOPATH_TMP}:${REPO_ROOT}/vendor"
export GOBIN="${GOPATH_TMP}/bin"

PROJECT_PATH="github.com/alphagov/router"
mkdir -p $(dirname ${GOPATH_TMP}/src/${PROJECT_PATH})

rm -f ${GOPATH_TMP}/src/${PROJECT_PATH}
ln -s ../../../.. ${GOPATH_TMP}/src/${PROJECT_PATH}

{'fraction_non_alphanumeric': 0.20480668756530826, 'fraction_numerical': 0.0020898641588296763, 'mean_word_length': 5.606896551724138, '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': '2680845', 'n_tokens_mistral': 401, 'n_tokens_neox': 408, 'n_words': 65}