Releases: jacksonpradolima/gsp-py
Releases · jacksonpradolima/gsp-py
v2.3.0
What's Changed
- Bump ruff from 0.8.4 to 0.8.5 by @dependabot in #11
- Bump mypy from 1.14.0 to 1.14.1 by @dependabot in #10
- Enable parallel testing and update dev setup with Rye by @jacksonpradolima in #12
Full Changelog: v2.2.0...v2.3.0
v2.2.0
What's Changed
- Enhance Packaging, Testing, and Infrastructure with Modern Tools and Features by @jacksonpradolima in #9
Full Changelog: v2.1.0...v2.2.0
v2.1.0
What's Changed
- Update Citation by @jacksonpradolima in #7
- Enhance Python Version Compatibility and Testing Workflow by @jacksonpradolima in #8
Full Changelog: v2.0.1...v2.1.0
v2.0.1
What's Changed
- Bump actions/setup-python from 4 to 5 in /.github/workflows by @dependabot in #4
- Bump pylint from 3.2.6 to 3.3.3 by @dependabot in #5
- Enhancements to Documentation and Metadata: Version 2.0.1 Update by @jacksonpradolima in #6
New Contributors
- @dependabot made their first contribution in #4
Full Changelog: v2.0.0...v2.0.1
2.0.0
Important
This release marks a major upgrade for the GSP (Generalized Sequential Pattern) library, focusing on performance optimization, codebase refinement, and enhanced usability. The new version is up to 80x faster, significantly cleaner, and includes improved documentation and testing.
This overhaul sets the foundation for future features and scalability.
What's New in v2.0
Performance Improvements
- Execution time reduced by up to 80x in benchmark tests compared to the previous implementation.
- Optimized candidate generation:
- Leveraged
itertools
for efficiency. - Streamlined logic for constructing k-sequences.
- Leveraged
- Benchmarked across various datasets to ensure scalability and efficiency.
Codebase Enhancements
- Refactored Code:
- Simplified
generate_candidates_from_previous
logic for better readability and maintainability. - Consolidated repetitive patterns and adopted modular functions.
- Used modern Python features such as
compress-for
and optimized loops.
- Simplified
- Testing Suite:
- Expanded test cases to cover edge cases in candidate generation and GSP workflow.
- Improved resilience and accuracy for rare and complex patterns.
- Documentation Overhaul:
- Updated
README.md
:- Clearer installation instructions and examples.
- Added a quick start guide for ease of use.
- Docstrings enhanced across the codebase to improve developer experience.
- Updated
Dependency & Tooling Updates
- Static Analysis:
- Integrated SonarCloud to enforce code quality standards with detailed insights.
- Added pylint to detect code issues and ensure compliance with Python best practices.
- Code Coverage:
- Integrated Codecov to measure test coverage and highlight untested areas, achieving high coverage with minimal gaps.
- Code Formatting:
- Enforced consistent style using
black
andisort
. - Ensured quality checks with
flake8
.
- Enforced consistent style using
How Has This Been Tested?
- Unit Testing:
- Comprehensive tests for candidate generation, sequence validation, and edge cases.
- Validated using diverse transaction datasets to ensure robustness.
- Performance Benchmarks:
- Compared new and old implementations across various scenarios, demonstrating significant efficiency gains.
- Static Analysis:
- Automated quality checks using SonarCloud, pylint, and flake8.
- Test Configuration:
- Python Version: 3.11.4
We’re excited for you to explore the revamped GSP library. Please provide your feedback and suggestions for future improvements!
New Contributors
- @jacksonpradolima made their first contribution in #3
Full Changelog: 1.1...v2.0.0
1.1
removed from travis
1.0
change gsp to use multiprocessing