<commit_before>#!/bin/bash

set -e

./create_test_branch.sh "$1" "$2"

mkdir -p "runs/$2/$3"

cd rd_tool
DAALA_ROOT=../daala python -u rd_tool.py -codec $CODEC -extra-options "$EXTRA_OPTIONS" -prefix "../runs/$2/$3" "$3"<commit_msg>Let EXTRA_OPTIONS pass through as an environment variable.<commit_after>#!/bin/bash

set -e

./create_test_branch.sh "$1" "$2"

mkdir -p "runs/$2/$3"

cd rd_tool
DAALA_ROOT=../daala python -u rd_tool.py -codec $CODEC -prefix "../runs/$2/$3" "$3"
{'fraction_non_alphanumeric': 0.20125786163522014, 'fraction_numerical': 0.029350104821802937, 'mean_word_length': 3.732673267326733, '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': '3901824', 'n_tokens_mistral': 211, 'n_tokens_neox': 200, 'n_words': 48}