Skip to content

1.2.2

Choose a tag to compare

@oscarvalenzuelab oscarvalenzuelab released this 30 Aug 06:46
· 64 commits to main since this release
83bee26

Release Notes - v1.2.2

Code Quality and Maintenance Release

This maintenance release focuses on code cleanup and dependency updates for the oslili license detection integration.

Dependencies

Updated

  • semantic-copycat-oslili from >=1.3.2 to >=1.3.3
    • Improved license detection confidence scores
    • Enhanced compatibility and bug fixes
    • No implementation changes required

Code Quality Improvements

Cleanup

  • Removed unused Set import from typing module
  • Removed dead code: find_license_files() method (33 lines) that was never called
  • Extracted license deduplication logic to private _deduplicate_licenses() helper method
  • Removed extra blank lines for cleaner code formatting

Benefits

  • Reduced codebase by 31 lines while maintaining full functionality
  • Eliminated code duplication with centralized deduplication helper
  • Cleaner, more maintainable code following DRY principles
  • Better code organization and readability

Performance

Enhanced License Detection

  • License detection confidence improved to 94.9% on test data (up from ~88%)
  • More accurate license categorization (declared/detected/referenced)
  • Better copyright holder extraction and mapping

Testing

Verified Compatibility

  • All existing functionality preserved
  • License detection is working correctly across all test directories
  • Integration tests passing with improved confidence scores
  • No breaking changes or functionality regression

Technical Details

File Changes

  • pyproject.toml: Version bump and dependency update
  • src2id/integrations/oslili.py: Code cleanup and optimization

Backward Compatibility

  • Fully backward compatible with existing integrations
  • No API changes or breaking modifications
  • All existing method signatures are maintained