Skip to content

Use the standard harness for constraint regression tests - #255

Merged
zayenz merged 1 commit into
mainfrom
feature/standard-constraint-tests
Oct 13, 2026
Merged

zayenz merged 1 commit into
mainfrom
feature/standard-constraint-tests

Conversation

@zayenz

@zayenz zayenz commented Oct 12, 2026

Copy link
Copy Markdown
Member

Several constraint regression tests use dedicated Space subclasses and manual DFS for ordinary solution checks. Use the existing integer test harness for sparse tables, large bin-packing weights, modular-product reification, inactive implications, default linear expressions, and fixed-end cumulative schedules. Reuse existing limit-value GCD tests, add divisibility coverage at those limits, and remove duplicate minimum-distance and bin-packing checks.

Keep targeted tests that observe intermediate propagation strength, delayed wakeups, clone ownership, representation metadata, and API errors. Remove the cumulative scalar reference implementation and internal helper checks. Fix BoolExprInvalid so it fails if the required TooFewArguments exception is absent.

Validation: Release build passed; affected constraint suites passed; all 436 check-tag tests passed. Sparse-table samples include guaranteed accepted tuples, and small cases retain exhaustive assignment and reification coverage. Existing modular-product conventions for fixpoint checks are preserved.

@zayenz
zayenz merged commit 8df771e into main Oct 13, 2026
14 checks passed
@zayenz
zayenz deleted the feature/standard-constraint-tests branch October 13, 2026 21:19
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