<commit_before>
--- Library for creating and manipulating physics-less models AKA "Holograms".
-- @shared
local holograms_library, holograms_library_metamethods = SF.Libraries.Register("holograms")

local hologram_methods, hologram_metamethods = SF.Typedef("Hologram", SF.Entities.Metatable)

SF.Holograms = {}
SF.Holograms.defaultquota = CreateConVar("sf_holograms_defaultquota", "7200", {FCVAR_ARCHIVE,FCVAR_REPLICATED},
	"The default number of holograms allowed to spawn via Starfall scripts across all instances")

SF.Holograms.personalquota = CreateConVar("sf_holograms_personalquota", "300", {FCVAR_ARCHIVE,FCVAR_REPLICATED},
	"The default number of holograms allowed to spawn via Starfall scripts for a single instance")

SF.Holograms.Methods = hologram_methods
SF.Holograms.Metatable = hologram_metamethods

local dsetmeta = debug.setmetatable
local old_ent_wrap = SF.Entities.Wrap
function SF.Entities.Wrap(obj)
	local w = old_ent_wrap(obj)
	if obj:IsValid() and obj:GetClass() == "gmod_starfall_hologram" then<commit_msg>Fixes SF.Entities.Wrap erroring in holograms lib.<commit_after>
--- Library for creating and manipulating physics-less models AKA "Holograms".
-- @shared
local holograms_library, holograms_library_metamethods = SF.Libraries.Register("holograms")

local hologram_methods, hologram_metamethods = SF.Typedef("Hologram", SF.Entities.Metatable)

SF.Holograms = {}
SF.Holograms.defaultquota = CreateConVar("sf_holograms_defaultquota", "7200", {FCVAR_ARCHIVE,FCVAR_REPLICATED},
	"The default number of holograms allowed to spawn via Starfall scripts across all instances")

SF.Holograms.personalquota = CreateConVar("sf_holograms_personalquota", "300", {FCVAR_ARCHIVE,FCVAR_REPLICATED},
	"The default number of holograms allowed to spawn via Starfall scripts for a single instance")

SF.Holograms.Methods = hologram_methods
SF.Holograms.Metatable = hologram_metamethods

local dsetmeta = debug.setmetatable
local old_ent_wrap = SF.Entities.Wrap
function SF.Entities.Wrap(obj)
	local w = old_ent_wrap(obj)
	if IsValid(obj) and obj:IsValid() and obj:GetClass() == "gmod_starfall_hologram" then
{'fraction_non_alphanumeric': 0.09408983451536643, 'fraction_numerical': 0.006619385342789598, 'mean_word_length': 6.9849056603773585, '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': '3933066', 'n_tokens_mistral': 743, 'n_tokens_neox': 693, 'n_words': 164}