Dataset Viewer
Auto-converted to Parquet Duplicate
repo
stringclasses
341 values
file_path
stringlengths
29
173
language
stringclasses
2 values
file_type
stringclasses
4 values
code
stringlengths
2
1.66M
tokens
int64
2
598k
imezx/MultiRaycast
imezx-MultiRaycast-c45dd4d/src/init.luau
luau
.luau
--@EternityDev --!strict --!native --!optimize 2 local Raycast = {} Raycast.__index = Raycast local RunService = game:GetService("RunService") local Signal = require(script.Signal) local PreSimulation = RunService.PreSimulation local sampleActor = script:WaitForChild("Actor") function Raycast.new(header: string, dir...
710
imezx/Surround
imezx-Surround-dde33fc/src/init.luau
luau
.luau
--!optimize 2 --!native local Surround = {} local RunService = game:GetService("RunService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local scheduler = require(ReplicatedStorage:WaitForChild("scheduler")) local begin_profiler, end_profiler = scheduler.profiler.Begin, scheduler.profiler.End loca...
729
imezx/TaskChain
imezx-TaskChain-83b1c84/src/Types.luau
luau
.luau
--!strict --!optimize 2 local promise = require(script.Parent.Parent.promise) local janitor = require(script.Parent.Parent.janitor) export type Promise<T...> = promise.TypedPromise<T...> export type Janitor = janitor.Janitor export type task = { type: "call" | "wait" | "promise" | "andThen" | "catch" | "finally" | "...
374
imezx/TaskChain
imezx-TaskChain-83b1c84/src/init.luau
luau
.luau
--!optimize 2 local TaskChain = {} TaskChain.__index = TaskChain local types = require(script.Types) --] local function _processNextTask(self: types.TaskChain) if self._status == "Destroyed" or not self._isProcessing then return end if #self._tasks == 0 then self._isProcessing = false return end local ta...
1,143
imezx/InfiniteMath
imezx-InfiniteMath-9e375b0/src/InfiniteMath/Int.luau
luau
.luau
--!native local Int = {} Int.__index = Int export type Int = typeof(setmetatable({ sign = 0 :: number, -- -1, 0, +1 limbs = {} :: { number }, -- little-endian uint32 limbs (base 2^32) }, Int)) local function trimLimbs(limbs: { number }) while #limbs > 0 and limbs[#limbs] == 0 do table.remove(limbs) end end loc...
2,047
imezx/InfiniteMath
imezx-InfiniteMath-9e375b0/src/InfiniteMath/Values/FullNames.luau
luau
.luau
return {'Thousand','Million','Billion','Trillion','Quadrillion','Quintillion','Sextillion','Septillion','Octillion','Nonillion','Decillion','Undecillion','Duodecillion','Tredecillion','Quattuordecillion','Quindecillion','Sedecillion','Septendecillion','Octodecillion','Novendecillion','Vigintillion','Unvigintillion','Du...
40,396
imezx/InfiniteMath
imezx-InfiniteMath-9e375b0/src/InfiniteMath/Values/Suffixes.luau
luau
.luau
return {'K','M','B','T','Q','QN','S','SP','O','N','D','UD','DD','TD','QD','QND','SD','SPD','OD','ND','V','UV','DV','TV','QV','QNV','SV','SPV','OV','NV','TG','UTG','DTG','TTG','QTG','QNTG','STG','SPTG','OTG','NTG','QG','UQG','DQG','TQG','QQG','QNQG','SQG','SPQG','OQG','NQG','QQ','UQQ','DQQ','TQQ','QQQ','QNQQ','SQQ','SPQ...
14,331
imezx/InfiniteMath
imezx-InfiniteMath-9e375b0/src/InfiniteMath/init.luau
luau
.luau
"--!native\n-- forked by @EternityDev\n-- originally created by @KdudeDev\n\n--[=[\n\t@class Infinit(...TRUNCATED)
8,303
imezx/Scheduler
imezx-Scheduler-43e0719/dev/init.luau
luau
.luau
--!optimize 2 return require(script.Parent.Packages.scheduler)
14
imezx/Scheduler
imezx-Scheduler-43e0719/src/client/init.luau
luau
.luau
"--!optimize 2\nlocal client = {}\n\nlocal ContextActionService = game:GetService(\"ContextActionSer(...TRUNCATED)
784
End of preview. Expand in Data Studio

Last collected: 2026-08-09 20:32

Luau Stack HQ

Luau Stack HQ is a highly curated & deduplicated Luau source code with Type-script included from github repository with linter (stylua), it contains ~12.13M tokens (12191 unique files, 303 unique repo, 10751 luau files & 1440 ts files). It is built strictly for the training stages, providing a pristine density of type-safe, functional architecture without the noise of standard web scrapes.

# Filtering Pipeline

To ensure the highest quality data for pretraining, the dataset was built using a rigorous, multi-step extraction and filtering pipeline:

  • Repository Selection: * Target Terms: Searches focus on rbx, rbxl, rblx, roblox, luau, roblox-ts, rbxts, robloxts and roblox typescript.
    • Quality: Minimum of 5 stars.
    • Relevance: Because Luau is updated frequently, only repositories active or pushed within the last 2.5 years are included.
    • Repo Deduplication: Forks are strictly excluded.
  • Auto-Formatting (StyLua): Every raw .luau and .lua file is piped through StyLua to ensure consistent syntax. Unparseable files are dropped.
  • Cheat & Exploit Removal: * Repositories with cheat-related keywords in their name, description, or topics (e.g., aimbot, executor, synapse, krnl) are blacklisted.
    • Code containing Roblox exploit globals (e.g., getfenv, setfenv, hookfunction, loadstring, getrawmetatable) is entirely discarded.
  • Noise Reduction: Test files, mocks, .spec. files, and compiled /dist/ directories are ignored. Files smaller than 100 bytes or larger than 1MB are also excluded.

# Repo Docs

Please visit khtsly/luau-repo-docs-text for the repo docs

# Licensing

The source code contained within this dataset belongs to their respective original authors. All data was sourced from public GitHub repositories under open-source licenses, with forks explicitly excluded. Please respect the original repository licenses when utilizing this dataset for commercial model training.

Downloads last month
109

Models trained or fine-tuned on khtsly/luau-stack-hq