Skip to content

ChatGPT refactor

Pre-release
Pre-release

Choose a tag to compare

@MarkKiehlmann MarkKiehlmann released this 19 Nov 16:08
· 88 commits to main since this 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 MinerOption into src/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.