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