<commit_before>#!/bin/bash

# Rewrite references from github.com/actgardner/gogen-avro to gopkg.in/actgardner/gogen-avro.<version>

if [ "$#" -ne 1 ]; then
  echo "Usage: $0 <version>"
  exit 1
fi
 
GITHUB_REPO="github.com/actgardner/gogen-avro"
VERSION="$1"
GOPKG_REPO="gopkg.in/actgardner/gogen-avro.$VERSION"

sed -i "s|$GITHUB_REPO|$GOPKG_REPO|" container/*.go generator/*.go types/*.go gogen-avro/main.go example/*/*.go test.sh <commit_msg>Release script renames imports in container tests<commit_after>#!/bin/bash

# Rewrite references from github.com/actgardner/gogen-avro to gopkg.in/actgardner/gogen-avro.<version>

if [ "$#" -ne 1 ]; then
  echo "Usage: $0 <version>"
  exit 1
fi
 
GITHUB_REPO="github.com/actgardner/gogen-avro"
VERSION="$1"
GOPKG_REPO="gopkg.in/actgardner/gogen-avro.$VERSION"

sed -i "s|$GITHUB_REPO|$GOPKG_REPO|" container/*.go generator/*.go types/*.go gogen-avro/main.go example/*/*.go test.sh test/*/*.go
{'fraction_non_alphanumeric': 0.17395944503735325, 'fraction_numerical': 0.008537886872998933, 'mean_word_length': 4.650602409638554, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3977746', 'n_tokens_mistral': 417, 'n_tokens_neox': 386, 'n_words': 67}