biolab / orange3-text

🍊 :page_facing_up: Text Mining add-on for Orange3
Other
128 stars 84 forks source link

Fix failing tests #1018

Closed PrimozGodec closed 1 year ago

PrimozGodec commented 1 year ago
Issue

Annotator tests started to fail due to changes in scikit-learn (in version 1.3.0). The reason is using the same random seed returns different results since clusters in data are not well distinguishable.

Description of changes

Fix the issue with artificial embeddings to produce better distinguishable clusters.

Includes
codecov-commenter commented 1 year ago

Codecov Report

Merging #1018 (79a34cf) into master (6994a5b) will decrease coverage by 0.16%. Report is 5 commits behind head on master. The diff coverage is 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1018 +/- ## ========================================== - Coverage 82.23% 82.07% -0.16% ========================================== Files 93 93 Lines 12286 12286 Branches 1664 1664 ========================================== - Hits 10103 10084 -19 - Misses 1872 1886 +14 - Partials 311 316 +5 ```