Versions in this module Expand all Collapse all v0 v0.2.4 Oct 16, 2026 v0.2.3 Sep 29, 2026 v0.2.2 Sep 24, 2026 v0.2.1 Aug 25, 2026 v0.2.0 Aug 14, 2026 Changes in this version + const MaxFileBytes + const MaxRecordBytes + func DecodeRecord(data []byte) (eval.Scenario, error) + func Encode(w io.Writer, scenarios []eval.Scenario) error + func EncodeRecord(sc eval.Scenario) ([]byte, error) + type Dataset struct + Scenarios []eval.Scenario + func Decode(ctx context.Context, r io.Reader, name string) (*Dataset, error) + func Load(ctx context.Context, dir, name string) (*Dataset, error) + type DirectoryError struct + Cause error + Dir string + func (e *DirectoryError) Error() string + func (e *DirectoryError) Unwrap() error + type DuplicateScenarioError struct + FirstLine int + Line int + func (e *DuplicateScenarioError) Error() string + type EncodeError struct + Cause error + func (e *EncodeError) Error() string + func (e *EncodeError) Unwrap() error + type FileTooLargeError struct + Max int + Path string + func (e *FileTooLargeError) Error() string + type InvalidScenarioError struct + Cause error + Line int + func (e *InvalidScenarioError) Error() string + func (e *InvalidScenarioError) Unwrap() error + type MalformedRecordError struct + Line int + Reason string + func (e *MalformedRecordError) Error() string + type OpenError struct + Cause error + Path string + func (e *OpenError) Error() string + func (e *OpenError) Unwrap() error + type PathEscapeError struct + Cause error + Path string + func (e *PathEscapeError) Error() string + func (e *PathEscapeError) Unwrap() error + type ReadError struct + Cause error + Path string + func (e *ReadError) Error() string + func (e *ReadError) Unwrap() error + type RecordTooLargeError struct + Line int + Max int + Size int + func (e *RecordTooLargeError) Error() string + type UnknownVersionError struct + Line int + Version string + func (e *UnknownVersionError) Error() string + type WriteError struct + Cause error + func (e *WriteError) Error() string + func (e *WriteError) Unwrap() error v0.1.3 Aug 12, 2026 v0.1.2 Aug 11, 2026 v0.1.1 Aug 11, 2026 v0.1.0 Jul 23, 2026