AI Slop Code RIsk Monitor

jamwithai/production-agentic-rag-course

40.2 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for jamwithai/production-agentic-rag-course, a Python project with 9,706 GitHub stars. SynthScan examined 13,913 lines of code across 136 source files, recording 434 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 40.2 (High pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

40.2
Adjusted Signal
40.2
Raw Pattern Score
100%
Time Factor
2026-06-05
Last Push
9.7K
Stars
Python
Language
13.9K
Lines of Code
136
Files
434
Pattern Hits
2026-10-12
Scan Date
0.07
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 62.2/100 · HIGH

Can maintainers explain intent, assumptions, and trade-offs? 173 finding(s).

Hallucinated Dependency & Supply Chain Risk 33.0/100 · MEDIUM

Are imports declared and package/API names verified? 111 finding(s).

Agent Over-Engineering Ratio 63.4/100 · HIGH

Are wrappers, guards, and repeated structures necessary? 247 finding(s).

PR Review Velocity Impact 86.2/100 · CRITICAL

Which changes need focused human review? 434 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 10MEDIUM 33LOW 391

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 434 distinct pattern matches across 15 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

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
LOW⚡tests/unit/test_config.py7def test_settings_initialization():CODE
LOW⚡tests/unit/test_config.py17def test_settings_postgres_defaults():CODE
LOW⚡tests/unit/test_config.py27def test_settings_opensearch_defaults():CODE
LOW⚡tests/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
LOW⚡tests/unit/services/test_opensearch_query_builder.py49def test_query_builder_relevance_sorting():CODE
LOW⚡tests/unit/services/test_opensearch_query_builder.py57def test_query_builder_empty_query_sorting():CODE
LOW⚡tests/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
LOW⚡tests/unit/services/test_pdf_parser.py41 def test_docling_parser_initialization(self, docling_parser):CODE
LOW⚡tests/unit/services/test_pdf_parser.py47 def test_validate_pdf_valid_file(self, docling_parser, valid_pdf_path):CODE
LOW⚡tests/unit/services/test_pdf_parser.py52 def test_validate_pdf_empty_file(self, docling_parser, empty_pdf_path):CODE
LOW⚡tests/unit/services/test_pdf_parser.py59 def test_validate_pdf_invalid_header(self, docling_parser, invalid_pdf_path):CODE
LOW⚡tests/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
LOW⚡src/services/langfuse/client.py187 except Exception as e:CODE
LOW⚡src/services/langfuse/client.py196 except Exception as e:CODE
LOW⚡src/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
MEDIUM⚡README.md50### Week 7: Agentic RAG & Telegram Bot IntegrationCOMMENT
MEDIUM⚡README.md56### LangGraph Agentic RAG WorkflowCOMMENT
MEDIUM⚡README.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
MEDIUM⚡notebooks/week7/README.md98### Quick Start: Agentic RAGCOMMENT
MEDIUM⚡notebooks/week7/README.md108curl -X POST http://localhost:8000/api/v1/ask-agentic \CODE
MEDIUM⚡notebooks/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
MEDIUM⚡src/main.py116app.include_router(ask_router, prefix="/api/v1") # RAG question answering with LLMCODE
MEDIUM⚡src/main.py117app.include_router(stream_router, prefix="/api/v1") # Streaming RAG responsesCODE
MEDIUM⚡src/main.py118app.include_router(agentic_ask.router) # Agentic RAG with intelligent retrievalCODE
MEDIUM⚡src/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
Empty Error Handlers6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHsrc/dependencies.py11except ImportError:CODE
HIGHsrc/services/langfuse/tracer.py121except Exception:CODE
HIGHsrc/services/opensearch/client.py118except Exception:CODE
HIGHsrc/services/opensearch/client.py111except Exception:CODE
HIGHsrc/services/telegram/bot.py203except Exception:CODE
HIGHsrc/services/ollama/prompts.py122except (json.JSONDecodeError, ValidationError):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
LOW⚡src/services/metadata_fetcher.py110 # Step 2: Process PDFs if requestedCOMMENT
LOW⚡src/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
LOW⚡src/services/metadata_fetcher.py110 # Step 2: Process PDFs if requestedCOMMENT
LOW⚡src/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