-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add issue fingerprinting for regression detection #45
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
Conversation
Generates consistent fingerprints for review issues using: - File path, line range bucket (±10 lines), category, severity - Normalized description (stop words removed, sorted) Enables detecting same issue across PRs, tracking resolution, and measuring fix effectiveness. - New: src/pr_review_agent/review/fingerprint.py - Modified: ReviewIssue now has fingerprint field - Modified: LLM reviewer attaches fingerprint to each issue - Modified: Supabase logger stores fingerprints Implements #35 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
AI Code ReviewSummaryThe PR implements a solid fingerprinting system for review issues with good test coverage. The implementation is well-structured but has some potential security and usability concerns that should be addressed. Confidence: 0.00 (low) Strengths
Issues FoundMajor (2)
Minor (3)
Concerns
Questions
Model: |
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
AI Code ReviewSummaryWell-structured fingerprinting implementation with comprehensive test coverage. The algorithm design is sound for regression tracking, but there are a few areas that need attention around edge cases and implementation details. Confidence: 0.00 (low) Strengths
Issues FoundMajor (2)
Minor (3)
Suggestion (1)
Concerns
Questions
Model: |
Closes #35
Summary
Changes
src/pr_review_agent/review/fingerprint.py- hash algorithm with normalizationtests/test_fingerprint.py- 17 tests covering all edge casessrc/pr_review_agent/review/llm_reviewer.py- fingerprint field on ReviewIssue, auto-attached during reviewsrc/pr_review_agent/metrics/supabase_logger.py- stores fingerprints with issue dataFingerprint Algorithm
Test Plan
🤖 Generated with Claude Code