Skip to content

Conversation

@rmitsch
Copy link
Collaborator

@rmitsch rmitsch commented Dec 25, 2025

Description

Adds confidence scores to results of all predictive tasks.

Related Issues

Resolves #245

Changes Made

  • Adds confidence scores to all predictive tasks which didn't support them before

Checklist

  • Tests have been extended to cover changes in functionality
  • Existing and new tests succeed
  • Documentation updated (if applicable)
  • Related issues linked

Screenshots/Examples (if applicable)

@rmitsch rmitsch changed the title feat: Provide confidence scores for all task results. feat: Provide confidence scores for all task results Dec 25, 2025
@rmitsch rmitsch self-assigned this Dec 25, 2025
@codecov
Copy link

codecov bot commented Dec 25, 2025

Codecov Report

❌ Patch coverage is 87.50000% with 39 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...ieves/tasks/predictive/relation_extraction/core.py 15.78% 16 Missing ⚠️
...es/tasks/predictive/information_extraction/core.py 54.54% 10 Missing ⚠️
sieves/tasks/predictive/sentiment_analysis/core.py 37.50% 5 Missing ⚠️
sieves/tasks/predictive/question_answering/core.py 85.71% 2 Missing ⚠️
...es/tasks/predictive/relation_extraction/bridges.py 92.00% 2 Missing ⚠️
sieves/tasks/predictive/utils.py 96.61% 2 Missing ⚠️
sieves/tasks/predictive/pii_masking/bridges.py 94.44% 1 Missing ⚠️
...ves/tasks/predictive/schemas/sentiment_analysis.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #246      +/-   ##
==========================================
- Coverage   93.26%   92.80%   -0.46%     
==========================================
  Files          77       78       +1     
  Lines        3918     4087     +169     
==========================================
+ Hits         3654     3793     +139     
- Misses        264      294      +30     
Files with missing lines Coverage Δ
sieves/tasks/predictive/gliner_bridge.py 93.26% <100.00%> (+0.25%) ⬆️
...tasks/predictive/information_extraction/bridges.py 97.40% <100.00%> (+0.77%) ⬆️
sieves/tasks/predictive/ner/bridges.py 94.05% <100.00%> (+0.09%) ⬆️
sieves/tasks/predictive/ner/core.py 95.65% <ø> (ø)
sieves/tasks/predictive/pii_masking/__init__.py 100.00% <100.00%> (ø)
sieves/tasks/predictive/pii_masking/core.py 97.05% <100.00%> (ø)
...es/tasks/predictive/question_answering/__init__.py 100.00% <100.00%> (ø)
...ves/tasks/predictive/question_answering/bridges.py 98.46% <100.00%> (+0.15%) ⬆️
...s/tasks/predictive/relation_extraction/__init__.py 100.00% <100.00%> (ø)
sieves/tasks/predictive/schemas/ner.py 86.48% <100.00%> (+0.77%) ⬆️
... and 18 more

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rmitsch rmitsch marked this pull request as ready for review December 25, 2025 19:44
@rmitsch rmitsch merged commit d01eda9 into main Dec 25, 2025
3 checks passed
@rmitsch rmitsch deleted the 245 branch December 25, 2025 19:44
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.

Add confidence to all tasks

2 participants