[{"data":1,"prerenderedAt":623},["ShallowReactive",2],{"navigation_docs":3,"trending-repo-google-research\u002Fpaper-orchestra":249,"page-views-\u002Ftrending\u002Fgoogle-research\u002Fpaper-orchestra":621},[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},"google-research\u002Fpaper-orchestra","https:\u002F\u002Fgithub.com\u002Fgoogle-research\u002Fpaper-orchestra",[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-11-17",11,1740,313,"d9bae997e793a015ed38bb1605be9eb58c00284f",45,10386,24,766,7.38,7.93,32,30.2,"E",{"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":303,"code":440,"health":509,"complexity":539,"deadCode":582},"2026-11-17T05:21:51.249Z","PaperOrchestra is a multi-agent framework for automated AI research paper writing.","Python","main",871,{"sources":259,"lines":260,"tokens":275,"clones":261,"duplicatedLines":262,"duplicatedTokens":276,"percentage":263,"percentageTokens":277},60460,3750,6.2,[279,286,293,297,301],{"format":280,"sources":281,"lines":282,"clones":283,"duplicatedLines":284,"percentage":285},"python",31,9032,22,718,7.95,{"format":287,"sources":288,"lines":289,"clones":290,"duplicatedLines":291,"percentage":292},"latex",6,756,2,48,6.35,{"format":294,"sources":288,"lines":295,"clones":296,"duplicatedLines":296,"percentage":296},"markdown",569,0,{"format":298,"sources":299,"lines":300,"clones":296,"duplicatedLines":296,"percentage":296},"bash",1,23,{"format":302,"sources":299,"lines":288,"clones":296,"duplicatedLines":296,"percentage":296},"text",[304,329,353,376,386,398,406,416,425,433],{"format":280,"lines":305,"tokens":306,"first":307,"others":311,"copies":290,"excerpt":316,"kind":328},117,566,{"name":308,"start":309,"end":310},"methods\u002Fpaper_writer.py",253,369,[312],{"name":313,"start":314,"end":315},"methods\u002Fpaper_writer_with_plotting.py",324,440,{"lines":317,"total":305},[318,319,320,321,322,323,324,325,326,327],"    writer_model_name=writer_model_name,","    research_cutoff=research_cutoff,",")","","if success:","    result[\"status\"] = \"success\"","    result[\"paper_path\"] = final_paper_path","    print(f\"Paper {paper_id} successfully written!\")","else:","    print(f\"Paper {paper_id} writing failed.\")","code",{"format":280,"lines":330,"tokens":331,"first":332,"others":336,"copies":290,"excerpt":341,"kind":328},92,385,{"name":333,"start":334,"end":335},"autoraters\u002Fsxs_lit_review_quality.py",237,328,[337],{"name":338,"start":339,"end":340},"autoraters\u002Fsxs_paper_quality.py",297,388,{"lines":342,"total":330},[343,344,345,346,347,348,349,350,351,352],"with ThreadPoolExecutor(max_workers=max_workers) as executor:","    futures = []","    for pid, p1, p2 in common_ids:","        f = executor.submit(","            _process_and_save_single_sxs,","            pid,","            p1,","            p2,","            output_json_path,","            current_results,",{"format":287,"lines":354,"tokens":355,"first":356,"others":359,"copies":290,"excerpt":364,"excerptSecond":373,"kind":328},41,335,{"name":357,"start":300,"end":358},"templates\u002Fcvpr2025\u002Ftemplate.tex",63,[360],{"name":361,"start":362,"end":363},"templates\u002Ficlr2025\u002Ftemplate.tex",20,60,{"lines":365,"total":354},[366,367,321,368,369,321,370,371,372,371],"{\\tt\\small researcher@institute.ai}","}","\\begin{document}","\\maketitle","\\begin{abstract}","%%%%%%%%% ABSTRACT %%%%%%%%%","Abstract here.",{"lines":374,"total":354},[375,321,368,321,369,321,370,371,372,371],"\\newcommand{\\new}{\\marginpar{NEW}}",{"format":280,"lines":377,"tokens":378,"first":379,"others":382,"copies":290,"kind":328},68,323,{"name":333,"start":380,"end":381},105,172,[383],{"name":338,"start":384,"end":385},165,232,{"format":280,"lines":387,"tokens":388,"first":389,"others":393,"copies":290,"kind":328},42,245,{"name":390,"start":391,"end":392},"utils\u002Fgemini_utils.py",71,112,[394],{"name":395,"start":396,"end":397},"utils\u002Fopenai_utils.py",52,93,{"format":280,"lines":259,"tokens":399,"first":400,"others":402,"copies":290,"kind":328},208,{"name":308,"start":401,"end":309},209,[403],{"name":313,"start":404,"end":405},277,321,{"format":280,"lines":407,"tokens":408,"first":409,"others":412,"copies":290,"kind":328},35,203,{"name":333,"start":410,"end":411},202,236,[413],{"name":338,"start":414,"end":415},262,296,{"format":280,"lines":417,"tokens":408,"first":418,"others":421,"copies":290,"kind":328},40,{"name":308,"start":419,"end":420},404,443,[422],{"name":313,"start":423,"end":424},481,520,{"format":280,"lines":426,"tokens":427,"first":428,"others":430,"copies":290,"kind":328},26,138,{"name":333,"start":335,"end":429},353,[431],{"name":338,"start":340,"end":432},413,{"format":280,"lines":434,"tokens":435,"first":436,"others":437,"copies":290,"kind":328},36,134,{"name":308,"start":310,"end":419},[438],{"name":313,"start":420,"end":439},478,{"sources":265,"lines":441,"tokens":442,"clones":283,"duplicatedLines":284,"duplicatedTokens":443,"percentage":264,"percentageTokens":444,"formats":445,"topClones":448,"generated":507},9055,46616,3350,7.19,[446,447],{"format":280,"sources":281,"lines":282,"clones":283,"duplicatedLines":284,"percentage":285},{"format":298,"sources":299,"lines":300,"clones":296,"duplicatedLines":296,"percentage":296},[449,455,461,475,479,483,487,491,495,499],{"format":280,"lines":305,"tokens":306,"first":450,"others":451,"copies":290,"excerpt":453,"kind":328},{"name":308,"start":309,"end":310},[452],{"name":313,"start":314,"end":315},{"lines":454,"total":305},[318,319,320,321,322,323,324,325,326,327],{"format":280,"lines":330,"tokens":331,"first":456,"others":457,"copies":290,"excerpt":459,"kind":328},{"name":333,"start":334,"end":335},[458],{"name":338,"start":339,"end":340},{"lines":460,"total":330},[343,344,345,346,347,348,349,350,351,352],{"format":280,"lines":377,"tokens":378,"first":462,"others":463,"copies":290,"excerpt":465,"kind":328},{"name":333,"start":380,"end":381},[464],{"name":338,"start":384,"end":385},{"lines":466,"total":377},[467,321,468,469,470,471,472,321,473,474],"rating2 = rate_sxs_lit_review(paper2_text, paper1_text, model_name=model_name)","if not rating1 or not rating2:","    print(","        f\"❌ [{paper_id}] Failed to get ratings for one or both rounds.\", flush=True","    )","    return paper_id, False","winner1 = rating1.get(\"winner\", \"\").lower() if isinstance(rating1, dict) else \"\"","winner2 = rating2.get(\"winner\", \"\").lower() if isinstance(rating2, dict) else \"\"",{"format":280,"lines":387,"tokens":388,"first":476,"others":477,"copies":290,"kind":328},{"name":390,"start":391,"end":392},[478],{"name":395,"start":396,"end":397},{"format":280,"lines":259,"tokens":399,"first":480,"others":481,"copies":290,"kind":328},{"name":308,"start":401,"end":309},[482],{"name":313,"start":404,"end":405},{"format":280,"lines":407,"tokens":408,"first":484,"others":485,"copies":290,"kind":328},{"name":333,"start":410,"end":411},[486],{"name":338,"start":414,"end":415},{"format":280,"lines":417,"tokens":408,"first":488,"others":489,"copies":290,"kind":328},{"name":308,"start":419,"end":420},[490],{"name":313,"start":423,"end":424},{"format":280,"lines":426,"tokens":427,"first":492,"others":493,"copies":290,"kind":328},{"name":333,"start":335,"end":429},[494],{"name":338,"start":340,"end":432},{"format":280,"lines":434,"tokens":435,"first":496,"others":497,"copies":290,"kind":328},{"name":308,"start":310,"end":419},[498],{"name":313,"start":420,"end":439},{"format":280,"lines":407,"tokens":500,"first":501,"others":503,"copies":290,"kind":328},127,{"name":308,"start":502,"end":330},58,[504],{"name":313,"start":505,"end":506},64,98,{"files":296,"minified":296,"sample":508},[],{"score":266,"grade":267,"size":510,"dimensions":513},{"lines":511,"files":434,"class":512},9722,"S",[514,523,532],{"id":515,"source":516,"value":517,"adjusted":518,"lines":262,"halfLife":519,"formats":520,"excluded":521,"weight":299,"score":522},"duplication","jscpd",7.9,7.1,8.5,[280,287,298],[302],55.9,{"id":524,"source":516,"value":525,"adjusted":526,"lines":527,"halfLife":528,"coverage":529,"weight":530,"score":531},"dead-code",34,28.4,3071,7.5,92.9,0.929,7.2,{"id":533,"source":516,"value":534,"adjusted":535,"lines":536,"halfLife":537,"weight":299,"score":538},"complexity",37.8,34.9,3671,50,61.7,{"total":540,"mean":541,"files":542},1041,28.9,[543,548,552,557,560,563,567,572,574,579],{"path":544,"complexity":545,"lines":546,"bytes":547},"autoraters\u002Fcitation_f1.py",132,862,31494,{"path":549,"complexity":500,"lines":550,"bytes":551},"frontend\u002Fapp.py",1082,46724,{"path":553,"complexity":554,"lines":555,"bytes":556},"methods\u002Fagents\u002Fliterature_review_agent.py",101,607,22575,{"path":338,"complexity":558,"lines":432,"bytes":559},70,14002,{"path":333,"complexity":561,"lines":429,"bytes":562},65,11512,{"path":390,"complexity":564,"lines":565,"bytes":566},56,354,12393,{"path":568,"complexity":569,"lines":570,"bytes":571},"methods\u002Fagents\u002Fcontent_refinement_agent.py",47,593,23036,{"path":313,"complexity":569,"lines":424,"bytes":573},20016,{"path":575,"complexity":576,"lines":577,"bytes":578},"utils\u002Fpdf_utils.py",46,293,9854,{"path":308,"complexity":580,"lines":420,"bytes":581},43,16572,{"percentage":525,"findings":580,"files":281,"byCategory":583,"largest":595},[584,587,590,592],{"category":585,"count":586},"unused-file",8,{"category":588,"count":589},"unused-export",10,{"category":591,"count":288},"unused-symbol",{"category":593,"count":594},"unused-import",19,[596,597,598,601,602,605,609,612,615,617],{"category":585,"path":544,"name":321,"line":299,"lines":546},{"category":585,"path":338,"name":321,"line":299,"lines":432},{"category":585,"path":599,"name":321,"line":299,"lines":600},"autoraters\u002Flit_review_quality.py",357,{"category":585,"path":333,"name":321,"line":299,"lines":429},{"category":585,"path":603,"name":321,"line":299,"lines":604},"autoraters\u002Fprompts\u002Flit_review_quality_prompts.py",207,{"category":588,"path":313,"name":606,"line":607,"lines":608},"run_batch_writeup",430,91,{"category":585,"path":610,"name":321,"line":299,"lines":611},"methods\u002Fprompts\u002Fformat_agent.py",90,{"category":585,"path":613,"name":321,"line":299,"lines":614},"autoraters\u002Fprompts\u002Fsxs_quality_prompts.py",85,{"category":588,"path":308,"name":606,"line":616,"lines":614},359,{"category":588,"path":313,"name":618,"line":619,"lines":620},"process_paper_task",268,74,{"\u002Ftrending\u002Fgoogle-research\u002Fpaper-orchestra":622},{"views":296,"visits":296},1794919877202]