[FEATURE]: Detect Potential Duplicate Issues and PRs on Governance Page
Maintainers usually reply within 1 day
@amankv1234 is already working on this.
Since Oct 29, 2026.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 66/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- github, javascript, react
Research direction
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.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- JavaScript
- Stars
- 53
- Forks
- 187
- Avg merge
- 18m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AOSSIE-Org/OrgExplorer
-
[BUG]: Organization filter dropdown in AnalyticsPage renders empty list due to truthy evaluation of empty issuesDataPossibly taken @havyasreekuppam claimed this 5 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
AOSSIE-Org/OrgExplorer#476 · 5 comments ·
Maintainers usually reply within 1 day
-
Add Pat for 5000 req/hr button not visible when pat expiresPossibly taken @Rajvardhan-Singh-Rathore claimed this 6 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
AOSSIE-Org/OrgExplorer#473 · 6 comments ·
Maintainers usually reply within 1 day
-
[BUG]: PAT popup input lacks label association and visibility button lacks an accessible namePossibly taken @prasanm1423 claimed this 10 days ago. Openbug enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AOSSIE-Org/OrgExplorer#466 · 2 comments ·
Maintainers usually reply within 1 day
-
[FEATURE]: Set dynamic document.title based on active page routePossibly taken @23241a6749 claimed this 8 days ago. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AOSSIE-Org/OrgExplorer#462 · 2 comments ·
Maintainers usually reply within 1 day
-
[BUG]: SocialShareButton logs unconditional console.warn when script is not loadedPossibly taken @vivekrajputofficial29-afk claimed this 8 days ago. Openbug enhancement
Difficulty 1/5 Under an hour Newbie friendliness 89/100
AOSSIE-Org/OrgExplorer#461 · 1 comment ·
Maintainers usually reply within 1 day
All issues in AOSSIE-Org/OrgExplorer
Similar issues
-
marketing
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Kanevry/session-orchestrator#108 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
awesomemotive/all-in-one-seo-pack#3238 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
andromarces/agent-loops#2055 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days