Skip to content

test: proptest fuzz testing for variant constraint solver (REQ-052)#145

Merged
avrabe merged 1 commit intomainfrom
worktree-agent-a93a4dd0
Apr 13, 2026
Merged

test: proptest fuzz testing for variant constraint solver (REQ-052)#145
avrabe merged 1 commit intomainfrom
worktree-agent-a93a4dd0

Conversation

@avrabe
Copy link
Copy Markdown
Contributor

@avrabe avrabe commented Apr 13, 2026

Summary

6 property-based tests for the feature model solver (1200 random cases total):

  • Solver never panics on any random model + config
  • Resolved variant satisfies all group constraints (mandatory/alternative/or)
  • Effective features ⊇ selected features (propagation only adds)
  • Root always selected on success
  • Ancestor closure: every selected feature's parent chain is selected

Verifies: REQ-052

🤖 Generated with Claude Code

Verifies: REQ-052

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Rivet Criterion Benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.20.

Benchmark suite Current: 4f30d49 Previous: 7588c3c Ratio
store_insert/10000 14845947 ns/iter (± 1126112) 12015669 ns/iter (± 777347) 1.24
link_graph_build/10000 33933713 ns/iter (± 3084386) 25885542 ns/iter (± 1621608) 1.31
validate/10000 13870148 ns/iter (± 1832476) 9578640 ns/iter (± 316048) 1.45
diff/10000 8941022 ns/iter (± 865910) 7224219 ns/iter (± 189161) 1.24

This comment was automatically generated by workflow using github-action-benchmark.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@avrabe avrabe merged commit 7712ccc into main Apr 13, 2026
17 of 20 checks passed
@avrabe avrabe deleted the worktree-agent-a93a4dd0 branch April 13, 2026 22:39
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