<commit_before># A Unix shell script that lists TODOs across source files.
#
# By <NAME> 4/1/2014 

# $excluded is a regex for paths to exclude from search 
excluded="spec\|node_modules\|README\|lib\|docs\|csv\|XLS\|json\|png"

countLines(){
  # -mindepth exclues the current directory (".")
  for file in `find . -mindepth 1 -name "*.*" |grep -v "$excluded"`; do
    if [ `grep TODO $file -n | wc -l` != 0 ]
      then
        echo $file
        grep -n TODO $file<commit_msg>Added listTodos.sh script<commit_after># A Unix shell script that lists TODOs across source files.
#
# By <NAME> 4/1/2014 

# $excluded is a regex for paths to exclude from search 
excluded="spec\|node_modules\|README\|lib\|docs\|csv\|XLS\|json\|png\|listTodos"

countLines(){
  # -mindepth exclues the current directory (".")
  for file in `find . -mindepth 1 -name "*.*" |grep -v "$excluded"`; do
    if [ `grep TODO $file -n | wc -l` != 0 ]
      then
        echo $file
        grep -n TODO $file
{'fraction_non_alphanumeric': 0.14841351074718526, 'fraction_numerical': 0.016376663254861822, 'mean_word_length': 2.927710843373494, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6163708', 'n_tokens_mistral': 349, 'n_tokens_neox': 338, 'n_words': 115}