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: estimated completion date #4

Merged
merged 2 commits into from
Nov 16, 2024
Merged

feat: estimated completion date #4

merged 2 commits into from
Nov 16, 2024

Conversation

sprestrelski
Copy link
Member

Closes #3. Adds function that calculates estimated completion date based on annotations made in the past N days (default=1).

Sample outputs from today

Total: 6178
Estimated time to completion: 5.3 days
1247 annotations were made in the last 24 hours

Total: 6178
Estimated time to completion: 12.5 days
3702 annotations were made in the last 168 hours

@sprestrelski sprestrelski added the enhancement New feature or request label Nov 15, 2024
@sprestrelski sprestrelski requested a review from ntlhui November 15, 2024 21:17
@sprestrelski
Copy link
Member Author

i'm fixing pylint!!

@sprestrelski sprestrelski changed the title feat: estimated competion date feat: estimated completion date Nov 15, 2024
@ntlhui
Copy link
Contributor

ntlhui commented Nov 15, 2024

************* Module label_studio_slack_reporter.main
label_studio_slack_reporter/main.py:47:74: C0303: Trailing whitespace (trailing-whitespace)
label_studio_slack_reporter/main.py:48:77: C0303: Trailing whitespace (trailing-whitespace)
label_studio_slack_reporter/main.py:82:0: C0303: Trailing whitespace (trailing-whitespace)
label_studio_slack_reporter/main.py:84:0: C0303: Trailing whitespace (trailing-whitespace)
label_studio_slack_reporter/main.py:16:0: R0914: Too many local variables (18/15) (too-many-locals)
label_studio_slack_reporter/main.py:86:0: R09[13](https://github.com/UCSD-E4E/label-studio-slack-reporter/actions/runs/11863527138/job/33065150929?pr=4#step:5:14): Too many arguments (6/5) (too-many-arguments)
label_studio_slack_reporter/main.py:86:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments)

Please resolve whitespace.

You can add pylint: disable= bypass for the other ones.

@ntlhui ntlhui merged commit cf79315 into main Nov 16, 2024
3 checks passed
@ntlhui ntlhui deleted the estimated-completion-date branch November 16, 2024 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FR: Estimated Completion Date
2 participants