<commit_before>package io.github.thatsmusic99.headsplus.util;

import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;

import java.util.HashMap;
import java.util.UUID;

public class DebugManager {

    public static void checkForConditions(String name, HashMap<String, String> conditions) {

        for (UUID uuid : DebugConditions.openDebugTrackers.keySet()) {
            DebugConditions debugging = DebugConditions.openDebugTrackers.get(uuid);
            if (debugging.listener.equals(name)) {
                for (String key : debugging.conditions.keySet()) {
                    if (!conditions.get(key).equals(debugging.conditions.get(key))) {
                        return;
                    }
                }
                CommandSender listener = getSender(uuid);
                listener.sendMessage("---------- HEADSPLUS OUTPUT ----------");
                listener.sendMessage("Event: " + name);
                for (String key : conditions.keySet()) {
                    listener.sendMessage(ChatColor.RED + key + ChatColor.DARK_GRAY + " > " + ChatColor.GRAY + conditions.get(key));
                }
                listener.sendMessage("---------- OUTPUT END ----------");
            }
        }
    }
<commit_msg>beautiful<commit_after>package io.github.thatsmusic99.headsplus.util;

import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;

import java.util.HashMap;
import java.util.UUID;

public class DebugManager {

    public static void checkForConditions(String name, HashMap<String, String> conditions) {

        for (UUID uuid : DebugConditions.openDebugTrackers.keySet()) {
            DebugConditions debugging = DebugConditions.openDebugTrackers.get(uuid);
            if (debugging.listener.equals(name)) {
                for (String key : debugging.conditions.keySet()) {
                    if (!conditions.get(key).equals(debugging.conditions.get(key))) {
                        return;
                    }
                }
                CommandSender listener = getSender(uuid);
                listener.sendMessage(ChatColor.GRAY + "━━━━━━━━━━━━" + ChatColor.DARK_GRAY + " ❰ " + ChatColor.RED + "HEADSPLUS OUTPUT" + ChatColor.DARK_GRAY + " ❱ " + ChatColor.GRAY + "━━━━━━━━━━━━");
                listener.sendMessage(ChatColor.RED + "Event " + ChatColor.DARK_GRAY + "» " + ChatColor.GRAY + name);
                for (String key : conditions.keySet()) {
                    listener.sendMessage(ChatColor.RED + key + ChatColor.DARK_GRAY + " » " + ChatColor.GRAY + conditions.get(key));
                }
                listener.sendMessage(ChatColor.GRAY + "━━━━━━━━━━━━" + ChatColor.DARK_GRAY + " ❰ " + ChatColor.RED + "OUTPUT END" + ChatColor.DARK_GRAY + " ❱ " + ChatColor.GRAY + "━━━━━━━━━━━━");
            }
        }
    }

{'fraction_non_alphanumeric': 0.1415899010576595, 'fraction_numerical': 0.001364721937905152, 'mean_word_length': 2.197382769901854, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, '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': '4556395', 'n_tokens_mistral': 891, 'n_tokens_neox': 898, 'n_words': 143}