-
Notifications
You must be signed in to change notification settings - Fork 201
Add automated uprating metadata detection #6688
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Implements a test and CLI tool to detect parameters that have been manually updated annually for 3+ years but lack uprating metadata. Features: - Automated pytest that fails if missing uprating metadata detected - Command-line tool for detailed reporting - Growth rate filtering (0-10%) to distinguish inflation from policy changes - Centralized configuration for exclusions and thresholds - Comprehensive documentation Files added: - policyengine_us/tests/code_health/uprating_metadata.py - pytest test - policyengine_us/tools/detect_missing_uprating.py - CLI detection tool - policyengine_us/tools/uprating_config.py - shared configuration - UPRATING_DETECTION.md - main documentation - HOW_TO_ADD_UPRATING_EXCLUSIONS.md - quick reference guide Current findings: 414 parameters in 41 files need review 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
|
Will update after merging #6672 which contains uprating changes |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6688 +/- ##
============================================
- Coverage 100.00% 90.00% -10.00%
============================================
Files 1 1
Lines 22 20 -2
Branches 0 1 +1
============================================
- Hits 22 18 -4
- Misses 0 1 +1
- Partials 0 1 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Fixes #6689
Implements a test and CLI tool to detect parameters that have been manually updated annually for 3+ years but lack uprating metadata.
Features:
Files added:
Current findings: 414 parameters in 41 files need review
🤖 Generated with Claude Code