<commit_before>#!/usr/bin/env bash
export PS4='\[\e[34m\]\$ \[\e[m\]'
set -o xtrace
set -e 

# run pub; ensure that the code is warning free.
pub get 
dartanalyzer test/*.dart

# analyze the code in the lib dir.
dartanalyzer lib/*.dart

# run tests
dart test/all.dart<commit_msg>output all colors<commit_after>#!/usr/bin/env bash
export PS4='\[\e[33m\]\$ \[\e[m\]'
set -o xtrace
set -e

echo -e '\[\e[30m\]black\[\e[m\]'
echo -e '\[\e[31m\]red\[\e[m\]'
echo -e '\[\e[32m\]green\[\e[m\]'
echo -e '\[\e[33m\]yellow\[\e[m\]'
echo -e '\[\e[34m\]blue\[\e[m\]'
echo -e '\[\e[35m\]purpel\[\e[m\]'
echo -e '\[\e[36m\]cyan\[\e[m\]'
echo -e '\[\e[37m\]white\[\e[m\]'

# run pub; ensure that the code is warning free.
pub get
dartanalyzer test/*.dart

# analyze the code in the lib dir.
dartanalyzer lib/*.dart

# run tests
dart test/all.dart
{'fraction_non_alphanumeric': 0.2430806257521059, 'fraction_numerical': 0.026474127557160047, 'mean_word_length': 3.0, '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': '5405145', 'n_tokens_mistral': 393, 'n_tokens_neox': 384, 'n_words': 97}