<commit_before>#!/bin/bash -e

PATH=$HOME/local/dart/chromium:$PATH
results=$(DumpRenderTree test/run.html 2>&1)

echo -e "$results"

echo "$results" | grep CONSOLE

echo $results | grep -v 'Exception: Some tests failed.' >/dev/null<commit_msg>changes run.sh to use content shell<commit_after>#!/bin/bash -e

PATH=$HOME/local/dart/chromium:$PATH
results=$(content_shell --dump-render-tree test/run.html 2>&1)

echo -e "$results"

echo "$results" | grep CONSOLE

echo $results | grep -v 'Exception: Some tests failed.' >/dev/null
{'fraction_non_alphanumeric': 0.16477272727272727, 'fraction_numerical': 0.007575757575757576, 'mean_word_length': 4.75, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '7265215', 'n_tokens_mistral': 199, 'n_tokens_neox': 184, 'n_words': 49}