[{"data":1,"prerenderedAt":655},["ShallowReactive",2],{"navigation_docs":3,"trending-repo-Robbyant\u002Flingbot-map":249,"page-views-\u002Ftrending\u002FRobbyant\u002Flingbot-map":653},[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},"Robbyant\u002Flingbot-map","https:\u002F\u002Fgithub.com\u002FRobbyant\u002Flingbot-map",[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-10",6,17789,110,"8fdf984a7f9caf391622ea5843a8410900d27ef2",118,33442,111,2815,8.42,8.89,94,52.4,"D",{"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":325,"code":466,"health":533,"complexity":562,"deadCode":608},"2026-10-10T05:30:09.856Z","[ECCV 2026 Best Paper Award Candidate] LingBot-Map: Geometric Context Transformer for Streaming 3D Reconstruction","Python","main",1143,{"sources":259,"lines":260,"tokens":275,"clones":261,"duplicatedLines":262,"duplicatedTokens":276,"percentage":263,"percentageTokens":277},209788,18241,8.69,[279,286,293,299,306,311,314,317,320,322],{"format":280,"sources":281,"lines":282,"clones":283,"duplicatedLines":284,"percentage":285},"python",81,28225,101,2686,9.52,{"format":287,"sources":288,"lines":289,"clones":290,"duplicatedLines":291,"percentage":292},"markdown",3,1950,5,55,2.82,{"format":294,"sources":295,"lines":296,"clones":288,"duplicatedLines":297,"percentage":298},"bash",15,1048,22,2.1,{"format":300,"sources":301,"lines":302,"clones":303,"duplicatedLines":304,"percentage":305},"yaml",9,242,2,52,21.49,{"format":307,"sources":308,"lines":309,"clones":310,"duplicatedLines":310,"percentage":310},"javascript",1,829,0,{"format":312,"sources":308,"lines":313,"clones":310,"duplicatedLines":310,"percentage":310},"css",477,{"format":315,"sources":308,"lines":316,"clones":310,"duplicatedLines":310,"percentage":310},"txt",201,{"format":318,"sources":308,"lines":319,"clones":310,"duplicatedLines":310,"percentage":310},"perl",168,{"format":321,"sources":288,"lines":257,"clones":310,"duplicatedLines":310,"percentage":310},"text",{"format":323,"sources":308,"lines":324,"clones":310,"duplicatedLines":310,"percentage":310},"cpp",89,[326,351,373,395,406,415,423,432,444,455],{"format":280,"lines":327,"tokens":328,"first":329,"others":333,"copies":303,"excerpt":338,"kind":350},287,1708,{"name":330,"start":331,"end":332},"lingbot_map\u002Fmodels\u002Fgct_stream_window.py",527,813,[334],{"name":335,"start":336,"end":337},"lingbot_map\u002Fmodels\u002Fgct_stream_window_v2.py",590,876,{"lines":339,"total":327},[340,341,342,343,344,345,346,347,348,349],"# Phase 1: Process scale frames together","# These frames get bidirectional attention among themselves via scale token","logger.info(f'Processing {scale_frames} scale frames...')","scale_images = images[:, :scale_frames].to(_model_device, non_blocking=True)","scale_output = self.forward(","    scale_images,","    num_frame_for_scale=scale_frames,","    num_frame_per_block=scale_frames,  # Process all scale frames as one block","    causal_inference=True,",")","code",{"format":280,"lines":352,"tokens":353,"first":354,"others":357,"copies":303,"excerpt":361,"kind":350},180,1411,{"name":330,"start":355,"end":356},820,999,[358],{"name":335,"start":359,"end":360},883,1062,{"lines":362,"total":352},[363,364,365,366,367,368,369,370,371,372],"# Scale from depth — aggregate across all paired keyframes in overlap.","s_ab = unit_s.clone()","da = prev_pred.get(\"depth\")","db = curr_pred.get(\"depth\")","if (da is not None and db is not None","        and int(prev_depth_idx.max().item()) \u003C da.shape[1]","        and int(curr_depth_idx.max().item()) \u003C db.shape[1]):","    s_ab = GCTStream._depth_ratio_scale(","        da[:, prev_depth_idx, ..., 0],","        db[:, curr_depth_idx, ..., 0],",{"format":280,"lines":374,"tokens":375,"first":376,"others":379,"copies":303,"excerpt":383,"kind":350},163,1293,{"name":330,"start":377,"end":378},346,508,[380],{"name":335,"start":381,"end":382},409,571,{"lines":384,"total":374},[385,386,387,388,389,390,391,392,393,394],"non-keyframe processing in keyframe-based streaming inference.","","Args:","    skip: If True, subsequent forward passes will not append KV to cache.","\"\"\"","if hasattr(self.aggregator, 'kv_cache') and self.aggregator.kv_cache is not None:","    self.aggregator.kv_cache[\"_skip_append\"] = skip","# FlashInfer manager","if hasattr(self.aggregator, 'kv_cache_manager') and self.aggregator.kv_cache_manager is not None:","    self.aggregator.kv_cache_manager._skip_append = skip",{"format":280,"lines":396,"tokens":397,"first":398,"others":402,"copies":303,"kind":350},241,1218,{"name":399,"start":400,"end":401},"lingbot_map\u002Fmodels\u002Fgct_stream.py",93,333,[403],{"name":330,"start":404,"end":405},112,352,{"format":280,"lines":407,"tokens":408,"first":409,"others":412,"copies":303,"kind":350},211,1190,{"name":330,"start":410,"end":411},1000,1210,[413],{"name":335,"start":360,"end":414},1272,{"format":280,"lines":416,"tokens":417,"first":418,"others":419,"copies":303,"kind":350},216,1110,{"name":399,"start":259,"end":401},[420],{"name":335,"start":421,"end":422},200,415,{"format":280,"lines":424,"tokens":425,"first":426,"others":429,"copies":303,"kind":350},113,845,{"name":330,"start":427,"end":428},25,137,[430],{"name":335,"start":431,"end":421},88,{"format":280,"lines":433,"tokens":434,"first":435,"others":439,"copies":303,"kind":350},36,286,{"name":436,"start":437,"end":438},"benchmark\u002Fdatasets\u002Fkitti.py",116,151,[440],{"name":441,"start":442,"end":443},"benchmark\u002Fdatasets\u002Fvbr.py",95,130,{"format":280,"lines":445,"tokens":446,"first":447,"others":451,"copies":303,"kind":350},24,284,{"name":448,"start":449,"end":450},"lingbot_map\u002Flayers\u002Fattention.py",326,349,[452],{"name":448,"start":453,"end":454},706,729,{"format":280,"lines":456,"tokens":457,"first":458,"others":462,"copies":303,"kind":350},50,273,{"name":459,"start":460,"end":461},"benchmark\u002Frun.py",35,84,[463],{"name":464,"start":465,"end":281},"benchmark\u002Frun_worker.py",32,{"sources":265,"lines":467,"tokens":468,"clones":469,"duplicatedLines":470,"duplicatedTokens":471,"percentage":264,"percentageTokens":472,"formats":473,"topClones":484,"generated":531},30056,183026,99,2671,17147,9.37,[474,478,481,482,483],{"format":280,"sources":475,"lines":476,"clones":469,"duplicatedLines":470,"percentage":477},79,28102,9.5,{"format":294,"sources":479,"lines":480,"clones":310,"duplicatedLines":310,"percentage":310},12,868,{"format":307,"sources":308,"lines":309,"clones":310,"duplicatedLines":310,"percentage":310},{"format":318,"sources":308,"lines":319,"clones":310,"duplicatedLines":310,"percentage":310},{"format":323,"sources":308,"lines":324,"clones":310,"duplicatedLines":310,"percentage":310},[485,491,497,503,507,511,515,519,523,527],{"format":280,"lines":327,"tokens":328,"first":486,"others":487,"copies":303,"excerpt":489,"kind":350},{"name":330,"start":331,"end":332},[488],{"name":335,"start":336,"end":337},{"lines":490,"total":327},[340,341,342,343,344,345,346,347,348,349],{"format":280,"lines":352,"tokens":353,"first":492,"others":493,"copies":303,"excerpt":495,"kind":350},{"name":330,"start":355,"end":356},[494],{"name":335,"start":359,"end":360},{"lines":496,"total":352},[363,364,365,366,367,368,369,370,371,372],{"format":280,"lines":374,"tokens":375,"first":498,"others":499,"copies":303,"excerpt":501,"kind":350},{"name":330,"start":377,"end":378},[500],{"name":335,"start":381,"end":382},{"lines":502,"total":374},[385,386,387,388,389,390,391,392,393,394],{"format":280,"lines":396,"tokens":397,"first":504,"others":505,"copies":303,"kind":350},{"name":399,"start":400,"end":401},[506],{"name":330,"start":404,"end":405},{"format":280,"lines":407,"tokens":408,"first":508,"others":509,"copies":303,"kind":350},{"name":330,"start":410,"end":411},[510],{"name":335,"start":360,"end":414},{"format":280,"lines":416,"tokens":417,"first":512,"others":513,"copies":303,"kind":350},{"name":399,"start":259,"end":401},[514],{"name":335,"start":421,"end":422},{"format":280,"lines":424,"tokens":425,"first":516,"others":517,"copies":303,"kind":350},{"name":330,"start":427,"end":428},[518],{"name":335,"start":431,"end":421},{"format":280,"lines":433,"tokens":434,"first":520,"others":521,"copies":303,"kind":350},{"name":436,"start":437,"end":438},[522],{"name":441,"start":442,"end":443},{"format":280,"lines":445,"tokens":446,"first":524,"others":525,"copies":303,"kind":350},{"name":448,"start":449,"end":450},[526],{"name":448,"start":453,"end":454},{"format":280,"lines":456,"tokens":457,"first":528,"others":529,"copies":303,"kind":350},{"name":459,"start":460,"end":461},[530],{"name":464,"start":465,"end":281},{"files":310,"minified":310,"sample":532},[],{"score":266,"grade":267,"size":534,"dimensions":536},{"lines":467,"files":265,"class":535},"M",[537,548,556],{"id":538,"source":539,"value":540,"adjusted":541,"lines":470,"halfLife":542,"formats":543,"excluded":544,"weight":308,"score":547},"duplication","jscpd",8.9,8.6,8.5,[280,294,307,318,323],[545,321,546],"markup","data",49.8,{"id":549,"source":539,"value":550,"adjusted":290,"lines":551,"halfLife":552,"coverage":553,"weight":554,"score":555},"dead-code",5.1,1484,7.5,96.3,0.963,63,{"id":557,"source":539,"value":558,"adjusted":559,"lines":560,"halfLife":456,"weight":308,"score":561},"complexity",58,55.6,17419,46.2,{"total":563,"mean":564,"files":565},3874,41.2,[566,570,574,579,583,587,591,596,599,603],{"path":567,"complexity":449,"lines":568,"bytes":569},"benchmark\u002Fviewer.py",2000,82652,{"path":571,"complexity":572,"lines":309,"bytes":573},"benchmark\u002Fbenchmark\u002Freport\u002Ftemplates\u002Fapp.js",267,30093,{"path":575,"complexity":576,"lines":577,"bytes":578},"lingbot_map\u002Fvis\u002Fpoint_cloud_viewer.py",215,1443,58434,{"path":335,"complexity":580,"lines":581,"bytes":582},195,1349,56615,{"path":330,"complexity":584,"lines":585,"bytes":586},178,1274,53660,{"path":588,"complexity":404,"lines":589,"bytes":590},"benchmark\u002Fbenchmark\u002Fcore\u002Floader.py",549,21085,{"path":592,"complexity":593,"lines":594,"bytes":595},"benchmark\u002Fbenchmark\u002Fcore\u002Fsaver.py",102,433,18741,{"path":448,"complexity":597,"lines":454,"bytes":598},100,35600,{"path":600,"complexity":265,"lines":601,"bytes":602},"lingbot_map\u002Fvis\u002Fsky_segmentation.py",510,18720,{"path":604,"complexity":605,"lines":606,"bytes":607},"preprocess\u002Foxford.py",91,838,31836,{"percentage":609,"findings":610,"files":442,"byCategory":611,"largest":621},5.13,43,[612,614,616,618],{"category":613,"count":308},"unused-file",{"category":615,"count":288},"unused-export",{"category":617,"count":308},"unused-symbol",{"category":619,"count":620},"unused-import",38,[622,623,628,632,635,639,642,644,648,650],{"category":613,"path":335,"name":386,"line":308,"lines":581},{"category":615,"path":624,"name":625,"line":626,"lines":627},"lingbot_map\u002Futils\u002Fload_fn.py","load_and_preprocess_images_square",16,86,{"category":617,"path":629,"name":630,"line":631,"lines":301},"lingbot_map\u002Futils\u002Fgeometry.py","_sqrt_positive_part",686,{"category":619,"path":633,"name":634,"line":626,"lines":308},"lingbot_map\u002Faggregator\u002Fstream.py","Block",{"category":619,"path":636,"name":637,"line":638,"lines":308},"lingbot_map\u002Fheads\u002Fcamera_head.py","math",7,{"category":619,"path":636,"name":640,"line":641,"lines":308},"np",8,{"category":619,"path":636,"name":643,"line":479,"lines":308},"F",{"category":619,"path":645,"name":646,"line":647,"lines":308},"lingbot_map\u002Fheads\u002Fdpt_head.py","os",11,{"category":619,"path":645,"name":649,"line":479,"lines":308},"Dict",{"category":619,"path":651,"name":652,"line":641,"lines":308},"lingbot_map\u002Fheads\u002Futils.py","nn",{"\u002Ftrending\u002FRobbyant\u002Flingbot-map":654},{"views":647,"visits":255},1795510262945]