Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
wasmdemo
command
|
|
|
windows-dashboard
command
|
|
|
internal
|
|
|
appdata
Package appdata resolves screpdb's single per-OS application-data root — the one directory all of screpdb's own writes are consolidated under (issue #237).
|
Package appdata resolves screpdb's single per-OS application-data root — the one directory all of screpdb's own writes are consolidated under (issue #237). |
|
bnetfacade
Package bnetfacade is the sanctioned surface for SC:R Battle.net bridge communication and GCS replay downloads in screpdb's Go binary (issue #317).
|
Package bnetfacade is the sanctioned surface for SC:R Battle.net bridge communication and GCS replay downloads in screpdb's Go binary (issue #317). |
|
builddedup
Package builddedup removes redundant Build commands using selection-derived evidence (see internal/unittags), so building counts reflect what actually happened.
|
Package builddedup removes redundant Build commands using selection-derived evidence (see internal/unittags), so building counts reflect what actually happened. |
|
casc
Package casc reads files from a local Blizzard CASC storage, the format of a StarCraft: Remastered install.
|
Package casc reads files from a local Blizzard CASC storage, the format of a StarCraft: Remastered install. |
|
casc/casctest
Package casctest builds a small fake StarCraft: Remastered CASC install for tests.
|
Package casctest builds a small fake StarCraft: Remastered CASC install for tests. |
|
cmddedup
Package cmddedup removes duplicate research and upgrade commands from a replay's command stream.
|
Package cmddedup removes duplicate research and upgrade commands from a replay's command stream. |
|
cmdenrich
Package cmdenrich normalizes raw models.Command into a compact EnrichedCommand so downstream analysis never re-discriminates action types or re-normalizes game quirks: Kind is flattened from both ActionType and nested OrderName, Subject absorbs the Zerg "Drone → Spawning Pool" morph quirk, and Aggression is a tunable tri-state kept in one table.
|
Package cmdenrich normalizes raw models.Command into a compact EnrichedCommand so downstream analysis never re-discriminates action types or re-normalizes game quirks: Kind is flattened from both ActionType and nested OrderName, Subject absorbs the Zerg "Drone → Spawning Pool" morph quirk, and Aggression is a tunable tri-state kept in one table. |
|
crashreport
Package crashreport turns an otherwise-silent panic into something a non-technical tester can act on: it writes a crash report file next to the binary, prints a pre-filled GitHub "new issue" link, and (for GUI builds with no visible console) opens that link in the browser.
|
Package crashreport turns an otherwise-silent panic into something a non-technical tester can act on: it writes a crash report file next to the binary, prints a pre-filled GitHub "new issue" link, and (for GUI builds with no visible console) opens that link in the browser. |
|
dashboard/apigen
Package apigen provides primitives to interact with the openapi HTTP API.
|
Package apigen provides primitives to interact with the openapi HTTP API. |
|
earlyfilter
Package earlyfilter cleans the first ~5 minutes of a replay's command stream by simulating per-player resources (minerals, supply, workers) and dropping commands that were resource-impossible at the moment they were issued.
|
Package earlyfilter cleans the first ~5 minutes of a replay's command stream by simulating per-player resources (minerals, supply, workers) and dropping commands that were resource-impossible at the moment they were issued. |
|
engine/digestcache
Package digestcache stores engine digests in one append-only file in the app-data dir.
|
Package digestcache stores engine digests in one append-only file in the app-data dir. |
|
engine/macro
Package macro scores each player's macro from an engine digest: supply and resource efficiency.
|
Package macro scores each player's macro from an engine digest: supply and resource efficiency. |
|
engine/moments
Package moments finds the curated game events of a game from its engine digest: the same event types the command-inferred detectors guess at (attacks, rushes, proxies, drops, recalls, nydus, expansions, nukes, first tech, mind control), decided from where units really were and what really happened.
|
Package moments finds the curated game events of a game from its engine digest: the same event types the command-inferred detectors guess at (attacks, rushes, proxies, drops, recalls, nydus, expansions, nukes, first tech, mind control), decided from where units really were and what really happened. |
|
enginepass
Package enginepass upgrades the in-memory library from command-inferred ("fast") data to engine data, one replay at a time, in the background.
|
Package enginepass upgrades the in-memory library from command-inferred ("fast") data to engine data, one replay at a time, in the background. |
|
fpvec
Package fpvec encodes fingerprint feature vectors as compact BLOBs for SQLite storage: a little-endian IEEE-754 float64 array with no header.
|
Package fpvec encodes fingerprint feature vectors as compact BLOBs for SQLite storage: a little-endian IEEE-754 float64 array with no header. |
|
gamedata
Package gamedata finds a StarCraft: Remastered install and extracts the classic (SD) data files the engine pass needs into the app-data dir, once per SC:R build.
|
Package gamedata finds a StarCraft: Remastered install and extracts the classic (SD) data files the engine pass needs into the app-data dir, once per SC:R build. |
|
gameevents
Package gameevents chooses a game's key events: the few the Game Events tab shows by default.
|
Package gameevents chooses a game's key events: the few the Game Events tab shows by default. |
|
gamerules
Package gamerules holds game-knowledge constants shared by replay compaction and the dashboard so the two cannot drift.
|
Package gamerules holds game-knowledge constants shared by replay compaction and the dashboard so the two cannot drift. |
|
hotkeystream
Package hotkeystream encodes a player's hotkey commands (Select / Assign / Add) as a compact delta-encoded varint blob, stored in players.hotkey_stream.
|
Package hotkeystream encodes a player's hotkey commands (Select / Assign / Add) as a compact delta-encoded varint blob, stored in players.hotkey_stream. |
|
iofacade
Package iofacade is the single sanctioned entry point for real filesystem access in screpdb.
|
Package iofacade is the single sanctioned entry point for real filesystem access in screpdb. |
|
legacyimport
Package legacyimport reads the dashboard state that older releases kept in screp.db (the settings row and the Battle.net profile cache) so a first launch after the upgrade keeps the user's replay folder, filters and the rate-limited profile cache.
|
Package legacyimport reads the dashboard state that older releases kept in screp.db (the settings row and the Battle.net profile cache) so a first launch after the upgrade keeps the user's replay folder, filters and the rate-limited profile cache. |
|
library
Package library is the dashboard's in-memory replay corpus: compact immutable records, an atomically swapped snapshot with indexes, and filtered views that memoise aggregates.
|
Package library is the dashboard's in-memory replay corpus: compact immutable records, an atomically swapped snapshot with indexes, and filtered views that memoise aggregates. |
|
library/compact
Package compact turns a parsed models.ReplayData into the library's compact immutable record, keeping only what the dashboard reads.
|
Package compact turns a parsed models.ReplayData into the library's compact immutable record, keeping only what the dashboard reads. |
|
library/librarytest
Package librarytest builds library.Replay fixtures for tests.
|
Package librarytest builds library.Replay fixtures for tests. |
|
library/load
Package load builds the in-memory replay library from a folder of replay files.
|
Package load builds the in-memory replay library from a folder of replay files. |
|
library/memprobe
Package memprobe measures what a loaded replay library costs in memory.
|
Package memprobe measures what a loaded replay library costs in memory. |
|
library/persist
Package persist stores the dashboard's small durable state as JSON files under the app-data root: settings.json and one file per cached Battle.net profile.
|
Package persist stores the dashboard's small durable state as JSON files under the app-data root: settings.json and one file per cached Battle.net profile. |
|
library/watch
Package watch keeps the replay library in step with the folder on disk.
|
Package watch keeps the replay library in step with the folder on disk. |
|
mcp
Package mcp exposes the screpdb replay corpus to an MCP client.
|
Package mcp exposes the screpdb replay corpus to an MCP client. |
|
netfacade
Package netfacade is the sanctioned surface for general network operations in screpdb's Go binary.
|
Package netfacade is the sanctioned surface for general network operations in screpdb's Go binary. |
|
patterns/markers
Package markers is the single source of truth for Marker definitions: a classifier attached to a (replay × player) that reports something interesting about the player's play.
|
Package markers is the single source of truth for Marker definitions: a classifier attached to a (replay × player) that reports something interesting about the player's play. |
|
patterns/phases
Package phases computes per-replay early/mid/late game phase boundaries from an in-memory enriched command stream.
|
Package phases computes per-replay early/mid/late game phase boundaries from an in-memory enriched command stream. |
|
power
Package power answers the two questions a background job needs to be a good citizen: is the machine on battery, and how to run the current OS thread at low priority.
|
Package power answers the two questions a background job needs to be a good citizen: is the machine on battery, and how to run the current OS thread at low priority. |
|
propack
Package propack embeds the precomputed profiles of progamers and other popular, high-level players so the dashboard can show them next to the user's own players without shipping their replays.
|
Package propack embeds the precomputed profiles of progamers and other popular, high-level players so the dashboard can show them next to the user's own players without shipping their replays. |
|
sampledata
Package sampledata embeds a small curated set of StarCraft replays so a first-run user can explore every screpdb feature without owning a .rep file.
|
Package sampledata embeds a small curated set of StarCraft replays so a first-run user can explore every screpdb feature without owning a .rep file. |
|
selfupdate
Package selfupdate is the single sanctioned surface for in-binary updates in screpdb (issue #212).
|
Package selfupdate is the single sanctioned surface for in-binary updates in screpdb (issue #212). |
|
skill
Package skill places a player's game on four tiers fitted to ladder MMR: Beginner (under 1,400), Intermediate (1,400 to 1,799), Advanced (1,800 and up) and Pro (labelled progamers).
|
Package skill places a player's game on four tiers fitted to ladder MMR: Beginner (under 1,400), Intermediate (1,400 to 1,799), Advanced (1,800 and up) and Pro (labelled progamers). |
|
spec
Package spec generates SPECIFICATION.md — the human-readable, machine-decodable catalogue of every "golden value" screpdb relies on to make its derived claims (build-order names, expert timings, unit costs, build times, detection thresholds, …).
|
Package spec generates SPECIFICATION.md — the human-readable, machine-decodable catalogue of every "golden value" screpdb relies on to make its derived claims (build-order names, expert timings, unit costs, build times, detection thresholds, …). |
|
spec/tools/genspec
command
Command genspec regenerates SPECIFICATION.md at the repo root from the Go source of truth.
|
Command genspec regenerates SPECIFICATION.md at the repo root from the Go source of truth. |
|
unittags
Package unittags reconstructs per-player selection state from the raw command stream and attributes production and worker actions to the in-game unit tags that issued them.
|
Package unittags reconstructs per-player selection state from the raw command stream and attributes production and worker actions to the in-game unit tags that issued them. |
|
winsandbox
Package winsandbox contains screpdb's Windows Low-integrity containment (issue #237): a Medium-integrity launcher relaunches the real worker at Low integrity so the OS confines all of screpdb's writes to the single app-data directory.
|
Package winsandbox contains screpdb's Windows Low-integrity containment (issue #237): a Medium-integrity launcher relaunches the real worker at Low integrity so the OS confines all of screpdb's writes to the single app-data directory. |
|
scripts
|
|
|
engine-probe
command
engine-probe runs the engine pass on a list of replays and prints, per replay, the pass time, the encoded digest size and the drift, then percentiles.
|
engine-probe runs the engine pass on a list of replays and prints, per replay, the pass time, the encoded digest size and the drift, then percentiles. |
|
expert-mine
command
expert-mine re-derives the expert golden-line timings in internal/patterns/markers/definitions.go from the aurora-ID-labelled progamer corpus.
|
expert-mine re-derives the expert golden-line timings in internal/patterns/markers/definitions.go from the aurora-ID-labelled progamer corpus. |
|
generate-demo-assets
command
generate-demo-assets pre-renders unit/building icon PNGs for the WASM demo.
|
generate-demo-assets pre-renders unit/building icon PNGs for the WASM demo. |
|
generate-demo-bnet
command
Command generate-demo-bnet builds the Battle.net data the WASM demo ships.
|
Command generate-demo-bnet builds the Battle.net data the WASM demo ships. |
|
pro-pack
command
pro-pack generates internal/propack/data (the embedded built-in progamer profiles) from the aurora-ID-labelled ladder corpus.
|
pro-pack generates internal/propack/data (the embedded built-in progamer profiles) from the aurora-ID-labelled ladder corpus. |
|
procorpus
Package procorpus is the shared labelling and joining logic for the offline progamer-corpus scripts (expert-mine, pro-pack).
|
Package procorpus is the shared labelling and joining logic for the offline progamer-corpus scripts (expert-mine, pro-pack). |
|
skill-fit
command
Command skill-fit turns scripts/skill-mine's measurements into internal/skill/model.json: per race, the cut values of every Skill tab metric between neighbouring tiers, and the combined score's regression and cuts.
|
Command skill-fit turns scripts/skill-mine's measurements into internal/skill/model.json: per race, the cut values of every Skill tab metric between neighbouring tiers, and the combined score's regression and cuts. |
|
skill-mine
command
Command skill-mine measures every candidate skill metric on ladder games whose players' MMR is known, so the Skill tab only shows metrics that follow MMR and places its tiers where the ladder puts them.
|
Command skill-mine measures every candidate skill metric on ladder games whose players' MMR is known, so the Skill tab only shows metrics that follow MMR and places its tiers where the ladder puts them. |
Click to show internal directories.
Click to hide internal directories.