Skip to content

Release v0.2.8#17

Merged
xRiskLab merged 31 commits into
mainfrom
release/v0.2.8rc1
Apr 19, 2026
Merged

Release v0.2.8#17
xRiskLab merged 31 commits into
mainfrom
release/v0.2.8rc1

Conversation

@xRiskLab

Copy link
Copy Markdown
Owner

Summary

  • Fine-tuning support: finetuner module with finetune_xgb/lgb/cb helpers
  • n_base_trees, from_finetune_result(), summarize_score_sources() on all constructors
  • TreeSource column in scorecard output (base/finetuned)
  • Migrated from ty to mypy with custom type stubs, zero type: ignore
  • SHAP integration for all three libraries
  • Performance optimizations for XGBoost and LightGBM constructors
  • 144 tests passing, 28 files mypy clean

Test plan

  • uv run pytest tests/ -v — 144/144 passing
  • uv run mypy xbooster/ tests/ — 0 errors, 28 files
  • uv run pre-commit run --all-files — all hooks pass
  • Release workflow (v0.2.8-test tag) — test + build passed on CI

xRiskLab and others added 30 commits December 6, 2025 15:27
- Update version to 0.2.8rc1
- Add CHANGELOG entry documenting:
  * SHAP integration features (alpha)
  * Performance improvements from @RektPunk (PRs #10, #11, #13, #14)
- Release candidate includes both SHAP features and performance optimizations
- Remove /examples from sdist include list (saves ~8.1MB)
- Examples remain available in GitHub repository
- Matches best practice for distribution packages
… prep

- New finetuner module with finetune_xgb/lgb/cb helpers and FineTuneResult
- n_base_trees, from_finetune_result(), summarize_score_sources() on all constructors
- TreeSource column in scorecard output (base/finetuned)
- Migrated from ty to mypy with custom type stubs (xgboost, catboost, lightgbm)
- Zero type: ignore comments across all source and test files
- Added mypy hook to pre-commit config
- Removed redundant requirements.txt (uv.lock is sufficient)
- Updated CHANGELOG.md and README.md with fine-tuning docs
- 144 tests passing, 28 files mypy clean
…t from tracking

- sourcery only ships macOS wheels, causing CI failures on Linux
- uv.lock and requirements.txt are local artifacts, not needed in repo
- Removed uv-export pre-commit hook

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @xRiskLab, your pull request is larger than the review limit of 150000 diff characters

@xRiskLab xRiskLab merged commit 35ba05c into main Apr 19, 2026
7 of 9 checks passed
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.

2 participants