<commit_before>[ "$RUN_BENCHMARKS" -ne 0 ] || exit 0

[ "$BENCHMARKS_NUM_PASSES" ] || BENCHMARKS_NUM_PASSES=2

Verbose "$SOURCE_DIR/benchmarks/core/bin/benchmarks-ci.py" \
    --executable "$MAIN_DIR/build/bin/joint-benchmarks" \
    --reference-executable "$REFERENCE_JOINT_DIR/build/bin/joint-benchmarks" \
    --env-update "{\"PYTHONPATH\": \"$MAIN_DIR/build/bin/bin\"}" \
    --reference-env-update "{\"PYTHONPATH\": \"$REFERENCE_JOINT_DIR/build/bin/bin\"}" \
    --benchmarks "$SOURCE_DIR/benchmarks/ci/benchmarks.json" \
    --num-passes "$BENCHMARKS_NUM_PASSES" ||
exit 1<commit_msg>Fix CI benchmarks<commit_after>[ "$RUN_BENCHMARKS" -ne 0 ] || exit 0

[ "$BENCHMARKS_NUM_PASSES" ] || BENCHMARKS_NUM_PASSES=2

Verbose "$SOURCE_DIR/benchmarks/core/bin/benchmarks-ci.py" \
    --executable "$MAIN_DIR/build/bin/joint-benchmarks" \
    --reference-executable "$REFERENCE_JOINT_DIR/build/bin/joint-benchmarks" \
    --env-update "{\"PYTHONPATH\": \"$MAIN_DIR/build/bin\"}" \
    --reference-env-update "{\"PYTHONPATH\": \"$REFERENCE_JOINT_DIR/build/bin\"}" \
    --benchmarks "$SOURCE_DIR/benchmarks/ci/benchmarks.json" \
    --num-passes "$BENCHMARKS_NUM_PASSES" ||
exit 1
{'fraction_non_alphanumeric': 0.1870748299319728, 'fraction_numerical': 0.006802721088435374, 'mean_word_length': 3.924686192468619, 'pattern_counts': {'":': 4, '<': 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': '4375985', 'n_tokens_mistral': 485, 'n_tokens_neox': 466, 'n_words': 53}