<commit_before>#!/bin/bash
set -x
# Determine if the following files changed in the branch
echo "Checking POM dependencies for changes..."

mkdir temp
mvn dependency:tree -Doutput=temp/current-tree.txt

git checkout HEAD^1
mvn dependency:tree -Doutput=temp/old-tree.txt

echo "---- Current dependencies..."
cat temp/current-tree.txt
echo "------------------------------------"
echo "---- Previous dependencies..."
cat temp/old-tree.txt
echo "------------------------------------"

DIFF=`diff -q temp/current-tree.txt temp/old-tree.txt`

if [ -n "$DIFF" ]; then
	echo "WARNING: POM dependency tree changed in latest commit"
	diff -y temp/current-tree.txt temp/old-tree.txt
fi

git checkout master<commit_msg>Remove verbose output in check POM script<commit_after>#!/bin/bash
# Determine if the following files changed in the branch
echo "Checking POM dependencies for changes..."

mkdir temp
mvn dependency:tree -Doutput=temp/current-tree.txt

git checkout HEAD^1
mvn dependency:tree -Doutput=temp/old-tree.txt

echo "---- Latest dependencies..."
cat temp/current-tree.txt
echo "------------------------------------"
echo "---- Previous dependencies..."
cat temp/old-tree.txt
echo "------------------------------------"

DIFF=`diff -q temp/current-tree.txt temp/old-tree.txt`

if [ -n "$DIFF" ]; then
	echo "POM dependency tree changed in latest commit"
	echo "Side-by-side diff (left=LATEST      right=PREVIOUS)"
	diff -y temp/current-tree.txt temp/old-tree.txt
	echo "STATUS -- WARNING: POM changes detected"
else
	echo "STATUS -- SUCCESS: POM dependencies unchanged"
fi

git checkout master
{'fraction_non_alphanumeric': 0.20351758793969849, 'fraction_numerical': 0.001256281407035176, 'mean_word_length': 2.6287015945330294, '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': '7208261', 'n_tokens_mistral': 479, 'n_tokens_neox': 457, 'n_words': 152}