<commit_before>#!/bin/bash
../core/cf-promises/cf-promises -sjson > _json/syntax_map.json

for in in ../masterfiles/lib/3.6/*.cf
do
  out="${in/..\/masterfiles/_json}"
  out="${out/%.cf/.json}"
  ../core/cf-promises/cf-promises --policy-output-format=json $in > $out
done
<commit_msg>Evaluate functions when validating partial promises.<commit_after>#!/bin/bash
../core/cf-promises/cf-promises -sjson > _json/syntax_map.json

for in in ../masterfiles/lib/3.6/*.cf
do
  out="${in/..\/masterfiles/_json}"
  out="${out/%.cf/.json}"
  ../core/cf-promises/cf-promises --eval-functions --policy-output-format=json $in > $out
done

{'fraction_non_alphanumeric': 0.21474358974358973, 'fraction_numerical': 0.00641025641025641, 'mean_word_length': 3.370629370629371, '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': '3698465', 'n_tokens_mistral': 242, 'n_tokens_neox': 232, 'n_words': 38}