2 views

jamwithai/production-agentic-rag-course

Python★ 9,452+193 that day#8 on trending

Analyzed October 4, 2026 at 424a0eb (main) with jscpd 5.4.0 in 0.1s.

C67.9/100
Project health11,434 lines of code (M)
Duplication91
0.8% in python, bash, perl
Dead code38
11.8%
Complexity87
8.6%

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

0.69%duplicated code · 65 of 9,477 lines
6clones in code
87code files of 134 scanned
0.76%duplicated over all files · 9 clones

The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code.

Largest clones in the code

  • 16 lines in 2 placespython97 tokens
    107# Add rate limiting delay between all requests (arXiv recommends 3 seconds)
    108if self._last_request_time is not None:
    109    time_since_last = time.time() - self._last_request_time
    110    if time_since_last < self.rate_limit_delay:
    111        sleep_time = self.rate_limit_delay - time_since_last
    112        await asyncio.sleep(sleep_time)
    113
    114self._last_request_time = time.time()
    115
    116async with httpx.AsyncClient(timeout=self.timeout_seconds) as client:
    

    First 10 of 16 lines.

  • 6 lines in 2 placespython78 tokens
    11arxiv_id: str = Field(..., description="arXiv paper ID")
    12title: str = Field(..., description="Paper title")
    13authors: List[str] = Field(..., description="List of author names")
    14abstract: str = Field(..., description="Paper abstract")
    15categories: List[str] = Field(..., description="Paper categories")
    16published_date: str = Field(..., description="Date published on arXiv (ISO format)")
    
    22arxiv_id: str = Field(..., description="arXiv paper ID")
    23title: str = Field(..., description="Paper title")
    24authors: List[str] = Field(..., description="List of author names")
    25abstract: str = Field(..., description="Paper abstract")
    26categories: List[str] = Field(..., description="Paper categories")
    27published_date: datetime = Field(..., description="Date published on arXiv")
    
  • 8 lines in 2 placespython74 tokens
    165response = self.client.search(index=self.index_name, body=search_body)
    166
    167results = {"total": response["hits"]["total"]["value"], "hits": []}
    168
    169for hit in response["hits"]["hits"]:
    170    chunk = hit["_source"]
    171    chunk["score"] = hit["_score"]
    172    chunk["chunk_id"] = hit["_id"]
    
3 more
Largest clones over all files, tests and data included
  • 28 lines in 2 placesyamldata files135 tokens
    216SALT: ${LANGFUSE_SALT}
    217ENCRYPTION_KEY: ${LANGFUSE_ENCRYPTION_KEY}
    218TELEMETRY_ENABLED: "false"
    219LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES: "true"
    220CLICKHOUSE_MIGRATION_URL: clickhouse://clickhouse:9000
    221CLICKHOUSE_URL: http://clickhouse:8123
    222CLICKHOUSE_USER: langfuse
    223CLICKHOUSE_PASSWORD: langfuse
    224CLICKHOUSE_CLUSTER_ENABLED: "false"
    225LANGFUSE_USE_AZURE_BLOB: "false"
    

    First 10 of 28 lines.

  • 16 lines in 2 placespython97 tokens
    107# Add rate limiting delay between all requests (arXiv recommends 3 seconds)
    108if self._last_request_time is not None:
    109    time_since_last = time.time() - self._last_request_time
    110    if time_since_last < self.rate_limit_delay:
    111        sleep_time = self.rate_limit_delay - time_since_last
    112        await asyncio.sleep(sleep_time)
    113
    114self._last_request_time = time.time()
    115
    116async with httpx.AsyncClient(timeout=self.timeout_seconds) as client:
    

    First 10 of 16 lines.

  • 6 lines in 2 placespython78 tokens
    11arxiv_id: str = Field(..., description="arXiv paper ID")
    12title: str = Field(..., description="Paper title")
    13authors: List[str] = Field(..., description="List of author names")
    14abstract: str = Field(..., description="Paper abstract")
    15categories: List[str] = Field(..., description="Paper categories")
    16published_date: str = Field(..., description="Date published on arXiv (ISO format)")
    
    22arxiv_id: str = Field(..., description="arXiv paper ID")
    23title: str = Field(..., description="Paper title")
    24authors: List[str] = Field(..., description="List of author names")
    25abstract: str = Field(..., description="Paper abstract")
    26categories: List[str] = Field(..., description="Paper categories")
    27published_date: datetime = Field(..., description="Date published on arXiv")
    
  • 8 lines in 2 placespython74 tokens
  • 8 lines in 2 placespython65 tokens
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
python768,6286650.75%
bash10675000%
perl1174000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
python9410,6138870.82%
yaml34171286.71%
markdown92,641000%
bash16897000%
text6188000%
perl1174000%
toml170000%
json269000%
txt235000%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Oct 4, 2026#89,452 (+193)13415,10490.76%0.69%C 67.9424a0eb

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