<commit_before>#!/usr/bin/env bash

# Exit if any errors or if any needed variables are unset
set -e
set -u

# Update the list of packages
apt-get update &&
# Check for broken dependencies
apt-get check &&
# Upgrade to new packages, with smart handling of changing dependencies
apt-get dist-upgrade -y &&
# Purge unneeded dependencies
apt-get autoremove --purge -y &&
# Clean up packages in the cache that are no longer in the repo
apt-get autoclean -y

# Return exit code
exit $?<commit_msg>Change some `apt-get` commands to `apt`<commit_after>#!/usr/bin/env bash

# Exit if any errors or if any needed variables are unset
set -e
set -u

# Update the list of packages
apt update &&
# Check for broken dependencies
apt-get check &&
# Upgrade to new packages, with smart handling of changing dependencies
apt full-upgrade -y &&
# Purge unneeded dependencies
apt autoremove --purge -y &&
# Clean up packages in the cache that are no longer in the repo
apt-get autoclean -y

# Return exit code
exit $?
{'fraction_non_alphanumeric': 0.08016032064128256, 'fraction_numerical': 0.0, 'mean_word_length': 3.8970588235294117, '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': '6224162', 'n_tokens_mistral': 300, 'n_tokens_neox': 291, 'n_words': 145}