Skip to content

Update similarity.py to improve test coverage to 94%#295

Open
mohini-aggarwal wants to merge 1 commit intotheochem:mainfrom
mohini-aggarwal:update-similarity-94-coverage
Open

Update similarity.py to improve test coverage to 94%#295
mohini-aggarwal wants to merge 1 commit intotheochem:mainfrom
mohini-aggarwal:update-similarity-94-coverage

Conversation

@mohini-aggarwal
Copy link
Copy Markdown

  • Updated selector/measures/similarity.py to the 94% coverage version.
  • Added comprehensive tests in test_diversity_comprehensive.py.
  • Ready for review and integration into main repository.

@mohini-aggarwal
Copy link
Copy Markdown
Author

mohini-aggarwal commented Apr 3, 2026

Hi Mentors @FarnazH @FanwangM @marco-2023 !

I submitted this PR (#295 ) improving test coverage in similarity.py from 76% to 94%. This is part of my ongoing contributions to the Selector project for GSoC 2026.

Thank you for your guidance!

Copy link
Copy Markdown
Collaborator

@FanwangM FanwangM left a comment

Choose a reason for hiding this comment

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

Thanks for the PR. The current PR adds an empty line after each docstring/code block, which should be avoided. This also makes the code unreadable. Please fix this and we will do further code review. Thanks.

@mohini-aggarwal

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