refactor action.py according to module and method rules¶
Please develop a plan to refactor @src\causaliq_core\action.py to obey the development policies
Constraints learned from causaliq-analysis refactors¶
- Behaviour must stay byte-identical
- Preserve import binding sites
- No behaviour-free bulk test rewrites: add focused tests only where coverage gaps appear
Quality Gates (as in scripts/check_ci.ps1)¶
black --check src testsisort --check-only src testsflake8 src testsmypy src/python scripts/check_code_rules.py --strict src/causaliq_core