<commit_before>#!/bin/bash

set -xe

pfs init test
commit_id="$(pfs branch test scratch)"
echo hello | pfs put test ${commit_id} foo.txt
pfs commit test ${commit_id}
pfs ls test ${commit_id} /
docker volume create --driver=pfs --opt repository=test --opt commit_id=${commit_id} --opt shard=0 --opt modulus=1 --name foo<commit_msg>add to pfs-simple.bash in etc/examples<commit_after>#!/bin/bash

set -xe

pfs init test
commit_id="$(pfs branch test scratch)"
echo hello | pfs put test ${commit_id} foo.txt
pfs commit test ${commit_id}
pfs ls test ${commit_id} /
docker volume create --driver=pfs --opt repository=test --opt commit_id=${commit_id} --opt shard=0 --opt modulus=1 --name foo
docker run --name foo --volume foo:/in --volume-driver pfs ubuntu cat /in/foo.txt
docker rm foo
docker volume rm foo
{'fraction_non_alphanumeric': 0.13341645885286782, 'fraction_numerical': 0.004987531172069825, 'mean_word_length': 4.180645161290323, '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': '4598158', 'n_tokens_mistral': 288, 'n_tokens_neox': 265, 'n_words': 99}