<commit_before>#!/bin/bash

# install pouchdb from git rather than npm,
# so we can run its own tests
# also this branch may change as we update pouchdb
# versions because we can't necessarily test against
# the master tests since we use the version of pouchdb
# from npm
rm -rf pouchdb
git clone --single-branch \
  --branch master \
  --depth 1 \
  https://github.com/pouchdb/pouchdb.git pouchdb
cd pouchdb
npm install
cd -<commit_msg>use specific pouchdb version for testing<commit_after>#!/bin/bash

# install pouchdb from git rather than npm,
# so we can run its own tests
# also this branch may change as we update pouchdb
# versions because we can't necessarily test against
# the master tests since we use the version of pouchdb
# from npm
rm -rf pouchdb
git clone --single-branch \
  --branch master \
  --depth 300 \
  https://github.com/pouchdb/pouchdb.git pouchdb
cd pouchdb
# using a specific commit for now rather than master
git reset --hard 587ba8f4df4b6fcf32a8fd015f8c7ebadd8f280d
npm install
cd -
{'fraction_non_alphanumeric': 0.07001972386587771, 'fraction_numerical': 0.022682445759368838, 'mean_word_length': 3.7429906542056073, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6135289', 'n_tokens_mistral': 342, 'n_tokens_neox': 304, 'n_words': 138}