| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Note
Copilot was unable to run its full agentic suite in this review.
Updates the curated repository list and ensures generated repository results don’t contain duplicates.
Changes:
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| happycommits.json | Removes specific repositories from the curated list. |
| generate.ts | Introduces repository de-duplication prior to randomizing output order. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
| const uniqueByRepositoryKey = (repositories: RepositoryModel[]) => | ||
| Array.from( | ||
| repositories.reduce((map, repository) => { | ||
| map.set(`${repository.owner}/${repository.name}`, repository); | ||
| return map; | ||
| }, new Map<string, RepositoryModel>()).values() | ||
| ); |
|
|
||
| return { | ||
| repositories: repoData.sort(() => Math.random() - 0.5), | ||
| repositories: uniqueByRepositoryKey(repoData).sort(() => Math.random() - 0.5), |
| Back | FazBrowse Home | New Git URL |
Removes duplicated repository entries from the source dataset and adds a guard in the generator to prevent repeated repositories from leaking into generated output.