<commit_before>#!/bin/bash

set -x
set -e

gcc "mem-touch.c" -o "mem-touch"
for f in $(ldd a.out | grep -P '^\s' | grep -v vdso | sed "s/.*=> //" | awk '{ print $1 }'); do
	cp "$f" .
done

rm -f "mem-touch-stop"
LD_LIBRARY_PATH=$(pwd) "./mem-touch" "mem-touch.log" "256m:64m:100000"<commit_msg>test: Wrong file was ldd-ed for libs<commit_after>#!/bin/bash

set -x
set -e

gcc "mem-touch.c" -o "mem-touch"
for f in $(ldd "mem-touch" | grep -P '^\s' | grep -v vdso | sed "s/.*=> //" | awk '{ print $1 }'); do
	cp "$f" .
done

rm -f "mem-touch-stop"
LD_LIBRARY_PATH=$(pwd) "./mem-touch" "mem-touch.log" "256m:64m:100000"
{'fraction_non_alphanumeric': 0.23987034035656402, 'fraction_numerical': 0.03889789303079417, 'mean_word_length': 3.0657894736842106, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5960150', 'n_tokens_mistral': 313, 'n_tokens_neox': 283, 'n_words': 77}