[FEATURE]: Detect Potential Duplicate Issues and PRs on Governance Page
维护者通常 1 天内回复
@amankv1234 已经在做这个了。
开始于 2026年10月29日。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 66/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- github, javascript, react
调研方向
Start by reading src/pages/GovernancePage.jsx and how it receives issuesData from AppContext.jsx; then inspect the existing governance tabs and their tests. The issue proposes a pure similarity service in src/services/duplicateDetection.js with tests in src/services/duplicateDetection.test.js. Done means the new tab lists likely duplicate open issues and PRs with the requested filters, scores, repository names, and GitHub links, without extra API calls.
由索引模型根据 Issue 内容生成。
描述
Feature and its Use Cases
Summary
Add a new check/tab on the Governance Page (/governance) to detect and list Potential Duplicate Issues and PRs across repositories.
Problem Statement
In open-source organizations, multiple contributors often open duplicate bug reports or identical pull requests without realizing that a similar issue or PR is already open. Maintainers currently have to search and identify these duplicates manually.
Proposed Solution
Add a "Duplicate Issues & PRs" tab to the Governance page that runs 100% client-side over already-fetched repository data:
- Title & Text Similarity:
- Evaluates open issues against open issues, and open PRs against open PRs within each repository.
- Uses a deterministic, lightweight client-side Jaccard similarity index ($J(A, B) \ge 0.75$) on cleaned and tokenized titles.
- Governance UI Integration:
- Add a 5th tab alongside Dead Issues, Zombie PRs, Stale Issues Ratio, and No License.
- Filter chips to switch between:
All,Issues, andPRs. - Table displaying:
Original Item,Potential Duplicate,Repository,Similarity Score, and direct GitHub links.
User & Maintainer Benefits
- Helps maintainers spot and clean up duplicate issues/PRs quickly.
- Prevents redundant efforts and keeps repository backlogs clean.
Additional Context
🛡️ API Rate-Limit & Performance
- Zero Extra API Calls: Uses 0 extra GitHub API requests. It purely derives insights from
issuesDataalready fetched byauditRepos()inAppContext.jsx(which is already cached for 1 hour in IndexedDB). - Mode Scoping Parity: Fully respects Standard Mode (top 10 repos per org, 1 page) and Complete Mode (all repos, 10 pages).
- Client Performance: Comparisons are isolated per repository (<100 items), completing in < 15ms inside
useMemowithout blocking the main UI thread.
Implementation Plan
- Add
src/services/duplicateDetection.jswith pure title similarity algorithms. - Add unit tests in
src/services/duplicateDetection.test.jsto verify edge cases and thresholds. - Add the tab and table view to
src/pages/GovernancePage.jsx.
Code of Conduct
- I have joined the Discord server and will post updates there
- I have searched existing issues to avoid duplicates
- 主要语言
- JavaScript
- 星标
- 53
- 派生
- 182
- 平均合并
- 18 分钟
- 30 天内合并 PR
- 2
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
AOSSIE-Org/OrgExplorer 的其他 Issue
-
[BUG]: PAT popup input lacks label association and visibility button lacks an accessible name可能已有人在做 @prasanm1423 于 3 天前认领。 未关闭bug enhancement
难度 2/5 1-3 小时 新手友好度 78/100
AOSSIE-Org/OrgExplorer#466 · 2 条评论 ·
维护者通常 1 天内回复
-
[FEATURE]: Set dynamic document.title based on active page route可能已有人在做 @23241a6749 于 1 天前认领。 未关闭enhancement
难度 2/5 1-3 小时 新手友好度 78/100
AOSSIE-Org/OrgExplorer#462 · 2 条评论 ·
维护者通常 1 天内回复
-
[BUG]: SocialShareButton logs unconditional console.warn when script is not loaded可能已有人在做 @vivekrajputofficial29-afk 于 1 天前认领。 未关闭bug enhancement
难度 1/5 1 小时以内 新手友好度 89/100
AOSSIE-Org/OrgExplorer#461 · 1 条评论 ·
维护者通常 1 天内回复
-
[BUG]: governance page shows "No dead issues" before the audit has run可能重新可做 @SYED-IRTEZA-HUSSAIN-RIZVI 于 8 天前认领,目前没有进行中的 PR。 未关闭bug
难度 2/5 1-3 小时 新手友好度 83/100
AOSSIE-Org/OrgExplorer#453 · 3 条评论 ·
维护者通常 1 天内回复
-
[BUG]: User-controlled org/repo names are interpolated into API URLs unencoded可能已有人在做 @AbhishekKumar-cse 于 10 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 66/100
AOSSIE-Org/OrgExplorer#449 · 1 条评论 ·
维护者通常 1 天内回复
查看 AOSSIE-Org/OrgExplorer 的全部 Issue
相似的 Issue
-
enhancement frontend good first issue help wanted
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 2 天内回复
-
marketing
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
[bug]: Maximizing the Windows dashboard covers the taskbar可能已有人在做 @xiufengsun 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 63/100
xiufengsun/TokenTracker#1152 · 1 条评论 ·
维护者通常 1 天内回复
-
Bug Tests
难度 2/5 1-3 小时 新手友好度 78/100
JSPrismarine/JSPrismarine#3384 ·
维护者通常 1 天内回复
-
cat:test dx effort:xs sev:low
难度 1/5 1-3 小时 新手友好度 82/100
LucasSantana-Dev/Lucky#3251 ·
维护者通常 1 天内回复