Fix bug-fix counting, restore coverage and update internal dependencies - #4
Merged
Merged
Conversation
…lity Co-authored-by: Koru Agent <agent@coru.dev>
Co-authored-by: Koru Agent <agent@coru.dev>
Co-authored-by: Koru Agent <agent@coru.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug-fix metrics counted a commit once per matching keyword, inflating the density and running Git seven times per file. Combine the keyword filters in one Git query and count unique commit hashes. Regression tests use real temporary repositories with a commit matching several keywords.
Move Goal to a Python >=3.12 automation group while retaining Python 3.10 application support, update internal packages in uv.lock, and add daily grouped Dependabot updates plus read-only freshness and lockfile-based CI. Repository-owned instructions are in docs/dependencies.md.
Add coverage for optional Koru discovery failures, prompt enrichment, history metrics, and auto-mode dry-run/synchronization boundaries. Replace a no-op metric test, fix the existing mypy annotation error and unused imports, and declare pytest-cov in dev dependencies. The existing 95% coverage threshold is unchanged.
Validation on Python 3.10 and 3.13: 138 tests passed, coverage 95.98%, mypy, Ruff and example checks passed. uv lock --check, registry freshness audit, wheel and sdist builds passed. Existing CI additionally checks Python 3.11 and 3.12.
Use uv.lock in the existing four-version CI matrix for tests, coverage, mypy, Ruff and examples. The previous unconstrained pip installation selected a different Ruff version and different lint rules from the tested lockfile. Remove the redundant new test workflow; keep every existing quality gate.