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. |
|
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. |
|
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. |
|
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. |
|
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). |
|
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
|
|
|
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. |
|
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). |
Click to show internal directories.
Click to hide internal directories.