Skip to content

Add golden tests for case matrix generation and non-overwrite behavior #461

Closed

Description

@LunaStev

Problem

tools/populate_case_matrix.py now creates hundreds of deterministic baseline cases, but its idempotence and non-overwrite guarantees are only exercised manually. A generator regression could rewrite hand-authored cases or create numbering gaps.

Scope

  • Refactor the generator just enough to accept an isolated cases root/manifest in tests.
  • Test first-run creation, second-run idempotence, contiguous numbering, and preservation of hand-written files.
  • Cover supported and planned cells plus architecture aliases.
  • Avoid invoking a Wave compiler or network service.

Completion criteria

  • Unit tests prove a second run writes zero files.
  • Hand-authored content is byte-for-byte unchanged.
  • Invalid numbering and unsupported manifest shapes fail clearly.

Related: #457

Activity

  1. added
    good first issue
    needs testing
    ci
    on Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cigood first issueneeds testing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions