<commit_before>#!/bin/bash

ln -f -s /opt/nifi/data/lib/thinkbig-nifi-core-service-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-core-service-nar.nar
ln -f -s /opt/nifi/data/lib/thinkbig-nifi-standard-services-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-standard-services-nar.nar

ln -f -s /opt/nifi/data/lib/app/thinkbig-spark-interpreter-*-jar-with-dependencies.jar /opt/nifi/current/lib/app/thinkbig-spark-interpreter-jar-with-dependencies.jar
ln -f -s /opt/nifi/data/lib/app/thinkbig-spark-validate-cleanse-*-jar-with-dependencies.jar /opt/nifi/current/lib/app/thinkbig-spark-validate-cleanse-jar-with-dependencies.jar
ln -f -s /opt/nifi/data/lib/app/thinkbig-spark-job-profiler-*-jar-with-dependencies.jar /opt/nifi/current/lib/app/thinkbig-spark-job-profiler-jar-with-dependencies.jar

if grep -q "nifi.version=0." /opt/nifi/current/conf/nifi.properties; then
    ln -f -s /opt/nifi/data/lib/thinkbig-nifi-core-v0-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-core-v0-nar.nar
    ln -f -s /opt/nifi/data/lib/thinkbig-nifi-spark-v0-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-spark-nar.nar
    ln -f -s /opt/nifi/data/lib/thinkbig-nifi-hadoop-v0-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-hadoop-nar.nar
    ln -f -s /opt/nifi/data/lib/thinkbig-nifi-hadoop-service-v0-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-hadoop-service-nar.nar
    ln -f -s /opt/nifi/data/lib/thinkbig-nifi-provenance-repo-v0-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-provenance-repo-nar.nar
    ln -f -s /opt/nifi/data/lib/thinkbig-nifi-elasticsearch-v0-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-elasticsearch-v0-nar.nar
else
    ln -f -s /opt/nifi/data/lib/thinkbig-nifi-core-v1-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-core-v1-nar.nar
    ln -f -s /opt/nifi/data/lib/thinkbig-nifi-spark-v1-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-spark-nar.nar
    ln -f -s /opt/nifi/data/lib/thinkbig-nifi-hadoop-v1-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-hadoop-nar.nar
    ln -f -s /opt/nifi/data/lib/thinkbig-nifi-hadoop-service-v1-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-hadoop-service-nar.nar
    ln -f -s /opt/nifi/data/lib/thinkbig-nifi-provenance-repo-v1-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-provenance-repo-nar.nar
    ln -f -s /opt/nifi/data/lib/thinkbig-nifi-elasticsearch-v1-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-elasticsearch-v1-nar.nar
fi<commit_msg>Removed version numbers from two symlinks in created under /opt/nifi/current/lib<commit_after>#!/bin/bash

ln -f -s /opt/nifi/data/lib/thinkbig-nifi-core-service-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-core-service-nar.nar
ln -f -s /opt/nifi/data/lib/thinkbig-nifi-standard-services-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-standard-services-nar.nar

ln -f -s /opt/nifi/data/lib/app/thinkbig-spark-interpreter-*-jar-with-dependencies.jar /opt/nifi/current/lib/app/thinkbig-spark-interpreter-jar-with-dependencies.jar
ln -f -s /opt/nifi/data/lib/app/thinkbig-spark-validate-cleanse-*-jar-with-dependencies.jar /opt/nifi/current/lib/app/thinkbig-spark-validate-cleanse-jar-with-dependencies.jar
ln -f -s /opt/nifi/data/lib/app/thinkbig-spark-job-profiler-*-jar-with-dependencies.jar /opt/nifi/current/lib/app/thinkbig-spark-job-profiler-jar-with-dependencies.jar

if grep -q "nifi.version=0." /opt/nifi/current/conf/nifi.properties; then
    ln -f -s /opt/nifi/data/lib/thinkbig-nifi-core-v0-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-core-nar.nar
    ln -f -s /opt/nifi/data/lib/thinkbig-nifi-spark-v0-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-spark-nar.nar
    ln -f -s /opt/nifi/data/lib/thinkbig-nifi-hadoop-v0-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-hadoop-nar.nar
    ln -f -s /opt/nifi/data/lib/thinkbig-nifi-hadoop-service-v0-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-hadoop-service-nar.nar
    ln -f -s /opt/nifi/data/lib/thinkbig-nifi-provenance-repo-v0-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-provenance-repo-nar.nar
    ln -f -s /opt/nifi/data/lib/thinkbig-nifi-elasticsearch-v0-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-elasticsearch-nar.nar
else
    ln -f -s /opt/nifi/data/lib/thinkbig-nifi-core-v1-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-core-nar.nar
    ln -f -s /opt/nifi/data/lib/thinkbig-nifi-spark-v1-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-spark-nar.nar
    ln -f -s /opt/nifi/data/lib/thinkbig-nifi-hadoop-v1-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-hadoop-nar.nar
    ln -f -s /opt/nifi/data/lib/thinkbig-nifi-hadoop-service-v1-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-hadoop-service-nar.nar
    ln -f -s /opt/nifi/data/lib/thinkbig-nifi-provenance-repo-v1-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-provenance-repo-nar.nar
    ln -f -s /opt/nifi/data/lib/thinkbig-nifi-elasticsearch-v1-nar-*.nar /opt/nifi/current/lib/thinkbig-nifi-elasticsearch-nar.nar
fi
{'fraction_non_alphanumeric': 0.18388900393456203, 'fraction_numerical': 0.006212466349140609, 'mean_word_length': 3.259259259259259, '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': '4881636', 'n_tokens_mistral': 2106, 'n_tokens_neox': 2060, 'n_words': 196}