Documentation
¶
Overview ¶
Package pack manages deterministic offline corpus packs and synthetic workload packs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseCasesNDJSON ¶
ParseCasesNDJSON parses and validates cases.ndjson bytes.
func ValidateCase ¶
ValidateCase checks structural and semantic invariants of a PackCase.
Types ¶
type LoadedPack ¶
LoadedPack holds a validated pack manifest, its raw SHA-256, and its ordered cases.
func BindCorpus ¶
func BindCorpus(ctx context.Context, corpusRoot, tier, outDir string) (*LoadedPack, error)
BindCorpus binds a 3leaps/structcorpus checkout at the requested tier into an offline pack.
func LoadAndValidatePack ¶
func LoadAndValidatePack(packDir string) (*LoadedPack, error)
LoadAndValidatePack reads and verifies pack.json, cases.ndjson, and all listed input files in packDir.