Skip to content

fix(scorer): make git-age tests month-start safe - #3

Merged
YumaKakuya merged 1 commit into
mainfrom
fix/scorer-gitage-month-start-20260603
Jun 3, 2026
Merged

YumaKakuya merged 1 commit into
mainfrom
fix/scorer-gitage-month-start-20260603

Conversation

@sorted-ai-bot

Copy link
Copy Markdown
Collaborator

Summary

  • Fix git-age test date construction so month-start runs do not lose a whole month.
  • Reuse the safe git-age anchor for temporary git commit dates in scorer tests.
  • Test-only change; production scorer logic is unchanged.

Verification

  • go test ./internal/scorer -run TestGitAgeBonus -count=1
  • go test ./...
  • go vet ./...
  • go build ./...

Notes

@sorted-ai-bot

Copy link
Copy Markdown
Collaborator Author

@YumaKakuya PR #3 merge request

@YumaKakuya
YumaKakuya merged commit b51462a into main Jun 3, 2026
4 checks passed
@YumaKakuya
YumaKakuya deleted the fix/scorer-gitage-month-start-20260603 branch June 3, 2026 05:45
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