Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove not tested scorer #54

Merged
merged 10 commits into from
Nov 5, 2024
Merged

Remove not tested scorer #54

merged 10 commits into from
Nov 5, 2024

Conversation

RiesBen
Copy link
Contributor

@RiesBen RiesBen commented Oct 16, 2024

This is an artifact which is left over from earlier endavours.

I think we should remove the untested DefaultKartograafScoerer, as this potentially confuses uses.

Copy link

codecov bot commented Oct 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.23%. Comparing base (c794b30) to head (e0b968e).
Report is 11 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #54      +/-   ##
==========================================
- Coverage   96.35%   96.23%   -0.12%     
==========================================
  Files          13       13              
  Lines         604      585      -19     
==========================================
- Hits          582      563      -19     
  Misses         22       22              
Flag Coverage Δ
?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@RiesBen
Copy link
Contributor Author

RiesBen commented Oct 23, 2024

For this PR the only missing thing is to remove the Defaultscorer from the example jupyter notebook.

Copy link
Contributor

@jthorton jthorton left a comment

Choose a reason for hiding this comment

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

The removal looks good just the notebook left to do. One potential issue is the renaming of the element_change module to atom_changes is an API break. I did a quick search on github and didn't find any users but it could break some scripts. Do we need to make this change or can we support both import paths for now and start an API deprecation process?

@@ -1,4 +1,4 @@
from .element_change import (
Copy link
Member

Choose a reason for hiding this comment

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

Because Kartograf claims a 1.0 we do indeed need to avoid the API break - it's being used in our tooling enough that we don't want to swap this out. We'll need to do a deprecation and aim for a change in 2.0.

@jthorton
Copy link
Contributor

I'll be finishing this for Ben.

@jthorton jthorton requested a review from IAlibay November 4, 2024 12:32
@jthorton
Copy link
Contributor

jthorton commented Nov 4, 2024

@IAlibay and @RiesBen I think this should be ready for a final review now.

@RiesBen
Copy link
Contributor Author

RiesBen commented Nov 4, 2024

@IAlibay and @RiesBen I think this should be ready for a final review now.

This looks good to me. (Just can not approve, because I created the merge request.)

@jthorton
Copy link
Contributor

jthorton commented Nov 5, 2024

Ahh good point I'll wait for @IAlibay since I am unsure if I should self-approve.

Copy link
Member

@IAlibay IAlibay left a comment

Choose a reason for hiding this comment

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

Just one question from me.

Copy link
Member

Choose a reason for hiding this comment

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

I was briefly looking at this earlier and was wondering - why are we keeping this file at all? Have we been making folks import things from this location?

Copy link
Contributor

Choose a reason for hiding this comment

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

From a github search it looks like others are using this import path as its the recommended way to get the scorers in the README.

Copy link
Member

Choose a reason for hiding this comment

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

Ok thanks! Let's go with this for now, but let's raise an issue to review if it needs deprecating / removing for an eventual 2.0.

Copy link
Member

Choose a reason for hiding this comment

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

Ok thanks! Let's go with this for now, but let's raise an issue to review if it needs deprecating / removing for an eventual 2.0.

@jthorton jthorton merged commit 2112a89 into main Nov 5, 2024
7 checks passed
@jthorton jthorton deleted the remove_notTestedScorer branch November 5, 2024 15:08
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.

4 participants