<commit_before>#!/bin/bash
CWD=`pwd`
BUILDPATH=../
TEST_RESULTS_PATH="docs/support/tests"
DRIVER=`/bin/cat ../requirements.txt | grep napalm | grep -v base | awk -F\- '{print $2}'`

set -e

function process_driver {
	echo PROCESSING $1
	git clone https://github.com/napalm-automation/napalm-$1.git ../$1
	cd ../$1
	git checkout master
	pip install -r requirements-dev.txt
	py.test
	cp report.json TEST_RESULTS_PATH/$1.json
	cd $CWD
}

mkdir -p $TEST_RESULTS_PATH<commit_msg>Forgotten $<commit_after>#!/bin/bash
CWD=`pwd`
BUILDPATH=../
TEST_RESULTS_PATH="docs/support/tests"
DRIVER=`/bin/cat ../requirements.txt | grep napalm | grep -v base | awk -F\- '{print $2}'`

set -e

function process_driver {
	echo PROCESSING $1
	git clone https://github.com/napalm-automation/napalm-$1.git ../$1
	cd ../$1
	git checkout master
	pip install -r requirements-dev.txt
	py.test
	cp report.json $TEST_RESULTS_PATH/$1.json
	cd $CWD
}

mkdir -p $TEST_RESULTS_PATH
{'fraction_non_alphanumeric': 0.1562829989440338, 'fraction_numerical': 0.012671594508975714, 'mean_word_length': 3.74, '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': '7407598', 'n_tokens_mistral': 400, 'n_tokens_neox': 360, 'n_words': 88}