Skip to content

Skip daily training cleanly on quiet days. - #1869

Merged
regulartim merged 2 commits into
GreedyBear-Project:developfrom
AdeshDeshmukh:fix/scoring-quiet-day-skip
Nov 18, 2026
Merged

regulartim merged 2 commits into
GreedyBear-Project:developfrom
AdeshDeshmukh:fix/scoring-quiet-day-skip

Conversation

@AdeshDeshmukh

Copy link
Copy Markdown
Contributor

Description

a day with no new ioc sightings used to raise TrainingDataError and abort the whole midnight chain, killing retraining and the payload window. That path now logs, saves the snapshot, and returns, like the other skip paths in the file..!

the same guard also fires when the snapshot is newer than current data after a long quiet spell .... it now skips instead of aborting every midnight.!

Related issues

Closes #1866

Type of change

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).
  • Chore (refactoring, dependency updates, CI/CD changes, code cleanup, docs-only changes).

Checklist

Formalities

  • I have read and understood the rules about how to Contribute to this project.
  • I have read and understood the AI policy.
  • I chose an appropriate title for the pull request in the form: <feature name>. Closes #999
  • My branch is based on develop.
  • The pull request is for the branch develop.
  • I have reviewed and verified any LLM-generated code included in this PR.
  • I am interested in participating in GSoC.

Docs and tests

  • I documented my code changes with docstrings and/or comments.
  • I have checked if my changes affect user-facing behavior that is described in the wiki. If so, I also included an update to the wiki in the description of this PR.
  • Linter (Ruff) gave 0 errors.
  • I have added tests for the feature/bug I solved.
  • All the tests gave 0 errors.

No gui changes where done!

AI Disclosure

Done the code change by myself and verifired it.. used claude to chack any errors in it..!

Copilot AI balanced review requested due to automatic review settings November 18, 2026 15:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@regulartim regulartim left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @AdeshDeshmukh ! Small and correct fix. Thank you!

@regulartim
regulartim merged commit ebb649e into GreedyBear-Project:develop Nov 18, 2026
7 checks passed
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.

3 participants