quotentiroler/aegis
View on GitHub ↗
Unique within the repo — the other 10% repeats across its own files.
Unique across all public code — a further 22% is its own but appears in other public repos too.
Tidy, but not new — the code doesn't repeat itself, yet a large share already exists across other public repos. A strong candidate for pulling from (or publishing as) a shared package.
Worth consolidating — in the code
Real, actionable duplication in this repo's source, most concrete first.
Longest identical blocks
The longest runs of identical consecutive lines copied between two files (indentation ignored) — the most concrete copy-paste. Lift the block into a shared function or module.
| Lines | File A | File B | Cross-repo |
|---|---|---|---|
| 6 | quotentiroler/aegis/src/index.tsx:181 |
quotentiroler/aegis/tests/hf-models.integration.test.ts:47 |
same repo |
Top duplication hotspots
| Similarity | Overlap | File A | File B | Cross-repo |
|---|---|---|---|---|
| 12% | 79 | quotentiroler/aegis/src/pages/about.tsx |
quotentiroler/aegis/src/pages/scan.tsx |
same repo |
| 7% | 77 | quotentiroler/aegis/src/pages/dashboard.tsx |
quotentiroler/aegis/src/pages/report.tsx |
same repo |
| 3% | 51 | quotentiroler/aegis/src/lib/safety-checks.ts |
quotentiroler/aegis/src/pages/about.tsx |
same repo |
| 4% | 50 | quotentiroler/aegis/src/lib/safety-checks.ts |
quotentiroler/aegis/src/lib/scoring.ts |
same repo |
| 3% | 49 | quotentiroler/aegis/src/index.tsx |
quotentiroler/aegis/src/lib/safety-checks.ts |
same repo |
| 12% | 43 | quotentiroler/aegis/tests/prompt-quality.test.ts |
quotentiroler/aegis/tests/scoring.test.ts |
same repo |
| 6% | 37 | quotentiroler/aegis/src/index.tsx |
quotentiroler/aegis/tests/hf-models.integration.test.ts |
same repo |
Duplicate declarations
The same function, variable, class, or type name declared in more than one file — a fast copy-paste signal. Consider extracting a shared definition.
| Files | Declaration | Where |
|---|---|---|
| 5 | class btn |
quotentiroler/aegis/src/components/scan-form.tsxquotentiroler/aegis/src/lib/errors.tsxquotentiroler/aegis/src/pages/dashboard.tsx+2 more |
| 4 | class section |
quotentiroler/aegis/src/pages/about.tsxquotentiroler/aegis/src/pages/dashboard.tsxquotentiroler/aegis/src/pages/report.tsx+1 more |
| 2 | class badge |
quotentiroler/aegis/src/components/score-badge.tsxquotentiroler/aegis/src/pages/report.tsx |
| 2 | class card |
quotentiroler/aegis/src/pages/dashboard.tsxquotentiroler/aegis/src/pages/home.tsx |
| 2 | class stat |
quotentiroler/aegis/src/pages/dashboard.tsxquotentiroler/aegis/src/pages/home.tsx |
Docs & prose
Near-identical documentation — often translations (e.g. README.md ⇄ README_zh-CN.md) or mirrored guides. Usually intentional, not cleanup — listed separately so it doesn't inflate the code signal above.
Top duplication hotspots
| Similarity | Overlap | File A | File B | Cross-repo |
|---|---|---|---|---|
| 5% | 636 | quotentiroler/aegis/papers/2404.01318.md |
quotentiroler/aegis/papers/2502.13141.md |
same repo |
| 5% | 623 | quotentiroler/aegis/papers/2404.01318.md |
quotentiroler/aegis/papers/2512.05485.md |
same repo |
| 6% | 562 | quotentiroler/aegis/papers/2403.04957.md |
quotentiroler/aegis/papers/2502.13141.md |
same repo |
| 5% | 542 | quotentiroler/aegis/papers/2403.04957.md |
quotentiroler/aegis/papers/2404.01318.md |
same repo |
| 4% | 512 | quotentiroler/aegis/papers/2502.13141.md |
quotentiroler/aegis/papers/2512.05485.md |
same repo |
| 4% | 471 | quotentiroler/aegis/papers/2403.04957.md |
quotentiroler/aegis/papers/2512.05485.md |
same repo |
| 3% | 256 | quotentiroler/aegis/papers/2512.05485.md |
quotentiroler/aegis/research/2026-03-15T17-01-16_ai-safety-evaluation-frameworks-prompt-injection-detection.md |
same repo |
| 6% | 234 | quotentiroler/aegis/research/2026-03-15T17-01-16_ai-safety-evaluation-frameworks-prompt-injection-detection.md |
quotentiroler/aegis/research/2026-03-15T17-44-27_competitive-landscape-of-ai-safety-evaluation-tools-and-prom.md |
same repo |
| 2% | 222 | quotentiroler/aegis/papers/2404.01318.md |
quotentiroler/aegis/research/2026-03-15T17-01-16_ai-safety-evaluation-frameworks-prompt-injection-detection.md |
same repo |
| 2% | 183 | quotentiroler/aegis/papers/2502.13141.md |
quotentiroler/aegis/research/2026-03-15T17-01-16_ai-safety-evaluation-frameworks-prompt-injection-detection.md |
same repo |
| 2% | 171 | quotentiroler/aegis/papers/2512.05485.md |
quotentiroler/aegis/research/2026-03-15T17-44-27_competitive-landscape-of-ai-safety-evaluation-tools-and-prom.md |
same repo |
| 3% | 170 | quotentiroler/aegis/papers/2403.04957.md |
quotentiroler/aegis/research/2026-03-15T17-01-16_ai-safety-evaluation-frameworks-prompt-injection-detection.md |
same repo |
| 1% | 115 | quotentiroler/aegis/papers/2404.01318.md |
quotentiroler/aegis/research/2026-03-15T17-44-27_competitive-landscape-of-ai-safety-evaluation-tools-and-prom.md |
same repo |
| 1% | 105 | quotentiroler/aegis/README.md |
quotentiroler/aegis/papers/2404.01318.md |
same repo |
| 1% | 102 | quotentiroler/aegis/papers/2502.13141.md |
quotentiroler/aegis/research/2026-03-15T17-44-27_competitive-landscape-of-ai-safety-evaluation-tools-and-prom.md |
same repo |
| 2% | 95 | quotentiroler/aegis/papers/2403.04957.md |
quotentiroler/aegis/research/2026-03-15T17-44-27_competitive-landscape-of-ai-safety-evaluation-tools-and-prom.md |
same repo |
| 6% | 93 | quotentiroler/aegis/README.md |
quotentiroler/aegis/public/llms.txt |
same repo |
| 1% | 93 | quotentiroler/aegis/README.md |
quotentiroler/aegis/papers/2502.13141.md |
same repo |
| 2% | 87 | quotentiroler/aegis/README.md |
quotentiroler/aegis/papers/2403.04957.md |
same repo |
| 1% | 84 | quotentiroler/aegis/README.md |
quotentiroler/aegis/papers/2512.05485.md |
same repo |
Largest files
Largest files
| LOC | File | Status |
|---|---|---|
| 3284 | quotentiroler/aegis/papers/2512.05485.md | indexed |
| 3089 | quotentiroler/aegis/papers/2502.13141.md | indexed |
| 2040 | quotentiroler/aegis/papers/2404.01318.md | indexed |
| 1536 | quotentiroler/aegis/papers/2403.04957.md | indexed |
| 856 | quotentiroler/aegis/public/styles.css | indexed |
| 444 | quotentiroler/aegis/src/lib/safety-checks.ts | indexed |
| 420 | quotentiroler/aegis/src/pages/report.tsx | indexed |
| 285 | quotentiroler/aegis/README.md | indexed |
| 269 | quotentiroler/aegis/src/pages/dashboard.tsx | indexed |
| 214 | quotentiroler/aegis/research/2026-03-15T17-01-16_ai-safety-evaluation-frameworks-prompt-injection-detection.md | indexed |