7 views

THU-MAIC/OpenMAIC

Open Multi-Agent Interactive Classroom — Get an immersive, multi-agent learning experience in just one click

TypeScript★ 42,257+116 that day#5 on trending

Analyzed November 1, 2026 at fe2cf7d (main) with jscpd v5 in 5.3s. Code duplication went from 5.01% on Sep 1 to 3.9% on Nov 1.

C59.7/100
Project health787,692 lines of code (L)
Duplication59
6.6% in typescript, tsx, javascript, docker, bash
Dead code78
2.7%
Complexity46
55.5%

The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.

3.9%duplicated code · 16,246 of 416,139 lines
961clones in code
1,809code files of 3,607 scanned
7.35%duplicated over all files · 3,857 clones

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
Largest clones over all files, tests and data included
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
typescript1,314304,80861410,7633.53%
tsx40191,7331993,3853.69%
javascript9019,3681482,09810.83%
bash4230000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
typescript2,707663,9383,04544,9046.76%
tsx458102,0383314,8434.75%
json8656,6141919,78317.28%
javascript11022,1741592,29910.37%
markup193,218782,09965.23%
markdown14223,012283771.64%
txt7789919925.22%
css104,5857511.11%
yaml322,68561194.43%
text215272193.61%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Nov 1, 2026#542,257 (+116)3,607880,1673,8577.35%3.9%C 59.7fe2cf7d
Sep 11, 2026#1035,504 (+837)2,696622,6312,8148.23%4.95%—d5be393
Sep 2, 2026#329,790 (+3,128)2,643610,0502,7348.25%5.01%—d4ef5fa
Sep 1, 2026#328,806 (+2,824)2,643610,0502,7348.25%5.01%—32bfd19

Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.