Skip to content

test: add cross-DSL integration and round-trip tests#110

Merged
rororowyourboat merged 1 commit intodevfrom
worktree-agent-a3f6973d
Mar 4, 2026
Merged

test: add cross-DSL integration and round-trip tests#110
rororowyourboat merged 1 commit intodevfrom
worktree-agent-a3f6973d

Conversation

@rororowyourboat
Copy link
Collaborator

Summary

  • 44 new integration tests across 9 test classes in test_cross_dsl_integration.py
  • Round-trip tests for all 5 DSLs: stockflow, control, OGS, software, business
  • Canonical h = f ∘ g spectrum validation across DSLs
  • Error condition tests for stockflow (SF-001, SF-003), control (CS-001, CS-002), and business (CLD-002)
  • GDS generic checks (G-001..G-006) verified on compiled SystemIR from each DSL

Closes #92

Adds 44 tests validating the GDS universal substrate claim across all 5
domain DSLs (stockflow, control, OGS, software, business). Tests cover:

- Round-trip compilation: model → GDSSpec → SystemIR → verification
- Minimal viable models for each DSL
- Canonical h = f ∘ g spectrum verification (stateful vs stateless)
- Error condition detection (orphan stocks, undriven states, invalid refs)
- GDS generic checks (G-001..G-006) running on compiled SystemIR

Closes #92
@rororowyourboat rororowyourboat merged commit ee15db1 into dev Mar 4, 2026
@rororowyourboat rororowyourboat deleted the worktree-agent-a3f6973d branch March 4, 2026 13:51
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.

test: add deeper integration and round-trip tests across DSLs

1 participant