<commit_before>#! /usr/bin/env sh
echo "mode: count" > profile.cov
TP=$(find . -name "*_test.go" -printf '%h\n' | grep  -v vendor | grep -v glide | sort -u)
CP=$(echo -n $TP | tr ' ', ',')
set -x && \
for pkg in $TP; do \
	go test -v -tags="headless" -covermode=atomic -coverprofile=profile_tmp.cov -coverpkg $CP $pkg || exit 1; \
	tail -n +2 profile_tmp.cov >> profile.cov; \
done
exit $?<commit_msg>Trying to fix coverage reporting<commit_after>#! /usr/bin/env sh
echo "mode: count" > profile.cov
TP=$(go list -f '{{if len .GoFiles}}{{.ImportPath}}{{end}}' ./... | grep -v "/vendor/" | grep -v "zenodb/zeno" | grep -v "zenodb/zeno-cli")
CP=$(echo $TP | tr ' ', ',')
set -x
for pkg in $TP; do \
	go test -v -tags="headless" -covermode=atomic -coverprofile=profile_tmp.cov -coverpkg "$CP" $pkg || exit 1; \
	tail -n +2 profile_tmp.cov >> profile.cov; \
done
exit $?
{'fraction_non_alphanumeric': 0.21040462427745665, 'fraction_numerical': 0.004624277456647399, 'mean_word_length': 3.351758793969849, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '2686500', 'n_tokens_mistral': 346, 'n_tokens_neox': 332, 'n_words': 103}