Create the initial compliane suite#237
Open
willpugh wants to merge 3 commits into
Open
Conversation
willpugh
marked this pull request as draft
July 20, 2026 19:59
…tting
- Use sqlglot to split dataset schema.sql instead of a naive split(";"),
so semicolons in string literals and -- / /* */ comments are handled.
- Fix --conformance-level: validate against the levels declared in the
suite's conformance.yaml (e.g. foundation_v0_1) instead of the bogus
hardcoded core/full/extended choices; default conformance_level now
matches conformance.yaml's base level.
- Surface adapter timeouts as a distinct adapter_timeout error and add a
--timeout flag.
- Remove the unused Difficulty enum and silence pytest collection
warnings on the TestCase/TestResult/TestStatus dataclasses.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…e fixes Documentation: - Add compliance/ARCHITECTURE.md (spec<->impl<->suite contract, harness runtime + adapter flow diagrams, test anatomy, conformance model). - Rewrite compliance/README.md as the install/run entry point; refresh the harness and foundation READMEs. Tooling: - Make compliance/ a single uv workspace (pyproject.toml + uv.lock, members harness + foundation, dev group for pytest) so `uv sync` installs everything and `uv run` works from anywhere. Ignore *.egg-info/. Spec alignment (point at core-spec/foundational_semantics.md, per #246): - Repoint every proposals/foundation/Proposed_OSI_Semantics.md and foundation-v0.1 reference to core-spec/foundational_semantics.md and core-spec/expression_language.md across SPEC.md, decisions.yaml, proposals.yaml, conformance.yaml, DATA_TESTS.md, metadata.yaml, proposals_check.py, and test_registry_yaml.py. - Remap anchors to #246's structure: deferred features -> section 3, determinism (D-014) -> sections 5.1/6.10.2; error codes -> Appendix A (decisions are inline, no Appendix B/C). - Fix DATA_TESTS format drift (gold_rows.json -> gold.sql). Harness: - Implement decisions_coverage.md report (write_decisions_coverage in reporter.py, wired into run_suite) so every run surfaces D-NNN coverage gaps. Add test_reporter_coverage.py. Note conformance.yaml levels are declarative for now. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
willpugh
force-pushed
the
willpugh/initial_compliance
branch
from
July 23, 2026 06:47
cb8bcc3 to
2f7c143
Compare
willpugh
marked this pull request as ready for review
July 23, 2026 06:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This creates the initial harness and some initial tests for the compliance suite
Related Issues
Tests
pytest/ CI green)Compliance