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

ENH: Report total, processed and failed items via finish_task #32

Merged
merged 6 commits into from
Feb 7, 2024

Conversation

hhslepicka
Copy link
Contributor

Starting from version 0.5.0, the parameters total_items, processed_items and failed_items are
available to be used. It is important to report the correct values for these parameters as they are used
to calculate the ROI, success rate and other metrics.

Keep in mind that the sum of processed_items and failed_items must be equal to total_items. If
total_items is None, then the sum of processed_items and failed_items will be used as total_items.
If you inform total_items and processed_items, then failed_items will be calculated as the difference.

@hhslepicka
Copy link
Contributor Author

Tests are failing due to missing updates of the staging environment with the correction for the task finish.

@hhslepicka hhslepicka closed this Feb 7, 2024
@hhslepicka hhslepicka reopened this Feb 7, 2024
@hhslepicka hhslepicka merged commit c51521b into botcity-dev:main Feb 7, 2024
6 of 8 checks passed
@hhslepicka hhslepicka deleted the enh/report-task-items branch February 7, 2024 18:54
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.

2 participants