THU-MAIC/OpenMAIC
Open Multi-Agent Interactive Classroom — Get an immersive, multi-agent learning experience in just one click
The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.
Most complex files
- packages/@openmaic/importer/src1/shapePath.js953 cx
- packages/@openmaic/importer/src/shapes/presets.ts712 cx
- packages/@openmaic/importer/src/serializer/textSerializer.ts593 cx
- packages/pptxgenjs/src/gen-objects.ts578 cx
- tests/server/generation-runs.pg.test.ts541 cx
- packages/pptxgenjs/src/gen-xml.ts528 cx
- lib/workbench/session-store.ts496 cx
- packages/@openmaic/generation/src/scene-generator.ts496 cx
- lib/server/agent-runtime/runner.ts494 cx
- packages/pptxgenjs/src/gen-charts.ts482 cx
Dead code 2.67% unused · 206 findings
- packages/pptxgenjs/src/gen-charts.tsunused-file
- packages/pptxgenjs/src/gen-xml.tsunused-file
- packages/pptxgenjs/src/core-interfaces.tsunused-file
- configs/symbol.tsunused-file
- packages/pptxgenjs/src/gen-objects.tsunused-file
- components/ai-elements/prompt-input.tsxunused-file
- packages/pptxgenjs/src/pptxgen.tsunused-file
- packages/pptxgenjs/src/core-enums.tsunused-file
- packages/pptxgenjs/src/gen-tables.tsunused-file
- components/ai-elements/message.tsxunused-file
The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code, and 6 generated files: lib/video-export/emit-hyperframes/katex-assets.ts, lib/video-export/emit-hyperframes/noto-cjk-assets.ts, lib/video-export/emit-hyperframes/noto-script-font-assets.ts, packages/@openmaic/renderer/scripts/generate-fonts-css.mjs, packages/@openmaic/renderer/scripts/generate-katex-fonts.mjs, packages/@openmaic/renderer/src/snapshot/katex-fonts-embed.ts.
Largest clones in the code
- 1029 lines in 2 placestypescript5,440 tokens
3import { ShapePathFormulasKeys } from '@openmaic/dsl'; 4 5export interface ShapePoolItem { 6 viewBox: [number, number]; 7 path: string; 8 special?: boolean; 9 pathFormula?: ShapePathFormulasKeys; 10 outlined?: boolean; 11 pptxShapeType?: string; 12 title?: string;First 10 of 1029 lines.
- 247 lines in 2 placestypescript2,432 tokens
30export const SHAPE_PATH_FORMULAS: Record<string, ShapePathFormula> = { 31 [ShapePathFormulasKeys.ROUND_RECT]: { 32 editable: true, 33 defaultValue: [0.125], 34 range: [[0, 0.5]], 35 relative: ['left'], 36 getBaseSize: [(width, height) => Math.min(width, height)], 37 formula: (width, height, values) => { 38 const radius = Math.min(width, height) * values![0]; 39 return `M ${radius} 0 L ${width - radius} 0 Q ${width} 0 ${width} ${radius} L ${width} ${height - radius} Q ${width} ${height} ${width - radius} ${height…First 10 of 247 lines.
- 684 lines in 2 placestypescript1,797 tokens
16import type { SceneOutline } from '@/lib/types/generation'; 17 18export type { 19 PBLProject, 20 PBLRole, 21 PBLDocument, 22 PBLScenarioConfig, 23 PBLScenarioCharacter, 24 PBLSceneVisual, 25 PBLThreadSeat,First 10 of 684 lines.
7 more
- 127 lines in 2 placestypescript776 tokens
- 55 lines in 3 placesjavascript364 tokens
- 112 lines in 2 placestsx719 tokens
- 52 lines in 2 placesjavascript689 tokens
- 115 lines in 2 placestsx649 tokens
- 97 lines in 2 placestypescript642 tokens
- 118 lines in 2 placestypescript567 tokens
Largest clones over all files, tests and data included
- 1029 lines in 2 placestypescript5,440 tokens
3import { ShapePathFormulasKeys } from '@openmaic/dsl'; 4 5export interface ShapePoolItem { 6 viewBox: [number, number]; 7 path: string; 8 special?: boolean; 9 pathFormula?: ShapePathFormulasKeys; 10 outlined?: boolean; 11 pptxShapeType?: string; 12 title?: string;First 10 of 1029 lines.
- 110 lines in 9 placesjsontranslations435 tokenslib/i18n/locales/de-DE.json:1591–1700lib/i18n/locales/en-US.json:1591–1700lib/i18n/locales/es-MX.json:1591–1700lib/i18n/locales/fr-FR.json:1591–1700lib/i18n/locales/ko-KR.json:1591–1700and 4 more
1591"lang_auto": "Automatisch erkennen", 1592"lang_zh": "中文", 1593"lang_yue": "粤語", 1594"lang_en": "English", 1595"lang_ja": "日本語", 1596"lang_ko": "한국어", 1597"lang_es": "Español", 1598"lang_fr": "Français", 1599"lang_de": "Deutsch", 1600"lang_ru": "Русский",First 10 of 110 lines.
- 60 lines in 7 placesmarkuptests555 tokenspackages/@openmaic/importer/test/fixtures/slide6-table.xml:317–376packages/@openmaic/importer/test/fixtures/slide6-table.xml:389–448packages/@openmaic/importer/test/fixtures/slide6-table.xml:639–698packages/@openmaic/importer/test/fixtures/slide6-table.xml:889–948packages/@openmaic/importer/test/fixtures/slide6-table.xml:1186–1245and 2 more
317 <a:t>AM</a:t> 318 </a:r> 319 <a:endParaRPr lang="zh-CN" sz="2000" b="0" kern="100" dirty="0"> 320 <a:latin typeface="微软雅黑" panose="020B0503020204020204" pitchFamily="34" charset="-122" /> 321 <a:ea typeface="微软雅黑" panose="020B0503020204020204" pitchFamily="34" charset="-122" /> 322 <a:cs typeface="Times New Roman" panose="02020603050405020304" /> 323 </a:endParaRPr> 324 </a:p> 325</a:txBody> 326<a:tcPr marL="68580" marR="68580" marT="0" marB="0" anchor="ctr">First 10 of 60 lines.
- 59 lines in 7 placesmarkuptests546 tokenspackages/@openmaic/importer/test/fixtures/slide6-table.xml:317–375packages/@openmaic/importer/test/fixtures/slide6-table.xml:453–511packages/@openmaic/importer/test/fixtures/slide6-table.xml:703–761packages/@openmaic/importer/test/fixtures/slide6-table.xml:953–1011packages/@openmaic/importer/test/fixtures/slide6-table.xml:1270–1328and 2 more
- 56 lines in 6 placesmarkuptests528 tokenspackages/@openmaic/importer/test/fixtures/slide6-table.xml:503–558packages/@openmaic/importer/test/fixtures/slide6-table.xml:753–808packages/@openmaic/importer/test/fixtures/slide6-table.xml:1003–1058packages/@openmaic/importer/test/fixtures/slide6-table.xml:1320–1375packages/@openmaic/importer/test/fixtures/slide6-table.xml:1570–1625and 1 more
By format, code only
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| typescript | 1,314 | 304,808 | 614 | 10,763 | 3.53% |
| tsx | 401 | 91,733 | 199 | 3,385 | 3.69% |
| javascript | 90 | 19,368 | 148 | 2,098 | 10.83% |
| bash | 4 | 230 | 0 | 0 | 0% |
By format, all files
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| typescript | 2,707 | 663,938 | 3,045 | 44,904 | 6.76% |
| tsx | 458 | 102,038 | 331 | 4,843 | 4.75% |
| json | 86 | 56,614 | 191 | 9,783 | 17.28% |
| javascript | 110 | 22,174 | 159 | 2,299 | 10.37% |
| markup | 19 | 3,218 | 78 | 2,099 | 65.23% |
| markdown | 142 | 23,012 | 28 | 377 | 1.64% |
| txt | 7 | 789 | 9 | 199 | 25.22% |
| css | 10 | 4,585 | 7 | 51 | 1.11% |
| yaml | 32 | 2,685 | 6 | 119 | 4.43% |
| text | 21 | 527 | 2 | 19 | 3.61% |
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | All files | Code | Health | Commit |
|---|---|---|---|---|---|---|---|---|---|
| Nov 1, 2026 | #5 | 42,257 (+116) | 3,607 | 880,167 | 3,857 | 7.35% | 3.9% | C 59.7 | fe2cf7d |
| Sep 11, 2026 | #10 | 35,504 (+837) | 2,696 | 622,631 | 2,814 | 8.23% | 4.95% | — | d5be393 |
| Sep 2, 2026 | #3 | 29,790 (+3,128) | 2,643 | 610,050 | 2,734 | 8.25% | 5.01% | — | d4ef5fa |
| Sep 1, 2026 | #3 | 28,806 (+2,824) | 2,643 | 610,050 | 2,734 | 8.25% | 5.01% | — | 32bfd19 |
Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.