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

fix(#1362): using active api method instead instance #1363

Merged
merged 4 commits into from
Mar 31, 2022

Conversation

frascuchon
Copy link
Member

Fixing problems found after namespace cleaning with metrics.

Closes #1362

@frascuchon frascuchon self-assigned this Mar 31, 2022
@frascuchon frascuchon added this to In progress in Release via automation Mar 31, 2022
@codecov
Copy link

codecov bot commented Mar 31, 2022

Codecov Report

Merging #1363 (1652bec) into master (bd2f0d0) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1363      +/-   ##
==========================================
+ Coverage   94.21%   94.24%   +0.02%     
==========================================
  Files         129      130       +1     
  Lines        5863     5869       +6     
==========================================
+ Hits         5524     5531       +7     
+ Misses        339      338       -1     
Flag Coverage Δ
pytest 94.24% <100.00%> (+0.02%) ⬆️

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

Impacted Files Coverage Δ
src/rubrix/client/api.py 95.16% <100.00%> (+0.48%) ⬆️
src/rubrix/metrics/__init__.py 100.00% <100.00%> (ø)
src/rubrix/metrics/commons.py 100.00% <100.00%> (ø)
src/rubrix/metrics/text_classification/metrics.py 100.00% <100.00%> (ø)
src/rubrix/metrics/token_classification/metrics.py 96.82% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ffd07e3...1652bec. Read the comment docs.

dcfidalgo
dcfidalgo previously approved these changes Mar 31, 2022
Copy link
Contributor

@dcfidalgo dcfidalgo 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 inline comment

src/rubrix/metrics/__init__.py Outdated Show resolved Hide resolved
Release automation moved this from In progress to Review OK Mar 31, 2022
@frascuchon frascuchon merged commit 0f1d693 into master Mar 31, 2022
Release automation moved this from Review OK to Ready to DEV QA Mar 31, 2022
@frascuchon frascuchon deleted the bugfixes/metrics-summary branch March 31, 2022 14:49
@frascuchon frascuchon removed this from Ready to DEV QA in Release Apr 1, 2022
frascuchon pushed a commit that referenced this pull request Apr 1, 2022
* fix: using active api method instead instance

* refactor: hide api instance

* chore: provide all metrics from module

* chore: using __all__ instead

(cherry picked from commit 0f1d693)
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.

Metrics are failing when no rb.log/rb.init is applied
2 participants