<commit_before>local mod = EPGP:NewModule("boss", "AceEvent-3.0", "AceTimer-3.0")
local Debug = LibStub("LibDebug-1.0")
local L = LibStub("AceLocale-3.0"):GetLocale("EPGP")

local BOSSES = {
  -- The Obsidian Sanctum
  [28860] = "Sartharion",

  -- Eye of Eternity
  [28859] = "Malygos",

  -- Naxxramas
  [15956] = "Anub'Rekhan",
  [15953] = "Grand Widow Faerlina",
  [15952] = "Maexxna",

  [16028] = "Patchwerk",
  [15931] = "Grobbulus",
  [15932] = "Gluth",
  [15928] = "Thaddius",

  [16061] = "Instructor Razuvious",
  [16060] = "<NAME>",
  -- TODO(alkis): Add Four Horsemen

  [15954] = "<NAME>",
  [15936] = "Heigan the Unclean",
  [16011] = "Loatheb",

  [15989] = "Sapphiron",
  [15990] = "Kel'Thuzad",

  -- Vault of Archavon
  [31125] = "Archavon the Stone Watcher",
}

local function IsRLorML()
  if UnitInRaid("player") then
    local loot_method, ml_party_id, ml_raid_id = GetLootMethod()
    if loot_method == "master" and ml_party_id == 0 then return true end
    if loot_method ~= "master" and IsRaidLeader() then return true end
  end
  return false
end

function mod:COMBAT_LOG_EVENT_UNFILTERED(event_name,
                                         timestamp, event,<commit_msg>Add Ulduar bosses and new Vault of Archavon boss. This fixes issue 408.<commit_after>local mod = EPGP:NewModule("boss", "AceEvent-3.0", "AceTimer-3.0")
local Debug = LibStub("LibDebug-1.0")
local L = LibStub("AceLocale-3.0"):GetLocale("EPGP")

local BOSSES = {
  -- The Obsidian Sanctum
  [28860] = "Sartharion",

  -- Eye of Eternity
  [28859] = "Malygos",

  -- Naxxramas
  [15956] = "Anub'Rekhan",
  [15953] = "Grand Widow Faerlina",
  [15952] = "Maexxna",

  [16028] = "Patchwerk",
  [15931] = "Grobbulus",
  [15932] = "Gluth",
  [15928] = "Thaddius",

  [16061] = "Instructor Razuvious",
  [16060] = "<NAME>",
  -- TODO(alkis): Add Four Horsemen

  [15954] = "<NAME>",
  [15936] = "Heigan the Unclean",
  [16011] = "Loatheb",

  [15989] = "Sapphiron",
  [15990] = "Kel'Thuzad",

  -- Vault of Archavon
  [31125] = "Archavon the Stone Watcher",
  [33993] = "Emalon the Storm Watcher",

  -- Ulduar
  [33113] = "<NAME>",
  [33118] = "Ignis the Furnace Master",
  [33186] = "Razorscale",
  [33293] = "XT-002 Deconstructor",
  -- TODO(alkis): Add Assembly of Iron
  [32930] = "Kologarn",
  [33515] = "Auriaya",
  [33412] = "Mimiron",
  [32845] = "Hodir",
  [32865] = "Thorim",
  [32906] = "Freya",
  [33271] = "<NAME>",
  [33288] = "Yogg-Saron",
  -- TODO(alkis): Add Algalon the Observer
}

local function IsRLorML()
  if UnitInRaid("player") then
    local loot_method, ml_party_id, ml_raid_id = GetLootMethod()
    if loot_method == "master" and ml_party_id == 0 then return true end
    if loot_method ~= "master" and IsRaidLeader() then return true end
  end
  return false
end

function mod:COMBAT_LOG_EVENT_UNFILTERED(event_name,
                                         timestamp, event,
{'fraction_non_alphanumeric': 0.1652264085724162, 'fraction_numerical': 0.08952644313861044, 'mean_word_length': 3.4250764525993884, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7399347', 'n_tokens_mistral': 1345, 'n_tokens_neox': 1164, 'n_words': 269}