Repository navigation
ChatGPT refactor
Pre-release
Pre-release
Highlights
- Split scenario responsibilities into models, calculations, and finance helpers, locking in behavior with new pytest coverage.
- Introduced revenue-weighted margin + payback helpers so financial metrics stay consistent across modules.
- Moved
MinerOptionintosrc/core/miner_models.py, eliminating UI→core dependencies.
Verification
- pytest
- black / ruff pre-commit hooks
- Manual Streamlit UI smoke test (scenarios + miner selection)
No breaking changes expected.