<commit_before>#!/bin/bash

CWD=$(pwd)

cd $(mktemp -d)

git clone --depth 10 <EMAIL>@github.<EMAIL>:puppeteer/puppeteer.git
cd puppeteer
git pull
git checkout save-test-stats
npm ci
npm run build
npm run test -- --test-suite firefox-bidi --no-coverage --save-stats-to ./stats.json

timestamp=$(date +%s)

cp ./stats.json $CWD/data/$timestamp.json<commit_msg>fix git clone<commit_after>#!/bin/bash

CWD=$(pwd)

cd $(mktemp -d)

git clone --depth 1 https://github.com/puppeteer/puppeteer.git
cd puppeteer
git pull
git checkout save-test-stats
npm ci
npm run build
npm run test -- --test-suite firefox-bidi --no-coverage --save-stats-to ./stats.json

timestamp=$(date +%s)

cp ./stats.json $CWD/data/$timestamp.json
{'fraction_non_alphanumeric': 0.15988779803646563, 'fraction_numerical': 0.004207573632538569, 'mean_word_length': 3.76, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '6916909', 'n_tokens_mistral': 285, 'n_tokens_neox': 266, 'n_words': 71}