You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Open-format B — conformance corpus (valid/invalid/golden) #315
Open-format slice B — conformance corpus. A machine-checkable corpus that pins what the format accepts and rejects. The largest slice. examples/ stays as the user-facing showcase (it's cited by tests + getting-started docs).
Scope
New top-level conformance/ tree:
valid/ — .wind files that must parse + plan (cover hoop / helical / skip / multi-layer / cone; may reference or reuse the examples/ winds).
invalid/ — .wind files that must be rejected, each paired with its expected error (a .json/.txt sidecar or manifest with the error type + message substring). Cover: bad schemaVersion major, missing required fields, out-of-range wind angle, non-coprime pattern/skip, lead-in ≥ wind length, expanding cone, unreachable cone angle, hoop-on-cone.
golden outputs for the valid cases (reuse existing example goldens where they exist; cone stays equivalence-gated, not byte).
Wire into pytest: parametrized tests that every valid/ parses+plans and every invalid/ raises the expected error type/message.
A short conformance/README.md describing the corpus contract.
Gate
New conformance tests pass; existing suites unaffected. ruff + mypy clean. Adversarial review (esp. that invalid/ cases fail for the stated reason, not incidentally).
Out of scope
SPEC prose (A), IR doc (C), schema hosting (D). Not restructuring examples/.
Activity
test(conformance): .wind conformance corpus (valid/invalid/manifest) (#…