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

feat: batch job spellcheck #1409

Merged
merged 23 commits into from
Sep 10, 2024
Merged

feat: batch job spellcheck #1409

merged 23 commits into from
Sep 10, 2024

Conversation

raphael0202
Copy link
Collaborator

The PR #1401 had merge conflict, this is the same + some pypy/flake8 fixes.

There's no reason to configure the launch from endpoint. So we put in CLI instead of manual launch
Simplify abstractions - Change data in insights instead of value - Other small changes
Enhance batch extraction with popularity_key - Add env variables to batch job - Add make deploy Spellcheck job to Artifact registry
We concluded that PREDICTOR-VERSION will be used to track batch jobs and allow new data predictions to be imported. In the future, we'll find a way to detect already processed data in another way, such as before the batch job during the extraction stage.
@raphael0202 raphael0202 requested a review from a team as a code owner September 10, 2024 13:59
@raphael0202 raphael0202 changed the title Batch job spellcheck feat: batch job spellcheck Sep 10, 2024
Copy link

codecov bot commented Sep 10, 2024

Codecov Report

Attention: Patch coverage is 42.56198% with 139 lines in your changes missing coverage. Please review.

Project coverage is 55.65%. Comparing base (cef02f7) to head (e0d0bfa).
Report is 23 commits behind head on main.

Files with missing lines Patch % Lines
robotoff/batch/launch.py 45.05% 50 Missing ⚠️
robotoff/batch/__init__.py 28.30% 38 Missing ⚠️
robotoff/app/api.py 22.22% 21 Missing ⚠️
robotoff/batch/buckets.py 18.75% 13 Missing ⚠️
robotoff/cli/main.py 22.22% 7 Missing ⚠️
robotoff/app/auth.py 20.00% 4 Missing ⚠️
robotoff/insights/importer.py 75.00% 4 Missing ⚠️
robotoff/batch/extraction.py 89.47% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1409      +/-   ##
==========================================
- Coverage   56.05%   55.65%   -0.40%     
==========================================
  Files          80       84       +4     
  Lines        8012     8254     +242     
==========================================
+ Hits         4491     4594     +103     
- Misses       3521     3660     +139     

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

@raphael0202 raphael0202 merged commit ac7907d into main Sep 10, 2024
8 of 11 checks passed
@raphael0202 raphael0202 deleted the batch-job-spellcheck branch September 10, 2024 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants