mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 23:49:22 -06:00
Previously, the duplicate detector would create massive false-positive groups because issues with common tag prefixes like [LIB REQUEST] or [COMPILER REQUEST] would be considered highly similar, even when the actual content was completely different. For example, "[LIB REQUEST] Add ULib Library" and "[LIB REQUEST] musl vs glibc" would get a high similarity score just because they share the "[LIB REQUEST]" prefix, despite being completely different requests. This commit fixes the issue by: - Stripping [TAGS] from issue titles before calculating similarity - Adding ruff as a dependency for code quality checks - Cleaning up linting issues found by ruff (unused imports, datetime.UTC) - Updating tests to reflect new behavior Result: The duplicate detection now produces much more accurate results, reducing false positives from 98-issue mega-groups to legitimate 2-issue duplicates. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>