Skip to content

test(decorators): cover surviving mutation contracts - #183

Open
mojtaba-arvin wants to merge 215 commits into
mainfrom
audit/mutation-decorators-contracts-e051aab
Open

mojtaba-arvin wants to merge 215 commits into
mainfrom
audit/mutation-decorators-contracts-e051aab

Conversation

@mojtaba-arvin

@mojtaba-arvin mojtaba-arvin commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add mutation-driven behavioral tests for decorator metadata, validation, route generation, lifecycle handling, and rollback contracts.
  • Add focused survivor-contract tests in tests/test_decorators_survivor_contracts.py.
  • Replace the fixed decorator mutant count/kill floor with ceil(total * 0.70).

Verified mutation baseline

  • Artifact: workflow run 44991434501, head ea2a20991c1721692a1443dd48812a000f0d720f.
  • Decorators: 31.43% (44 killed / 96 survived / 140 total); runner exit code 2; skipped/suspicious/timed-out = 0.
  • Required: ceil(140 * 0.70) = 98 killed; gap = 54.
  • Historical claims of 63.31% (88/139) and 70.79% (1052/1486) are unverified against this artifact and are not treated as the current baseline.

Do not merge until the new-head mutation delta is measured, the decorator target reaches 70%, and the next module is explicitly authorized.

@codecov

codecov Bot commented Nov 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@mojtaba-arvin
mojtaba-arvin force-pushed the audit/mutation-decorators-contracts-e051aab branch from 4cf0b2d to 2b508b4 Compare November 22, 2026 06:42

This branch has not been deployed

No deployments
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