<commit_before>if [ -z $1 ]; then
	num=`cat .posts | wc -l`
else
	num=`echo $1 | cut -d'=' -f2`
fi

last=`cat .posts | wc -l`
if [ $num -lt $last ]; then
	next=$(( $num + 1 ))
fi

if [ $num -gt 1 ]; then
	prev=$(( $num - 1 ))
fi

file=`head -n$num .posts | tail -n1`

name=$(basename $file | sed "s/\.md//")
content=$(markdown $file)

echo "<div>$content</div>"

echo "<a href="posts/">Archive</a>"

if [ ! -z $prev ]; then
	echo "<a href=\"index.sh?num=$prev\">Prev</a>"
fi
if [ ! -z $next ]; then
	echo "<a href=\"index.sh?num=$next\">Next</a>"
fi

echo "</body></html>"
<commit_msg>sort of updated test-site to the new way of doing things<commit_after>if [ -z $1 ]; then
	num=`cat .posts | wc -l`
else
	num=`echo $1 | cut -d'=' -f2`
fi

last=`cat .posts | wc -l`
if [ $num -lt $last ]; then
	next=$(( $num + 1 ))
fi

if [ $num -gt 1 ]; then
	prev=$(( $num - 1 ))
fi

file=`head -n$num .posts | tail -n1`

name=$(basename $file | sed "s/\.md//")
content=$(markdown $file)

echo "<div>$content</div>"

if [ ! -z $prev ]; then
	echo "<a href=\"index.sh?num=$prev\">Prev</a>"
fi
if [ ! -z $next ]; then
	echo "<a href=\"index.sh?num=$next\">Next</a>"
fi

echo "</body></html>"

{'fraction_non_alphanumeric': 0.2534013605442177, 'fraction_numerical': 0.011904761904761904, 'mean_word_length': 3.1443661971830985, 'pattern_counts': {'":': 0, '<': 21, '<?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': '4396422', 'n_tokens_mistral': 510, 'n_tokens_neox': 493, 'n_words': 149}