<commit_before>#!/usr/bin/env bash
if [ $UID -ne 0 ] ; then
	echo "# FAILED: Must run as root / sudo"
	exit 1
fi

DEV_NAME="nvme0n1"
DEV_PATH="/dev/$DEV_NAME"

PBLK_NAME="pblk0"
PBLK_PATH="/dev/$PBLK_NAME"
PBLK_PART_PATH="${PBLK_PATH}p1"

FS_NAME="pblk0fs"
FS_PATH="/tmp/$FS_NAME"

FILES="1 2 4 8 16 32 64 128 256"
FILES_OVERWRITE=0

MD_NAME="${DEV_NAME}_${PBLK_NAME}.meta"
MD_PATH="/tmp/$MD_NAME"

# probe..
GEO=`nvm_dev geo $DEV_PATH`
if [ "$?" -ne 0 ]; then
	echo "# FAILED: probing device, exiting"
	exit 1
fi

# Grab geometry<commit_msg>run: Default to overwrite<commit_after>#!/usr/bin/env bash
if [ $UID -ne 0 ] ; then
	echo "# FAILED: Must run as root / sudo"
	exit 1
fi

DEV_NAME="nvme0n1"
DEV_PATH="/dev/$DEV_NAME"

PBLK_NAME="pblk0"
PBLK_PATH="/dev/$PBLK_NAME"
PBLK_PART_PATH="${PBLK_PATH}p1"

FS_NAME="pblk0fs"
FS_PATH="/tmp/$FS_NAME"

FILES="1 2 4 8 16 32 64 128 256"
FILES_OVERWRITE=1

MD_NAME="${DEV_NAME}_${PBLK_NAME}.meta"
MD_PATH="/tmp/$MD_NAME"

# probe..
GEO=`nvm_dev geo $DEV_PATH`
if [ "$?" -ne 0 ]; then
	echo "# FAILED: probing device, exiting"
	exit 1
fi

# Grab geometry
{'fraction_non_alphanumeric': 0.1687956204379562, 'fraction_numerical': 0.04744525547445255, 'mean_word_length': 4.835106382978723, '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': '1716273', 'n_tokens_mistral': 544, 'n_tokens_neox': 484, 'n_words': 110}