Skip to content

Create the initial compliane suite#237

Open
willpugh wants to merge 3 commits into
mainfrom
willpugh/initial_compliance
Open

Create the initial compliane suite#237
willpugh wants to merge 3 commits into
mainfrom
willpugh/initial_compliance

Conversation

@willpugh

Copy link
Copy Markdown
Contributor

Summary

This creates the initial harness and some initial tests for the compliance suite

Related Issues

Tests

  • All existing tests pass (pytest / CI green)
  • New functionality is covered by tests

Compliance

  • ASF license headers are present on all new source files
  • No third-party dependencies are added without PMC/IPMC approval

@willpugh
willpugh marked this pull request as draft July 20, 2026 19:59
willpugh and others added 3 commits July 22, 2026 23:43
…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
willpugh force-pushed the willpugh/initial_compliance branch from cb8bcc3 to 2f7c143 Compare July 23, 2026 06:47
@willpugh
willpugh marked this pull request as ready for review July 23, 2026 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant