Skip to content

Add golden fixtures and deterministic regression checks #23

Description

@sehkone

Problem

As the pipeline grows, changes to one component can silently break bundle output. Fixed reference bundles are needed to catch regressions.

Scope

  • Generate golden bundles from AC-0, AC-1, and AC-2 scenarios with fixed seeds and fixed start_at (the latter delivered by Add scenario start time and time compression with timestamp rewriting #67)
  • Store expected bundle assertions (directory structure, file presence, GT record counts, key field values)
  • Implement regression tests that compare generated bundles against golden fixtures
  • Test both positive cases (valid bundles pass) and negative cases (intentionally broken bundles fail)

Relationship to #67 (start_at + time compression)

#67 introduces start_at and per-execution anchoring so that timestamps in the bundle are deterministic across runs. After #67 lands, PCAP packet timestamps, JSONL timestamps, and meta.json timestamps are reproducible byte-for-byte when the scenario sets a fixed start_at.

Division of labor:

Out of Scope

Done when

  • Golden fixtures are committed to the repository
  • Regression checks catch schema, path, and Ground Truth regressions
  • Both Generator and Validator changes trigger fixture comparison

Dependencies

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

testingTests, fixtures, and regression checks

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions