Repository Analysis

jamwithai/production-agentic-rag-course

38.0 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of jamwithai/production-agentic-rag-course, a Python project with 7,827 GitHub stars. SynthScan v2.0 examined 13,913 lines of code across 136 source files, recording 428 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 38.0 places this repository in the Strong AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

38.0
Adjusted Score
38.0
Raw Score
100%
Time Factor
2026-06-05
Last Push
7.8K
Stars
Python
Language
13.9K
Lines of Code
136
Files
428
Pattern Hits
2026-07-14
Scan Date
0.03
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 4MEDIUM 33LOW 391

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 428 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Unused Imports108 hits · 104 pts
SeverityFileLineSnippetContext
LOWtests/unit/test_config.py3CODE
LOWtests/unit/services/test_opensearch_query_builder.py1CODE
LOWtests/unit/services/test_arxiv_client.py1CODE
LOWtests/unit/services/test_arxiv_client.py2CODE
LOWtests/unit/services/test_arxiv_client.py6CODE
LOWtests/unit/services/test_arxiv_client.py6CODE
LOWtests/unit/services/test_pdf_parser.py2CODE
LOWtests/unit/services/test_pdf_parser.py2CODE
LOWtests/unit/services/test_pdf_parser.py6CODE
LOWtests/unit/services/test_metadata_fetcher.py3CODE
LOWtests/unit/services/test_metadata_fetcher.py4CODE
LOWtests/unit/services/test_metadata_fetcher.py7CODE
LOWtests/unit/services/test_metadata_fetcher.py7CODE
LOWtests/unit/services/test_metadata_fetcher.py11CODE
LOWtests/unit/services/agents/test_nodes.py5CODE
LOWtests/unit/services/agents/test_tools.py2CODE
LOWtests/unit/services/agents/test_agentic_rag.py4CODE
LOWtests/unit/services/agents/test_agentic_rag.py5CODE
LOWtests/integration/test_services.py1CODE
LOWtests/api/routers/test_ask.py1CODE
LOWtests/api/routers/test_hybrid_search.py1CODE
LOWtests/api/routers/test_ping.py1CODE
LOWairflow/dags/arxiv_paper_ingestion.py7CODE
LOWairflow/dags/arxiv_ingestion/fetching.py4CODE
LOWsrc/config.py3CODE
LOWsrc/config.py3CODE
LOWsrc/routers/__init__.py4CODE
LOWsrc/routers/__init__.py4CODE
LOWsrc/routers/__init__.py4CODE
LOWsrc/repositories/paper.py1CODE
LOWsrc/repositories/__init__.py1CODE
LOWsrc/models/__init__.py1CODE
LOWsrc/schemas/__init__.py1CODE
LOWsrc/schemas/__init__.py2CODE
LOWsrc/schemas/__init__.py2CODE
LOWsrc/schemas/__init__.py2CODE
LOWsrc/schemas/__init__.py3CODE
LOWsrc/schemas/__init__.py3CODE
LOWsrc/schemas/__init__.py3CODE
LOWsrc/schemas/__init__.py3CODE
LOWsrc/schemas/__init__.py4CODE
LOWsrc/schemas/__init__.py4CODE
LOWsrc/schemas/__init__.py4CODE
LOWsrc/schemas/__init__.py4CODE
LOWsrc/schemas/__init__.py4CODE
LOWsrc/schemas/common/__init__.py1CODE
LOWsrc/schemas/common/__init__.py1CODE
LOWsrc/schemas/common/__init__.py2CODE
LOWsrc/schemas/common/__init__.py2CODE
LOWsrc/schemas/common/__init__.py2CODE
LOWsrc/schemas/common/__init__.py5CODE
LOWsrc/schemas/common/__init__.py5CODE
LOWsrc/schemas/common/__init__.py5CODE
LOWsrc/schemas/common/__init__.py5CODE
LOWsrc/schemas/common/__init__.py5CODE
LOWsrc/schemas/common/__init__.py14CODE
LOWsrc/schemas/common/__init__.py17CODE
LOWsrc/schemas/common/__init__.py17CODE
LOWsrc/schemas/common/__init__.py20CODE
LOWsrc/schemas/common/__init__.py20CODE
48 more matches not shown…
Hyper-Verbose Identifiers97 hits · 103 pts
SeverityFileLineSnippetContext
LOWtests/unit/test_config.py7def test_settings_initialization():CODE
LOWtests/unit/test_config.py17def test_settings_postgres_defaults():CODE
LOWtests/unit/test_config.py27def test_settings_opensearch_defaults():CODE
LOWtests/unit/test_config.py35def test_settings_ollama_defaults():CODE
LOWtests/unit/schemas/test_search.py6def test_search_request_valid():CODE
LOWtests/unit/schemas/test_search.py17def test_search_request_defaults():CODE
LOWtests/unit/schemas/test_search.py28def test_search_request_validation_errors():CODE
LOWtests/unit/schemas/test_search.py70def test_search_response_creation():CODE
LOWtests/unit/services/test_opensearch_query_builder.py5def test_query_builder_basic_query():CODE
LOWtests/unit/services/test_opensearch_query_builder.py24def test_query_builder_with_categories():CODE
LOWtests/unit/services/test_opensearch_query_builder.py37def test_query_builder_latest_papers_sorting():CODE
LOWtests/unit/services/test_opensearch_query_builder.py49def test_query_builder_relevance_sorting():CODE
LOWtests/unit/services/test_opensearch_query_builder.py57def test_query_builder_empty_query_sorting():CODE
LOWtests/unit/services/test_opensearch_query_builder.py67def test_query_builder_highlighting():CODE
LOWtests/unit/services/test_opensearch_query_builder.py85def test_query_builder_source_fields():CODE
LOWtests/unit/services/test_opensearch_query_builder.py97def test_query_builder_custom_fields():CODE
LOWtests/unit/services/test_arxiv_client.py48 def test_factory_creates_client(self):CODE
LOWtests/unit/services/test_arxiv_client.py56 async def test_fetch_papers_success(self, arxiv_client, mock_arxiv_response):CODE
LOWtests/unit/services/test_arxiv_client.py75 async def test_fetch_papers_with_date_filters(self, arxiv_client, mock_arxiv_response):CODE
LOWtests/unit/services/test_arxiv_client.py92 async def test_fetch_papers_http_timeout(self, arxiv_client):CODE
LOWtests/unit/services/test_arxiv_client.py105 async def test_fetch_papers_http_error(self, arxiv_client):CODE
LOWtests/unit/services/test_arxiv_client.py120 async def test_fetch_paper_by_id_success(self, arxiv_client, mock_arxiv_response):CODE
LOWtests/unit/services/test_arxiv_client.py136 async def test_fetch_paper_by_id_not_found(self, arxiv_client):CODE
LOWtests/unit/services/test_arxiv_client.py153 def test_parse_response_invalid_xml(self, arxiv_client):CODE
LOWtests/unit/services/test_pdf_parser.py41 def test_docling_parser_initialization(self, docling_parser):CODE
LOWtests/unit/services/test_pdf_parser.py47 def test_validate_pdf_valid_file(self, docling_parser, valid_pdf_path):CODE
LOWtests/unit/services/test_pdf_parser.py52 def test_validate_pdf_empty_file(self, docling_parser, empty_pdf_path):CODE
LOWtests/unit/services/test_pdf_parser.py59 def test_validate_pdf_invalid_header(self, docling_parser, invalid_pdf_path):CODE
LOWtests/unit/services/test_pdf_parser.py66 def test_validate_pdf_nonexistent_file(self, docling_parser):CODE
LOWtests/unit/services/test_pdf_parser.py93 def test_pdf_parser_service_initialization(self, pdf_parser_service):CODE
LOWtests/unit/services/test_pdf_parser.py99 async def test_parse_pdf_file_not_found(self, pdf_parser_service):CODE
LOWtests/unit/services/test_pdf_parser.py135 async def test_parse_pdf_docling_error(self, mock_parse, pdf_parser_service, valid_pdf_path):CODE
LOWtests/unit/services/test_pdf_parser.py144 def test_factory_creates_service(self):CODE
LOWtests/unit/services/test_metadata_fetcher.py72 def test_metadata_fetcher_initialization(self, metadata_fetcher, tmp_path):CODE
LOWtests/unit/services/test_metadata_fetcher.py93 async def test_rate_limiting_respected(self, metadata_fetcher):CODE
LOWtests/unit/services/agents/test_nodes.py24 def test_continue_after_guardrail_pass(self, test_context):CODE
LOWtests/unit/services/agents/test_nodes.py38 def test_continue_after_guardrail_fail(self, test_context):CODE
LOWtests/unit/services/agents/test_nodes.py57 async def test_retrieve_creates_tool_call(self, test_context, sample_human_message):CODE
LOWtests/unit/services/agents/test_nodes.py76 async def test_retrieve_max_attempts_reached(self, test_context, sample_human_message):CODE
LOWtests/unit/services/agents/test_nodes.py98 async def test_grade_documents_relevant(self, test_context, sample_human_message, sample_tool_message):CODE
LOWtests/unit/services/agents/test_nodes.py119 async def test_grade_documents_not_relevant(self, test_context, sample_human_message, sample_tool_message):CODE
LOWtests/unit/services/agents/test_nodes.py144 async def test_rewrite_query_success(self, test_context, sample_human_message):CODE
LOWtests/unit/services/agents/test_nodes.py171 async def test_generate_answer_success(self, test_context, sample_human_message, sample_tool_message):CODE
LOWtests/unit/services/agents/test_nodes.py197 async def test_out_of_scope_response(self, test_context, sample_human_message):CODE
LOWtests/unit/services/agents/test_nodes.py228 def test_get_latest_query_with_multiple_human_messages(self):CODE
LOWtests/unit/services/agents/test_nodes.py247 def test_get_latest_context_no_tool_messages(self, sample_human_message):CODE
LOWtests/unit/services/agents/test_models.py31 def test_invalid_score_too_low(self):CODE
LOWtests/unit/services/agents/test_models.py36 def test_invalid_score_too_high(self):CODE
LOWtests/unit/services/agents/test_models.py62 def test_invalid_binary_score(self):CODE
LOWtests/unit/services/agents/test_models.py144 def test_valid_routing_decisions(self):CODE
LOWtests/unit/services/agents/test_models.py167 def test_valid_grading_result(self):CODE
LOWtests/unit/services/agents/test_models.py193 def test_valid_reasoning_step(self):CODE
LOWtests/unit/services/agents/test_tools.py9async def test_create_retriever_tool_basic(mock_opensearch_client, mock_jina_embeddings_client):CODE
LOWtests/unit/services/agents/test_tools.py49async def test_retriever_tool_empty_results(mock_opensearch_client, mock_jina_embeddings_client):CODE
LOWtests/unit/services/agents/test_tools.py66async def test_retriever_tool_custom_top_k(mock_opensearch_client, mock_jina_embeddings_client):CODE
LOWtests/unit/services/agents/test_tools.py84async def test_retriever_tool_metadata_fields(mock_opensearch_client, mock_jina_embeddings_client):CODE
LOWtests/unit/services/agents/test_agentic_rag.py35 def test_service_initialization(self, test_service):CODE
LOWtests/unit/services/agents/test_agentic_rag.py56 async def test_ask_empty_query_validation(self, test_service):CODE
LOWtests/unit/services/agents/test_agentic_rag.py65 async def test_ask_with_model_override(self, test_service):CODE
LOWtests/unit/services/agents/test_agentic_rag.py109 async def test_ask_with_graph_execution_error(self, test_service):CODE
37 more matches not shown…
Excessive Try-Catch Wrapping98 hits · 100 pts
SeverityFileLineSnippetContext
LOWairflow/dags/hello_world_dag.py28 except Exception as e:CODE
LOWairflow/dags/arxiv_ingestion/setup.py30 except Exception as e:CODE
LOWairflow/dags/arxiv_ingestion/setup.py51 except Exception as e:CODE
LOWairflow/dags/arxiv_ingestion/indexing.py87 except Exception as e:CODE
LOWairflow/dags/arxiv_ingestion/indexing.py123 except Exception as e:CODE
LOWairflow/dags/arxiv_ingestion/reporting.py64 except Exception as stats_error:CODE
LOWairflow/dags/arxiv_ingestion/reporting.py67 except Exception as e:CODE
LOWsrc/gradio_app.py106 except Exception as e:CODE
LOWsrc/main.py61 except Exception:CODE
LOWsrc/main.py89 except Exception as e:CODE
LOWsrc/routers/hybrid_search.py28 except Exception as e:CODE
LOWsrc/routers/hybrid_search.py77 except Exception as e:CODE
LOWsrc/routers/ask.py35 except Exception as e:CODE
LOWsrc/routers/ask.py103 except Exception as e:CODE
LOWsrc/routers/ask.py134 except Exception:CODE
LOWsrc/routers/ask.py160 except Exception as e:CODE
LOWsrc/routers/ask.py165 except Exception as e:CODE
LOWsrc/routers/ask.py209 except Exception as e:CODE
LOWsrc/routers/ask.py264 except Exception as e:CODE
LOWsrc/routers/ask.py267 except Exception as e:CODE
LOWsrc/routers/agentic_ask.py57 except Exception as e:CODE
LOWsrc/routers/agentic_ask.py111 except Exception as e:CODE
LOWsrc/routers/ping.py32 except Exception as e:CODE
LOWsrc/routers/ping.py63 except Exception as e:CODE
LOWsrc/db/interfaces/postgresql.py72 except Exception as e:CODE
LOWsrc/db/interfaces/postgresql.py91 except Exception:CODE
LOWsrc/services/metadata_fetcher.py145 except Exception as e:CODE
LOWsrc/services/metadata_fetcher.py293 except Exception as e:CODE
LOWsrc/services/metadata_fetcher.py325 except Exception as e:CODE
LOWsrc/services/metadata_fetcher.py390 except Exception as e:CODE
LOWsrc/services/metadata_fetcher.py397 except Exception as e:CODE
LOWsrc/services/langfuse/client.py31 except Exception as e:CODE
LOWsrc/services/langfuse/client.py77 except Exception as e:CODE
LOWsrc/services/langfuse/client.py151 except Exception as e:CODE
LOWsrc/services/langfuse/client.py187 except Exception as e:CODE
LOWsrc/services/langfuse/client.py196 except Exception as e:CODE
LOWsrc/services/langfuse/client.py205 except Exception as e:CODE
LOWsrc/services/langfuse/client.py253 except Exception as e:CODE
LOWsrc/services/langfuse/client.py298 except Exception as e:CODE
LOWsrc/services/langfuse/client.py344 except Exception as e:CODE
LOWsrc/services/langfuse/client.py382 except Exception as e:CODE
LOWsrc/services/langfuse/tracer.py121 except Exception:CODE
LOWsrc/services/embeddings/jina_client.py63 except Exception as e:CODE
LOWsrc/services/embeddings/jina_client.py91 except Exception as e:CODE
LOWsrc/services/cache/client.py54 except Exception as e:CODE
LOWsrc/services/cache/client.py73 except Exception as e:CODE
LOWsrc/services/cache/factory.py35 except Exception as e:CODE
LOWsrc/services/cache/factory.py47 except Exception as e:CODE
LOWsrc/services/opensearch/client.py37 except Exception as e:CODE
LOWsrc/services/opensearch/client.py58 except Exception as e:CODE
LOWsrc/services/opensearch/client.py88 except Exception as e:CODE
LOWsrc/services/opensearch/client.py111 except Exception:CODE
LOWsrc/services/opensearch/client.py118 except Exception:CODE
LOWsrc/services/opensearch/client.py130 except Exception as e:CODE
LOWsrc/services/opensearch/client.py177 except Exception as e:CODE
LOWsrc/services/opensearch/client.py214 except Exception as e:CODE
LOWsrc/services/opensearch/client.py320 except Exception as e:CODE
LOWsrc/services/opensearch/client.py346 except Exception as e:CODE
LOWsrc/services/opensearch/client.py365 except Exception as e:CODE
LOWsrc/services/opensearch/client.py393 except Exception as e:CODE
38 more matches not shown…
Modern AI Meta-Vocabulary29 hits · 84 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md2## Phase 1 RAG Systems: arXiv Paper CuratorCOMMENT
MEDIUMREADME.md50### Week 7: Agentic RAG & Telegram Bot IntegrationCOMMENT
MEDIUMREADME.md56### LangGraph Agentic RAG WorkflowCOMMENT
MEDIUMREADME.md63**Week 7 Code walkthrough + blog:** [Agentic RAG with LangGraph and Telegram](https://jamwithai.substack.com/p/agentic-rCODE
MEDIUMREADME.md117| **Week 7** | **Agentic RAG & Telegram Bot** | [Agentic RAG with LangGraph and Telegram](https://jamwithai.substack.comCODE
MEDIUMREADME.md297## 📚 Week 5: Complete RAG Pipeline with LLM IntegrationCOMMENT
MEDIUMREADME.md377## 📚 Week 7: Agentic RAG with LangGraph and Telegram BotCOMMENT
MEDIUMREADME.md413**Blog Post:** [Agentic RAG with LangGraph and Telegram](https://jamwithai.substack.com/p/agentic-rag-with-langgraph-andCODE
MEDIUMREADME.md462├── airflow/ # Workflow orchestration (DAGs)CODE
MEDIUMREADME.md464└── compose.yml # Docker service orchestrationCODE
MEDIUMREADME.md561[![Star History Chart](https://api.star-history.com/svg?repos=jamwithai/production-agentic-rag-course&type=Date)](https:CODE
MEDIUMREADME.md561[![Star History Chart](https://api.star-history.com/svg?repos=jamwithai/production-agentic-rag-course&type=Date)](https:CODE
MEDIUMnotebooks/week7/README.md1# Week 7: Agentic RAG with LangGraph + Telegram BotCOMMENT
MEDIUMnotebooks/week7/README.md12## 🧠 Part 1: Agentic RAG with LangGraphCOMMENT
MEDIUMnotebooks/week7/README.md14### What is Agentic RAG?COMMENT
MEDIUMnotebooks/week7/README.md98### Quick Start: Agentic RAGCOMMENT
MEDIUMnotebooks/week7/README.md108curl -X POST http://localhost:8000/api/v1/ask-agentic \CODE
MEDIUMnotebooks/week7/README.md117curl -X POST http://localhost:8000/api/v1/ask-agentic \CODE
MEDIUMnotebooks/week7/README.md362#### Scenario 2: RAG Question AnsweringCOMMENT
MEDIUMnotebooks/week5/README.md1# Week 5: Complete RAG System with LLM IntegrationCOMMENT
MEDIUMnotebooks/week5/README.md30### 2. Test RAG EndpointCOMMENT
MEDIUMnotebooks/week5/README.md45### Standard RAG - `/api/v1/ask`COMMENT
MEDIUMnotebooks/week5/README.md50### Streaming RAG - `/api/v1/stream`COMMENT
MEDIUMnotebooks/week5/README.md118│ └── ask.py # RAG endpointsCODE
MEDIUMsrc/gradio_app.py119 # 🔬 arXiv Paper Curator - RAG ChatSTRING
MEDIUMsrc/main.py116app.include_router(ask_router, prefix="/api/v1") # RAG question answering with LLMCODE
MEDIUMsrc/main.py117app.include_router(stream_router, prefix="/api/v1") # Streaming RAG responsesCODE
MEDIUMsrc/main.py118app.include_router(agentic_ask.router) # Agentic RAG with intelligent retrievalCODE
MEDIUMsrc/services/telegram/bot.py148 # RAG pipelineCOMMENT
Modern Structural Boilerplate46 hits · 46 pts
SeverityFileLineSnippetContext
LOWairflow/dags/arxiv_ingestion/fetching.py8logger = logging.getLogger(__name__)CODE
LOWairflow/dags/arxiv_ingestion/setup.py7logger = logging.getLogger(__name__)CODE
LOWairflow/dags/arxiv_ingestion/common.py14logger = logging.getLogger(__name__)CODE
LOWairflow/dags/arxiv_ingestion/indexing.py9logger = logging.getLogger(__name__)CODE
LOWairflow/dags/arxiv_ingestion/reporting.py7logger = logging.getLogger(__name__)CODE
LOWsrc/middlewares.py3logger = logging.getLogger(__name__)CODE
LOWsrc/gradio_app.py8logger = logging.getLogger(__name__)CODE
LOWsrc/main.py25logger = logging.getLogger(__name__)CODE
LOWsrc/routers/hybrid_search.py7logger = logging.getLogger(__name__)CODE
LOWsrc/routers/ask.py12logger = logging.getLogger(__name__)CODE
LOWsrc/routers/__init__.py6__all__ = ["ask", "ping", "hybrid_search"]CODE
LOWsrc/repositories/__init__.py3__all__ = [CODE
LOWsrc/models/__init__.py3__all__ = [CODE
LOWsrc/schemas/__init__.py6__all__ = [CODE
LOWsrc/schemas/common/__init__.py40__all__ = [CODE
LOWsrc/schemas/telegram/__init__.py5__all__ = [CODE
LOWsrc/db/interfaces/postgresql.py12logger = logging.getLogger(__name__)CODE
LOWsrc/services/metadata_fetcher.py18logger = logging.getLogger(__name__)CODE
LOWsrc/services/langfuse/client.py8logger = logging.getLogger(__name__)CODE
LOWsrc/services/embeddings/jina_client.py7logger = logging.getLogger(__name__)CODE
LOWsrc/services/cache/client.py11logger = logging.getLogger(__name__)CODE
LOWsrc/services/cache/factory.py7logger = logging.getLogger(__name__)CODE
LOWsrc/services/opensearch/query_builder.py4logger = logging.getLogger(__name__)CODE
LOWsrc/services/opensearch/client.py12logger = logging.getLogger(__name__)CODE
LOWsrc/services/opensearch/__init__.py5__all__ = ["OpenSearchClient", "make_opensearch_client", "make_opensearch_client_fresh", "QueryBuilder"]CODE
LOWsrc/services/agents/tools.py9logger = logging.getLogger(__name__)CODE
LOWsrc/services/agents/__init__.py7__all__ = [CODE
LOWsrc/services/agents/agentic_rag.py29logger = logging.getLogger(__name__)CODE
LOWsrc/services/agents/nodes/retrieve_node.py12logger = logging.getLogger(__name__)CODE
LOWsrc/services/agents/nodes/generate_answer_node.py13logger = logging.getLogger(__name__)CODE
LOWsrc/services/agents/nodes/rewrite_query_node.py13logger = logging.getLogger(__name__)CODE
LOWsrc/services/agents/nodes/__init__.py8__all__ = [CODE
LOWsrc/services/agents/nodes/grade_documents_node.py13logger = logging.getLogger(__name__)CODE
LOWsrc/services/agents/nodes/utils.py8logger = logging.getLogger(__name__)CODE
LOWsrc/services/agents/nodes/out_of_scope_node.py11logger = logging.getLogger(__name__)CODE
LOWsrc/services/agents/nodes/guardrail_node.py13logger = logging.getLogger(__name__)CODE
LOWsrc/services/telegram/__init__.py4__all__ = ["TelegramBot", "make_telegram_service"]CODE
LOWsrc/services/telegram/factory.py7logger = logging.getLogger(__name__)CODE
LOWsrc/services/telegram/bot.py10logger = logging.getLogger(__name__)CODE
LOWsrc/services/arxiv/client.py15logger = logging.getLogger(__name__)CODE
LOWsrc/services/indexing/hybrid_indexer.py9logger = logging.getLogger(__name__)CODE
LOWsrc/services/indexing/text_chunker.py8logger = logging.getLogger(__name__)CODE
LOWsrc/services/pdf_parser/docling.py12logger = logging.getLogger(__name__)CODE
LOWsrc/services/pdf_parser/parser.py10logger = logging.getLogger(__name__)CODE
LOWsrc/services/ollama/client.py11logger = logging.getLogger(__name__)CODE
LOWsrc/services/ollama/__init__.py3__all__ = ["OllamaClient"]CODE
Structural Annotation Overuse14 hits · 22 pts
SeverityFileLineSnippetContext
LOWnotebooks/week7/README.md272### Step 1: Create Your Telegram BotCOMMENT
LOWnotebooks/week7/README.md284### Step 2: Configure EnvironmentCOMMENT
LOWnotebooks/week7/README.md301### Step 3: Install DependenciesCOMMENT
LOWnotebooks/week7/README.md308### Step 4: Start ServicesCOMMENT
LOWnotebooks/week7/README.md325### Step 5: Test Your BotCOMMENT
LOWsrc/services/metadata_fetcher.py110 # Step 2: Process PDFs if requestedCOMMENT
LOWsrc/services/metadata_fetcher.py118 # Step 3: Store to database if requestedCOMMENT
LOWsrc/services/metadata_fetcher.py99 # Step 1: Fetch paper metadata from arXivCOMMENT
LOWsrc/services/metadata_fetcher.py256 # Step 1: Download PDF with download concurrency controlCOMMENT
LOWsrc/services/metadata_fetcher.py268 # Step 2: Parse PDF with parse concurrency control (happens AFTER download completes)COMMENT
LOWsrc/services/indexing/hybrid_indexer.py48 # Step 1: Chunk the paper using hybrid section-based approachCOMMENT
LOWsrc/services/indexing/hybrid_indexer.py64 # Step 2: Generate embeddings for chunksCOMMENT
LOWsrc/services/indexing/hybrid_indexer.py75 # Step 3: Prepare chunks with embeddings for indexingCOMMENT
LOWsrc/services/indexing/hybrid_indexer.py102 # Step 4: Index chunks into OpenSearchCOMMENT
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHsrc/routers/agentic_ask.py13 Agentic RAG endpoint with intelligent retrieval and query refinement. Features: - Decides if retrieval is STRING
HIGHsrc/routers/agentic_ask.py66 Submit user feedback for an agentic RAG response. This endpoint allows users to rate the quality of answers anSTRING
HIGHsrc/services/arxiv/client.py144 Fetch papers from arXiv using a custom search query. Args: search_query: Custom arXiv searSTRING
Verbosity Indicators9 hits · 15 pts
SeverityFileLineSnippetContext
LOWsrc/services/metadata_fetcher.py110 # Step 2: Process PDFs if requestedCOMMENT
LOWsrc/services/metadata_fetcher.py118 # Step 3: Store to database if requestedCOMMENT
LOWsrc/services/metadata_fetcher.py99 # Step 1: Fetch paper metadata from arXivCOMMENT
LOWsrc/services/metadata_fetcher.py256 # Step 1: Download PDF with download concurrency controlCOMMENT
LOWsrc/services/metadata_fetcher.py268 # Step 2: Parse PDF with parse concurrency control (happens AFTER download completes)COMMENT
LOWsrc/services/indexing/hybrid_indexer.py48 # Step 1: Chunk the paper using hybrid section-based approachCOMMENT
LOWsrc/services/indexing/hybrid_indexer.py64 # Step 2: Generate embeddings for chunksCOMMENT
LOWsrc/services/indexing/hybrid_indexer.py75 # Step 3: Prepare chunks with embeddings for indexingCOMMENT
LOWsrc/services/indexing/hybrid_indexer.py102 # Step 4: Index chunks into OpenSearchCOMMENT
Deep Nesting11 hits · 10 pts
SeverityFileLineSnippetContext
LOWsrc/gradio_app.py16CODE
LOWsrc/gradio_app.py110CODE
LOWsrc/routers/ask.py19CODE
LOWsrc/routers/ask.py80CODE
LOWsrc/routers/ask.py171CODE
LOWsrc/routers/ask.py181CODE
LOWsrc/services/metadata_fetcher.py150CODE
LOWsrc/services/telegram/bot.py129CODE
LOWsrc/services/indexing/text_chunker.py243CODE
LOWsrc/services/pdf_parser/docling.py91CODE
LOWsrc/services/ollama/client.py193CODE
Redundant / Tautological Comments6 hits · 9 pts
SeverityFileLineSnippetContext
LOWsrc/repositories/paper.py86 # Check if paper already existsCOMMENT
LOWsrc/db/interfaces/postgresql.py57 # Check if any new tables were createdCOMMENT
LOWsrc/services/metadata_fetcher.py197 # Check if result is a tuple before unpackingCOMMENT
LOWsrc/services/agents/nodes/retrieve_node.py65 # Check if max attempts reachedCOMMENT
LOWsrc/services/indexing/text_chunker.py335 # Check if title contains only metadata indicatorsCOMMENT
LOWsrc/services/pdf_parser/docling.py65 # Check if file starts with PDF headerCOMMENT
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMtests/unit/services/test_metadata_fetcher.py96 # More comprehensive testing would require timing analysisCOMMENT
MEDIUMsrc/models/paper.py22 # Parsed PDF content (added for comprehensive storage)COMMENT
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMairflow/dags/hello_world_dag.py44# Create the DAGCOMMENT
MEDIUMairflow/dags/arxiv_paper_ingestion.py25# Create the DAGCOMMENT
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHairflow/dags/arxiv_paper_ingestion.py67 find /tmp -name "*.pdf" -type f -mtime +30 -delete 2>/dev/null || trueCODE
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWcompose.yml298 LANGFUSE_INIT_USER_EMAIL: "admin@example.com"CODE
LOWtests/unit/schemas/test_search.py76 authors="John Doe",CODE