Release Notes v0.7.0
π Performance Improvements
- Major performance optimization - Achieved 6-35x performance improvement across all algorithms
- CentralityHamming: 896,338 ns/op (was 6,429,340 ns/op)
- CentralityJaccard: 885,374 ns/op (was 30,036,357 ns/op)
- PagerankHamming: 962,000 ns/op (was 7,015,008 ns/op)
- PagerankJaccard: 962,579 ns/op (was 31,066,764 ns/op)
π§ͺ Test Coverage
- Comprehensive test suite - Added 442+ lines of new test coverage:
- New bag_config_test.go - Tests for all Bag configuration methods (Set, SetDictionary, SetCustomAlgorithm, SetCustomWeighing, SetWordTokenizer, String)
- New edge_cases_test.go - Covers edge cases for text summarization, sentence deduplication, and custom algorithm integration
- New util_test.go - Comprehensive tests for SymmetricDifference and Intersection utility functions
π Bug Fixes
- Test configuration fixes - Updated centrality algorithm test expectations to use hamming weighing
- Test output updates - Refreshed expected test outputs to match new algorithm behavior
- Repository updates - Module and README updates for consistency
π Enhanced Testing
- Expanded test suite with 113 additional centrality algorithm tests
- Added comprehensive edge case validation
- Improved test consistency across different algorithm configurations