<commit_before>#!/bin/sh
set -eu
/usr/bin/time erl \
    -pa $(rebar3 as debug path --ebin) \
    -noinput \
    -eval "re2:l($1), init:stop()."<commit_msg>dev/l.sh: lookup rebar path as we do in Makefile<commit_after>#!/bin/sh
set -eu
REBAR=`sh -c "PATH=$PATH:dev which rebar3||dev/getrebar||echo false"`
/usr/bin/time erl \
    -pa $($REBAR as debug path --ebin) \
    -noinput \
    -eval "re2:l($1), init:stop()."
{'fraction_non_alphanumeric': 0.2014388489208633, 'fraction_numerical': 0.014388489208633094, 'mean_word_length': 2.9065420560747666, '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': '27982', 'n_tokens_mistral': 180, 'n_tokens_neox': 174, 'n_words': 43}