[{"data":1,"prerenderedAt":657},["ShallowReactive",2],{"navigation_docs":3,"trending-repo-Friedrich-M\u002FUniMate":249,"page-views-\u002Ftrending\u002FFriedrich-M\u002FUniMate":655},[4,29,104,124,194],{"title":5,"icon":6,"path":7,"stem":8,"children":9},"Start",false,"\u002Fstart","1.start",[10,14,19,24],{"title":11,"path":7,"stem":12,"icon":13},"What jscpd finds","1.start\u002Findex","i-lucide-house",{"title":15,"path":16,"stem":17,"icon":18},"Installation","\u002Fstart\u002Finstallation","1.start\u002F2.installation","i-lucide-download",{"title":20,"path":21,"stem":22,"icon":23},"Quickstart","\u002Fstart\u002Fquickstart","1.start\u002F3.quickstart","i-lucide-rocket",{"title":25,"path":26,"stem":27,"icon":28},"Configuration basics","\u002Fstart\u002Fconfiguration","1.start\u002F4.configuration","i-lucide-settings-2",{"title":30,"icon":6,"path":31,"stem":32,"children":33,"page":6},"Guides","\u002Fguides","2.guides",[34,39,44,49,54,59,64,69,74,79,84,89,94,99],{"title":35,"path":36,"stem":37,"icon":38},"Use jscpd in CI","\u002Fguides\u002Fci","2.guides\u002F01.ci","i-lucide-github",{"title":40,"path":41,"stem":42,"icon":43},"Pre-commit hooks","\u002Fguides\u002Fpre-commit","2.guides\u002F02.pre-commit","i-lucide-git-commit",{"title":45,"path":46,"stem":47,"icon":48},"Fail only on new duplication","\u002Fguides\u002Fbaseline","2.guides\u002F03.baseline","i-lucide-git-compare",{"title":50,"path":51,"stem":52,"icon":53},"Monorepos","\u002Fguides\u002Fmonorepos","2.guides\u002F04.monorepos","i-lucide-folder-tree",{"title":55,"path":56,"stem":57,"icon":58},"Cross-format detection","\u002Fguides\u002Fcross-format","2.guides\u002F05.cross-format","i-lucide-layers",{"title":60,"path":61,"stem":62,"icon":63},"Agents","\u002Fguides\u002Fagents","2.guides\u002F06.agents","i-lucide-cpu",{"title":65,"path":66,"stem":67,"icon":68},"Editors","\u002Fguides\u002Feditors","2.guides\u002F07.editors","i-lucide-code",{"title":70,"path":71,"stem":72,"icon":73},"Duplication over git history","\u002Fguides\u002Fhistory","2.guides\u002F08.history","i-lucide-chart-no-axes-combined",{"title":75,"path":76,"stem":77,"icon":78},"Dashboard and health score","\u002Fguides\u002Fdashboard","2.guides\u002F09.dashboard","i-lucide-layout-dashboard",{"title":80,"path":81,"stem":82,"icon":83},"Dead code","\u002Fguides\u002Fdead-code","2.guides\u002F10.dead-code","i-lucide-ghost",{"title":85,"path":86,"stem":87,"icon":88},"Comparing two codebases","\u002Fguides\u002Fcompare","2.guides\u002F11.compare","i-lucide-git-compare-arrows",{"title":90,"path":91,"stem":92,"icon":93},"Semantic clones","\u002Fguides\u002Fsemantic-clones","2.guides\u002F12.semantic-clones","i-lucide-brain-circuit",{"title":95,"path":96,"stem":97,"icon":98},"Similar functions","\u002Fguides\u002Fsimilarity","2.guides\u002F13.similarity","i-lucide-list-tree",{"title":100,"path":101,"stem":102,"icon":103},"Boundaries","\u002Fguides\u002Fboundaries","2.guides\u002F14.boundaries","i-lucide-fence",{"title":105,"icon":6,"path":106,"stem":107,"children":108,"page":6},"Concepts","\u002Fconcepts","3.concepts",[109,114,119],{"title":110,"path":111,"stem":112,"icon":113},"Types of code clones","\u002Fconcepts\u002Fclone-types","3.concepts\u002F1.clone-types","i-lucide-copy",{"title":115,"path":116,"stem":117,"icon":118},"How detection works","\u002Fconcepts\u002Fhow-detection-works","3.concepts\u002F2.how-detection-works","i-lucide-scan-search",{"title":120,"path":121,"stem":122,"icon":123},"The health score","\u002Fconcepts\u002Fhealth-score","3.concepts\u002F3.health-score","i-lucide-heart-pulse",{"title":125,"icon":6,"path":126,"stem":127,"children":128,"page":6},"Reference","\u002Freference","4.reference",[129,134,139,144,181,186,190],{"title":130,"path":131,"stem":132,"icon":133},"CLI options","\u002Freference\u002Fcli","4.reference\u002F1.cli","i-lucide-terminal",{"title":135,"path":136,"stem":137,"icon":138},"The config file","\u002Freference\u002Fconfig-file","4.reference\u002F2.config-file","i-lucide-settings",{"title":140,"path":141,"stem":142,"icon":143},"Exit codes","\u002Freference\u002Fexit-codes","4.reference\u002F3.exit-codes","i-lucide-log-out",{"title":145,"icon":6,"path":146,"stem":147,"children":148},"Reporters","\u002Freference\u002Freporters","4.reference\u002F4.reporters\u002Findex",[149,151,156,161,166,171,176],{"title":145,"path":146,"stem":147,"icon":150},"i-lucide-file-chart-column",{"title":152,"path":153,"stem":154,"icon":155},"HTML reporter","\u002Freference\u002Freporters\u002Fhtml","4.reference\u002F4.reporters\u002F2.html","i-lucide-file-code",{"title":157,"path":158,"stem":159,"icon":160},"JSON reporter","\u002Freference\u002Freporters\u002Fjson","4.reference\u002F4.reporters\u002F3.json","i-lucide-braces",{"title":162,"path":163,"stem":164,"icon":165},"Badge reporter","\u002Freference\u002Freporters\u002Fbadge","4.reference\u002F4.reporters\u002F4.badge","i-lucide-award",{"title":167,"path":168,"stem":169,"icon":170},"SARIF reporter","\u002Freference\u002Freporters\u002Fsarif","4.reference\u002F4.reporters\u002F5.sarif","i-lucide-shield-check",{"title":172,"path":173,"stem":174,"icon":175},"CodeClimate reporter","\u002Freference\u002Freporters\u002Fcodeclimate","4.reference\u002F4.reporters\u002F6.codeclimate","i-lucide-flag-triangle-right",{"title":177,"path":178,"stem":179,"icon":180},"OpenMetrics reporter","\u002Freference\u002Freporters\u002Fopenmetrics","4.reference\u002F4.reporters\u002F7.openmetrics","i-lucide-activity",{"title":182,"path":183,"stem":184,"icon":185},"Supported formats","\u002Freference\u002Fsupported-formats","4.reference\u002F5.supported-formats","i-lucide-languages",{"title":187,"path":188,"stem":189,"icon":38},"GitHub Action","\u002Freference\u002Fgithub-action","4.reference\u002F6.github-action",{"title":191,"path":192,"stem":193,"icon":68},"Rust crates","\u002Freference\u002Frust-crates","4.reference\u002F7.rust-crates",{"title":195,"icon":6,"path":196,"stem":197,"children":198,"page":6},"Project","\u002Fproject","5.project",[199,204,209,214,239,244],{"title":200,"path":201,"stem":202,"icon":203},"Changelog","\u002Fproject\u002Fchangelog","5.project\u002F1.changelog","i-lucide-scroll-text",{"title":205,"path":206,"stem":207,"icon":208},"Migrating from v4 to v5","\u002Fproject\u002Fmigration","5.project\u002F2.migration","i-lucide-arrow-right-left",{"title":210,"path":211,"stem":212,"icon":213},"jscpd v4 (TypeScript)","\u002Fproject\u002Fv4","5.project\u002F3.v4","i-simple-icons-typescript",{"title":215,"icon":6,"path":216,"stem":217,"children":218},"Benchmarks","\u002Fproject\u002Fbenchmarks","5.project\u002F4.benchmarks\u002Findex",[219,221,226,230,235],{"title":215,"path":216,"stem":217,"icon":220},"i-lucide-gauge",{"title":222,"path":223,"stem":224,"icon":225},"Detection Speed","\u002Fproject\u002Fbenchmarks\u002Fdetection-speed","5.project\u002F4.benchmarks\u002F2.detection-speed","i-lucide-zap",{"title":227,"path":228,"stem":229,"icon":58},"Multi-Format Detection","\u002Fproject\u002Fbenchmarks\u002Fcross-format","5.project\u002F4.benchmarks\u002F3.cross-format",{"title":231,"path":232,"stem":233,"icon":234},"AI Token Efficiency","\u002Fproject\u002Fbenchmarks\u002Fai-token-efficiency","5.project\u002F4.benchmarks\u002F4.ai-token-efficiency","i-lucide-sparkles",{"title":236,"path":237,"stem":238,"icon":93},"Embedding Models","\u002Fproject\u002Fbenchmarks\u002Fembedding-models","5.project\u002F4.benchmarks\u002F5.embedding-models",{"title":240,"path":241,"stem":242,"icon":243},"Research","\u002Fproject\u002Fresearch","5.project\u002F5.research","i-lucide-graduation-cap",{"title":245,"path":246,"stem":247,"icon":248},"Articles","\u002Fproject\u002Farticles","5.project\u002F6.articles","i-lucide-newspaper",{"name":250,"url":251,"appearances":252,"latest":268},"Friedrich-M\u002FUniMate","https:\u002F\u002Fgithub.com\u002FFriedrich-M\u002FUniMate",[253],{"date":254,"rank":255,"stars":256,"starsToday":257,"headSha":258,"sources":259,"lines":260,"clones":261,"duplicatedLines":262,"percentage":263,"codePercentage":264,"codeSources":265,"healthScore":266,"healthGrade":267},"2026-10-02",10,1123,217,"2c5b384715aa63d8639b1ed7eb74bfe614570c7a",159,39879,132,2090,5.24,4.06,142,69.3,"C",{"date":254,"generatedAt":269,"name":250,"url":251,"description":270,"language":271,"stars":256,"starsToday":257,"defaultBranch":272,"headSha":258,"durationMs":273,"total":274,"formats":278,"topClones":318,"health":471,"complexity":503,"deadCode":550,"code":587,"measuredAt":653,"jscpdVersion":654},"2026-10-02T05:30:30.297Z","[SIGGRAPH Asia 2026] UniMate: One Unified Model to Animate Diverse Skeletons","Python","main",104,{"sources":259,"lines":260,"tokens":275,"clones":261,"duplicatedLines":262,"duplicatedTokens":276,"percentage":263,"percentageTokens":277},259122,12518,4.83,[279,286,293,300,305,309,312,315],{"format":280,"sources":281,"lines":282,"clones":283,"duplicatedLines":284,"percentage":285},"python",102,35286,108,1500,4.25,{"format":287,"sources":288,"lines":289,"clones":290,"duplicatedLines":291,"percentage":292},"json",9,720,19,550,76.39,{"format":294,"sources":295,"lines":296,"clones":297,"duplicatedLines":298,"percentage":299},"bash",41,2587,5,40,1.55,{"format":301,"sources":302,"lines":303,"clones":304,"duplicatedLines":304,"percentage":304},"markdown",2,968,0,{"format":306,"sources":307,"lines":308,"clones":304,"duplicatedLines":304,"percentage":304},"perl",1,174,{"format":310,"sources":307,"lines":311,"clones":304,"duplicatedLines":304,"percentage":304},"txt",89,{"format":313,"sources":307,"lines":314,"clones":304,"duplicatedLines":304,"percentage":304},"mermaid",31,{"format":316,"sources":302,"lines":317,"clones":304,"duplicatedLines":304,"percentage":304},"text",24,[319,342,364,384,399,411,422,441,453,462],{"format":280,"lines":320,"tokens":321,"first":322,"others":326,"copies":302,"excerpt":330,"kind":341},33,359,{"name":323,"start":324,"end":325},"unimate\u002Fdataset\u002Fmixture\u002Faugmentations.py",238,270,[327],{"name":323,"start":328,"end":329},358,390,{"lines":331,"total":320},[332,333,334,335,336,337,338,339,337,340],"new_motion = np.zeros((n_frames, 1, D), dtype=motion.dtype)","new_motion[:, 0, 3:9] = motion[:, ji, 3:9]","","aug['motion'] = np.concatenate(","    [motion[:, :ji], new_motion, motion[:, ji:]], axis=1,",")","aug['offsets'] = np.concatenate(","    [offsets[:ji], offset_new[None], offsets[ji:]], axis=0,","aug['offsets'][ji + 1] = offset_ji_rem","code",{"format":280,"lines":298,"tokens":343,"first":344,"others":347,"copies":302,"excerpt":352,"kind":341},295,{"name":345,"start":281,"end":346},"data_process\u002Fmotion_rendering\u002Frender_mixamo.py",141,[348],{"name":349,"start":350,"end":351},"data_process\u002Fmotion_rendering\u002Frender_truebones.py",106,145,{"lines":353,"total":298},[354,355,356,357,358,359,360,361,362,363],"                         \"mesh_animation\u002Fanimate_mixamo.py.\")","parser.add_argument(\"--output_dir\", type=str, required=True,","                    help=\"Output directory.\")","parser.add_argument(\"--scale\", type=float, default=1.0,","                    help=\"Scene normalization scale.\")","parser.add_argument(\"--camera_dist\", type=float, default=1.5,","                    help=\"Camera distance from origin.\")","parser.add_argument(\"--resolution\", type=int, default=512,","                    help=\"Render resolution (square).\")","parser.add_argument(\"--fps\", type=int, default=RENDER_FPS,",{"format":280,"lines":320,"tokens":365,"first":366,"others":370,"copies":302,"excerpt":375,"kind":341},248,{"name":367,"start":368,"end":369},"unimate\u002Fmodels\u002Fdenoiser\u002Fblocks\u002Fcross.py",147,179,[371],{"name":372,"start":373,"end":374},"unimate\u002Fmodels\u002Fdenoiser\u002Fblocks\u002Fgraph.py",303,335,{"lines":376,"total":320},[377,378,379,334,380,381,334,382,334,383],"(shift_s, scale_s, gate_s,"," shift_t, scale_t, gate_t,"," shift_m, scale_m, gate_m) = self.adaLN_modulation(c).chunk(9, dim=-1)","def expand_to_x(z):","    return z[:, None, None, :]","use_ckpt = self.gradient_checkpointing and self.training","# spatial attn",{"format":280,"lines":385,"tokens":386,"first":387,"others":391,"copies":398,"kind":341},8,121,{"name":388,"start":389,"end":390},"data_process\u002Futils\u002Fplotting.py",645,652,[392,395],{"name":388,"start":393,"end":394},750,757,{"name":388,"start":396,"end":397},1194,1201,3,{"format":280,"lines":400,"tokens":401,"first":402,"others":406,"copies":302,"kind":341},34,240,{"name":403,"start":404,"end":405},"data_process\u002Futils\u002Ftopology.py",140,173,[407],{"name":408,"start":409,"end":410},"unimate\u002Futils\u002Ftopology_utils.py",167,201,{"format":280,"lines":412,"tokens":413,"first":414,"others":418,"copies":302,"kind":341},25,205,{"name":415,"start":416,"end":417},"unimate\u002Fmodels\u002Fdiffusion\u002Fgaussian_diffusion.py",504,528,[419],{"name":415,"start":420,"end":421},555,579,{"format":280,"lines":423,"tokens":424,"first":425,"others":428,"copies":297,"kind":341},15,51,{"name":415,"start":426,"end":427},647,661,[429,432,435,438],{"name":415,"start":430,"end":431},782,796,{"name":415,"start":433,"end":434},848,862,{"name":415,"start":436,"end":437},1255,1269,{"name":415,"start":439,"end":440},1297,1311,{"format":280,"lines":442,"tokens":443,"first":444,"others":448,"copies":302,"kind":341},32,199,{"name":445,"start":446,"end":447},"unimate\u002Fmodels\u002Fdenoiser\u002Ffull_adaln.py",80,111,[449],{"name":450,"start":451,"end":452},"unimate\u002Fmodels\u002Fdenoiser\u002Ffull_cross_attn.py",103,134,{"format":280,"lines":454,"tokens":455,"first":456,"others":458,"copies":302,"kind":341},29,190,{"name":445,"start":457,"end":424},23,[459],{"name":450,"start":460,"end":461},27,55,{"format":280,"lines":454,"tokens":463,"first":464,"others":467,"copies":302,"kind":341},188,{"name":415,"start":465,"end":466},806,834,[468],{"name":415,"start":469,"end":470},1130,1158,{"score":266,"grade":267,"size":472,"dimensions":475},{"lines":473,"files":265,"class":474},37993,"M",[476,487,496],{"id":477,"source":478,"value":479,"adjusted":480,"lines":481,"halfLife":482,"formats":483,"excluded":484,"weight":307,"score":486},"duplication","jscpd",4.1,4,1540,8.5,[280,294,306],[316,485],"data",72,{"id":488,"source":478,"value":489,"adjusted":490,"lines":491,"halfLife":492,"coverage":493,"weight":494,"score":495},"dead-code",0.1,0.2,20,7.5,92.9,0.929,98,{"id":497,"source":478,"value":498,"adjusted":499,"lines":500,"halfLife":501,"weight":307,"score":502},"complexity",54,52.3,20505,50,48.4,{"total":504,"mean":505,"files":506},5136,36.2,[507,512,516,521,526,530,535,540,544,547],{"path":508,"complexity":509,"lines":510,"bytes":511},"data_process\u002Ftools\u002Fpatch_annotations.py",267,952,46381,{"path":513,"complexity":509,"lines":514,"bytes":515},"unimate\u002Fdataset\u002Fmixture\u002Fdataset.py",1696,74196,{"path":517,"complexity":518,"lines":519,"bytes":520},"data_process\u002Futils\u002Fblender_export.py",220,1230,52468,{"path":522,"complexity":523,"lines":524,"bytes":525},"data_process\u002Futils\u002Fblender_render.py",210,1190,49082,{"path":527,"complexity":528,"lines":397,"bytes":529},"unimate\u002Finference\u002Fsample.py",176,50669,{"path":531,"complexity":532,"lines":533,"bytes":534},"data_process\u002Futils\u002Fblender_rig.py",161,677,28275,{"path":536,"complexity":537,"lines":538,"bytes":539},"data_process\u002Fvlm_caption\u002Fclassify_category.py",150,623,30376,{"path":541,"complexity":452,"lines":542,"bytes":543},"data_process\u002Fjoint_annotation\u002Fnames_clean_rule.py",614,23030,{"path":388,"complexity":452,"lines":545,"bytes":546},1425,64644,{"path":415,"complexity":261,"lines":548,"bytes":549},1514,57480,{"percentage":551,"findings":552,"files":553,"byCategory":554,"largest":559},0.06,11,120,[555,557],{"category":556,"count":302},"unused-symbol",{"category":558,"count":288},"unused-import",[560,562,565,568,570,573,577,579,582,583],{"category":558,"path":517,"name":561,"line":317,"lines":297},"collect_joint_names_from_markers",{"category":556,"path":541,"name":563,"line":564,"lines":480},"_looks_unmapped",535,{"category":558,"path":508,"name":566,"line":567,"lines":302},"fk",85,{"category":558,"path":508,"name":569,"line":567,"lines":302},"qrot",{"category":556,"path":541,"name":571,"line":572,"lines":307},"_UNMAPPED_PATTERN",532,{"category":558,"path":574,"name":575,"line":576,"lines":307},"data_process\u002Fmotion_export\u002Fexport_truebones.py","bpy",18,{"category":558,"path":345,"name":575,"line":578,"lines":307},21,{"category":558,"path":580,"name":575,"line":581,"lines":307},"data_process\u002Fmotion_rendering\u002Frender_objaverse.py",17,{"category":558,"path":349,"name":575,"line":290,"lines":307},{"category":558,"path":584,"name":585,"line":586,"lines":307},"data_process\u002Futils\u002Fvlm.py","flash_attn",572,{"sources":265,"lines":588,"tokens":589,"clones":590,"duplicatedLines":481,"duplicatedTokens":591,"percentage":264,"percentageTokens":592,"formats":593,"topClones":600,"generated":651},37949,238678,113,10618,4.45,[594,595,599],{"format":280,"sources":281,"lines":282,"clones":283,"duplicatedLines":284,"percentage":285},{"format":294,"sources":596,"lines":597,"clones":297,"duplicatedLines":298,"percentage":598},39,2489,1.61,{"format":306,"sources":307,"lines":308,"clones":304,"duplicatedLines":304,"percentage":304},[601,607,613,619,624,628,632,639,643,647],{"format":280,"lines":320,"tokens":321,"first":602,"others":603,"copies":302,"excerpt":605,"kind":341},{"name":323,"start":324,"end":325},[604],{"name":323,"start":328,"end":329},{"lines":606,"total":320},[332,333,334,335,336,337,338,339,337,340],{"format":280,"lines":298,"tokens":343,"first":608,"others":609,"copies":302,"excerpt":611,"kind":341},{"name":345,"start":281,"end":346},[610],{"name":349,"start":350,"end":351},{"lines":612,"total":298},[354,355,356,357,358,359,360,361,362,363],{"format":280,"lines":320,"tokens":365,"first":614,"others":615,"copies":302,"excerpt":617,"kind":341},{"name":367,"start":368,"end":369},[616],{"name":372,"start":373,"end":374},{"lines":618,"total":320},[377,378,379,334,380,381,334,382,334,383],{"format":280,"lines":385,"tokens":386,"first":620,"others":621,"copies":398,"kind":341},{"name":388,"start":389,"end":390},[622,623],{"name":388,"start":393,"end":394},{"name":388,"start":396,"end":397},{"format":280,"lines":400,"tokens":401,"first":625,"others":626,"copies":302,"kind":341},{"name":403,"start":404,"end":405},[627],{"name":408,"start":409,"end":410},{"format":280,"lines":412,"tokens":413,"first":629,"others":630,"copies":302,"kind":341},{"name":415,"start":416,"end":417},[631],{"name":415,"start":420,"end":421},{"format":280,"lines":423,"tokens":424,"first":633,"others":634,"copies":297,"kind":341},{"name":415,"start":426,"end":427},[635,636,637,638],{"name":415,"start":430,"end":431},{"name":415,"start":433,"end":434},{"name":415,"start":436,"end":437},{"name":415,"start":439,"end":440},{"format":280,"lines":442,"tokens":443,"first":640,"others":641,"copies":302,"kind":341},{"name":445,"start":446,"end":447},[642],{"name":450,"start":451,"end":452},{"format":280,"lines":454,"tokens":455,"first":644,"others":645,"copies":302,"kind":341},{"name":445,"start":457,"end":424},[646],{"name":450,"start":460,"end":461},{"format":280,"lines":454,"tokens":463,"first":648,"others":649,"copies":302,"kind":341},{"name":415,"start":465,"end":466},[650],{"name":415,"start":469,"end":470},{"files":304,"minified":304,"sample":652},[],"2026-10-07T06:36:53.314Z","5.4.0",{"\u002Ftrending\u002FFriedrich-M\u002FUniMate":656},{"views":480,"visits":398},1795510257487]