AI Slop Code RIsk Monitor

eternnoir/pyTelegramBotAPI

Python Telegram bot api.

12.9 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for eternnoir/pyTelegramBotAPI, a Python project with 8,787 GitHub stars. SynthScan examined 64,555 lines of code across 161 source files, recording 945 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 12.9 (Moderate 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.

12.9
Adjusted Signal
12.9
Raw Pattern Score
100%
Time Factor
2026-09-21
Last Push
8.8K
Stars
Python
Language
64.6K
Lines of Code
161
Files
945
Pattern Hits
2026-10-12
Scan Date
0.17
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 38.1/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 4.5/100 · LOW

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

Agent Over-Engineering Ratio 41.5/100 · MEDIUM

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

PR Review Velocity Impact 57.7/100 · HIGH

Which changes need focused human review? 945 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 1HIGH 26MEDIUM 14LOW 904

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 945 distinct pattern matches across 16 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.

Hyper-Verbose Identifiers578 hits · 432 pts
SeverityFileLineSnippetContext
LOWtests/test_apihelper_95.py36def test_make_request_patches_selected_multipart_header_formatter(monkeypatch):CODE
LOWtests/test_apihelper_95.py55def test_promote_chat_member_can_manage_tags(monkeypatch):CODE
LOWtests/test_async_telebot.py35def test_infinity_polling_honors_logger_level(CODE
LOWtests/test_async_telebot.py66def test_process_polling_retains_update_processing_tasks():CODE
LOWtests/test_async_telebot.py139def test_async_antiflood_returns_result_without_retrying_when_ok():CODE
LOWtests/test_async_telebot.py154def test_async_antiflood_sleeps_retry_after_then_succeeds():CODE
LOWtests/test_async_telebot.py212def test_async_antiflood_final_attempt_propagates_after_budget_exhausted():CODE
LOWtests/test_handler_backends.py79def reply_to_message_update_type(reply_to_message):CODE
LOWtests/test_handler_backends.py107def test_memory_handler_backend_default_backend(telegram_bot):CODE
LOWtests/test_handler_backends.py112def test_memory_handler_backend_register_next_step_handler(telegram_bot, private_chat, update_type):CODE
LOWtests/test_handler_backends.py129def test_memory_handler_backend_clear_next_step_handler(telegram_bot, private_chat, update_type):CODE
LOWtests/test_handler_backends.py148def test_memory_handler_backend_register_reply_handler(telegram_bot, private_chat, update_type,CODE
LOWtests/test_handler_backends.py166def test_memory_handler_backend_clear_reply_handler(telegram_bot, private_chat, update_type,CODE
LOWtests/test_handler_backends.py186def test_file_handler_backend_register_next_step_handler(telegram_bot, private_chat, update_type):CODE
LOWtests/test_handler_backends.py219def test_file_handler_backend_clear_next_step_handler(telegram_bot, private_chat, update_type):CODE
LOWtests/test_handler_backends.py252def test_redis_handler_backend_register_next_step_handler(telegram_bot, private_chat, update_type):CODE
LOWtests/test_handler_backends.py270def test_redis_handler_backend_clear_next_step_handler(telegram_bot, private_chat, update_type):CODE
LOWtests/test_telebot.py48def test_infinity_polling_honors_logger_level(CODE
LOWtests/test_telebot.py114 def test_message_handler_lambda(self):CODE
LOWtests/test_telebot.py127 def test_message_handler_lambda_fail(self):CODE
LOWtests/test_telebot.py140 def test_message_handler_reg_fail(self):CODE
LOWtests/test_telebot.py153 def test_send_message_with_markdown(self):CODE
LOW⚡tests/test_telebot.py319 def test_send_message_dis_noti(self):STRING
LOW⚡tests/test_telebot.py325 def test_send_message_with_markup(self):STRING
LOW⚡tests/test_telebot.py334 def test_send_message_with_markup_use_string(self):STRING
LOW⚡tests/test_telebot.py465 def test_get_chat_administrators(self):STRING
LOW⚡tests/test_telebot.py470 def test_get_chat_members_count(self):STRING
LOW⚡tests/test_telebot.py475 def test_export_chat_invite_link(self):STRING
LOW⚡tests/test_telebot.py480 def test_create_revoke_detailed_chat_invite_link(self):STRING
LOW⚡tests/test_telebot.py641 def test_send_photo_formating_caption(self):STRING
LOW⚡tests/test_telebot.py647 def test_send_video_formatting_caption(self):STRING
LOW⚡tests/test_telebot.py653 def test_send_audio_formatting_caption(self):STRING
LOW⚡tests/test_telebot.py659 def test_send_voice_formatting_caprion(self):STRING
LOW⚡tests/test_telebot.py666 def test_send_media_group_formatting_caption(self):STRING
LOWtests/test_telebot.py163 def test_send_message_with_disable_notification(self):STRING
LOWtests/test_telebot.py182 def test_send_file_with_filename(self):STRING
LOWtests/test_telebot.py223 def test_send_video_more_params(self):STRING
LOWtests/test_telebot.py229 def test_send_video_more_params_dis_noti(self):STRING
LOWtests/test_telebot.py345 def test_send_message_with_inlinemarkup(self):STRING
LOWtests/test_telebot.py368 def test_forward_message_dis_noti(self):STRING
LOWtests/test_telebot.py403 def test_send_location_dis_noti(self):STRING
LOWtests/test_telebot.py439 def test_edit_message_caption(self):STRING
LOWtests/test_telebot.py630 def test_send_media_group_local_files(self):STRING
LOWtests/test_telebot.py678 def test_send_document_formating_caption(self):STRING
LOWtests/test_telebot.py702 def test_typed_middleware_handler(self):STRING
LOWtests/test_telebot.py723 def test_default_middleware_handler(self):STRING
LOW⚡tests/test_types.py557def test_json_richtextunderline():CODE
LOW⚡tests/test_types.py564def test_json_richtextstrikethrough():CODE
LOW⚡tests/test_types.py571def test_json_richtextspoiler():CODE
LOW⚡tests/test_types.py578def test_json_richtextsubscript():CODE
LOW⚡tests/test_types.py585def test_json_richtextsuperscript():CODE
LOW⚡tests/test_types.py613def test_json_richtextdatetime():CODE
LOW⚡tests/test_types.py622def test_json_richtexttextmention():CODE
LOW⚡tests/test_types.py630def test_json_richtextanchorlink():CODE
LOW⚡tests/test_types.py646def test_json_richtextemailaddress():CODE
LOW⚡tests/test_types.py654def test_json_richtextphonenumber():CODE
LOW⚡tests/test_types.py662def test_json_richtextbankcardnumber():CODE
LOW⚡tests/test_types.py670def test_json_richblockparagraph():CODE
LOW⚡tests/test_types.py677def test_json_richblockpreformatted():CODE
LOW⚡tests/test_types.py685def test_json_richblockfooter():CODE
518 more matches not shown…
AI Structural Patterns193 hits · 104 pts
SeverityFileLineSnippetContext
LOWtelebot/async_telebot.py128CODE
LOWtelebot/async_telebot.py274CODE
LOWtelebot/async_telebot.py3029CODE
LOWtelebot/async_telebot.py3086CODE
LOWtelebot/async_telebot.py3185CODE
LOWtelebot/async_telebot.py3227CODE
LOWtelebot/async_telebot.py3291CODE
LOWtelebot/async_telebot.py3321CODE
LOWtelebot/async_telebot.py3364CODE
LOWtelebot/async_telebot.py3379CODE
LOWtelebot/async_telebot.py3418CODE
LOWtelebot/async_telebot.py3435CODE
LOWtelebot/async_telebot.py3523CODE
LOWtelebot/async_telebot.py3690CODE
LOWtelebot/async_telebot.py3755CODE
LOWtelebot/async_telebot.py4199CODE
LOWtelebot/async_telebot.py4306CODE
LOWtelebot/async_telebot.py4453CODE
LOWtelebot/async_telebot.py4556CODE
LOWtelebot/async_telebot.py4723CODE
LOWtelebot/async_telebot.py4864CODE
LOWtelebot/async_telebot.py5038CODE
LOWtelebot/async_telebot.py5178CODE
LOWtelebot/async_telebot.py5368CODE
LOWtelebot/async_telebot.py5543CODE
LOWtelebot/async_telebot.py5691CODE
LOWtelebot/async_telebot.py5771CODE
LOWtelebot/async_telebot.py5872CODE
LOWtelebot/async_telebot.py6016CODE
LOWtelebot/async_telebot.py6122CODE
LOWtelebot/async_telebot.py6275CODE
LOWtelebot/async_telebot.py6412CODE
LOWtelebot/async_telebot.py6682CODE
LOWtelebot/async_telebot.py6769CODE
LOWtelebot/async_telebot.py7767CODE
LOWtelebot/async_telebot.py7943CODE
LOWtelebot/async_telebot.py8108CODE
LOWtelebot/async_telebot.py8407CODE
LOWtelebot/async_telebot.py8295CODE
LOWtelebot/async_telebot.py8411CODE
LOWtelebot/async_telebot.py8966CODE
LOWtelebot/async_telebot.py9649CODE
LOWtelebot/async_telebot.py9733CODE
LOWtelebot/async_telebot.py9793CODE
LOWtelebot/async_telebot.py10221CODE
LOWtelebot/async_telebot.py10241CODE
LOWtelebot/asyncio_helper.py209CODE
LOWtelebot/asyncio_helper.py293CODE
LOWtelebot/asyncio_helper.py335CODE
LOWtelebot/asyncio_helper.py508CODE
LOWtelebot/asyncio_helper.py534CODE
LOWtelebot/asyncio_helper.py603CODE
LOWtelebot/asyncio_helper.py638CODE
LOWtelebot/asyncio_helper.py691CODE
LOWtelebot/asyncio_helper.py748CODE
LOWtelebot/asyncio_helper.py791CODE
LOWtelebot/asyncio_helper.py823CODE
LOWtelebot/asyncio_helper.py868CODE
LOWtelebot/asyncio_helper.py916CODE
LOWtelebot/asyncio_helper.py961CODE
133 more matches not shown…
Cross-File Repetition19 hits · 95 pts
SeverityFileLineSnippetContext
HIGHREADME.md0\ hi there, i am echobot. i am here to echo your kind words back to you. just say anything nice and i'll say the exact sSTRING
HIGHexamples/echo_bot.py0\ hi there, i am echobot. i am here to echo your kind words back to you. just say anything nice and i'll say the exact sSTRING
HIGHexamples/detect_changes.py0\ hi there, i am echobot. i am here to echo your kind words back to you. just say anything nice and i'll say the exact sSTRING
HIGHexamples/webhook_examples/run_webhooks.py0\ hi there, i am echobot. i am here to echo your kind words back to you. just say anything nice and i'll say the exact sSTRING
HIGHexamples/asynchronous_telebot/detect_changes.py0\ hi there, i am echobot. i am here to echo your kind words back to you. just say anything nice and i'll say the exact sSTRING
HIGHexamples/asynchronous_telebot/webhooks/run_webhooks.py0\ hi there, i am echobot. i am here to echo your kind words back to you. just say anything nice and i'll say the exact sSTRING
HIGHexamples/middleware/function_based/i18n_gettext/main.py0in this example you will learn how to adapt your bot to different languages using built-in middleware i18n. you need to STRING
HIGHexamples/middleware/class_based/i18n_middleware/main.py0in this example you will learn how to adapt your bot to different languages using built-in middleware i18n. you need to STRING
HIGH…ous_telebot/middleware/i18n_middleware_example/main.py0in this example you will learn how to adapt your bot to different languages using built-in middleware i18n. you need to STRING
HIGH…s/middleware/function_based/i18n_gettext/i18n_class.py0this middleware provides high-level tool for internationalization it is based on gettext util.STRING
HIGH…re/class_based/i18n_middleware/i18n_base_middleware.py0this middleware provides high-level tool for internationalization it is based on gettext util.STRING
HIGH…eware/i18n_middleware_example/i18n_base_midddleware.py0this middleware provides high-level tool for internationalization it is based on gettext util.STRING
HIGH…s/middleware/function_based/i18n_gettext/i18n_class.py0looks for translations with passed 'domain' in passed 'path'STRING
HIGH…re/class_based/i18n_middleware/i18n_base_middleware.py0looks for translations with passed 'domain' in passed 'path'STRING
HIGH…eware/i18n_middleware_example/i18n_base_midddleware.py0looks for translations with passed 'domain' in passed 'path'STRING
HIGHtelebot/async_telebot.py0once the user has confirmed their payment and shipping details, the bot api sends the final confirmation in the form of STRING
HIGHtelebot/__init__.py0once the user has confirmed their payment and shipping details, the bot api sends the final confirmation in the form of STRING
HIGHtelebot/asyncio_helper.py0once the user has confirmed their payment and shipping details, the bot api sends the final confirmation in the form of STRING
HIGHtelebot/apihelper.py0once the user has confirmed their payment and shipping details, the bot api sends the final confirmation in the form of STRING
Excessive Try-Catch Wrapping36 hits · 39 pts
SeverityFileLineSnippetContext
LOWREADME.md326 except Exception as e:CODE
MEDIUMREADME.md321def query_text(inline_query):CODE
LOWtests/test_telebot.py240 except Exception as e:STRING
LOWexamples/inline_example.py21 except Exception as e:CODE
LOWexamples/inline_example.py36 except Exception as e:CODE
LOWexamples/inline_example.py50 except Exception as e:CODE
LOWexamples/inline_example.py59 except Exception as e:CODE
MEDIUMexamples/inline_example.py16def query_text(inline_query):CODE
MEDIUMexamples/inline_example.py26def query_photo(inline_query):CODE
MEDIUMexamples/inline_example.py41def query_video(inline_query):CODE
MEDIUMexamples/inline_example.py55def default_query(inline_query):CODE
LOWexamples/step_example.py41 except Exception as e:STRING
LOWexamples/step_example.py59 except Exception as e:STRING
LOWexamples/step_example.py73 except Exception as e:STRING
MEDIUMexamples/step_example.py33def process_name_step(message):CODE
MEDIUMexamples/step_example.py45def process_age_step(message):CODE
MEDIUMexamples/step_example.py63def process_sex_step(message):CODE
LOWexamples/custom_filters/advanced_text_filter.py117 except Exception as err:CODE
LOW…hronous_telebot/custom_filters/advanced_text_filter.py119 except Exception as err:CODE
LOWtelebot/async_telebot.py388 except Exception as e:CODE
LOWtelebot/async_telebot.py503 except Exception as e:CODE
LOWtelebot/async_telebot.py601 except Exception as e:CODE
LOWtelebot/util.py104 except Exception as e:CODE
LOWtelebot/util.py186 except Exception as e:CODE
LOWtelebot/util.py595 except Exception as e:STRING
MEDIUMtelebot/util.py183def _run(self):CODE
LOWtelebot/__init__.py746 except Exception as e:CODE
LOWtelebot/__init__.py1072 except Exception as e:CODE
LOWtelebot/__init__.py1080 except Exception as e:CODE
LOWtelebot/__init__.py1173 except Exception as e:CODE
LOWtelebot/__init__.py1327 except Exception as e:CODE
LOWtelebot/__init__.py1384 except Exception as e:CODE
LOWtelebot/__init__.py1400 except Exception as e:CODE
LOWtelebot/__init__.py11644 except Exception as e:CODE
LOWtelebot/ext/reloader.py23 except Exception as e:CODE
MEDIUMtelebot/ext/reloader.py16def restart_file():CODE
Unused Imports41 hits · 38 pts
SeverityFileLineSnippetContext
LOWexamples/create_invite_link.py2CODE
LOWexamples/serverless/flask_google_cloud_bot/main.py30CODE
LOWtelebot/async_telebot.py12CODE
LOWtelebot/async_telebot.py13CODE
LOWtelebot/util.py15CODE
LOWtelebot/util.py15CODE
LOWtelebot/util.py15CODE
LOWtelebot/util.py15CODE
LOWtelebot/util.py15CODE
LOWtelebot/util.py15CODE
LOWtelebot/util.py15CODE
LOWtelebot/__init__.py13CODE
LOWtelebot/__init__.py14CODE
LOWtelebot/__init__.py15CODE
LOWtelebot/handler_backends.py13CODE
LOWtelebot/handler_backends.py13CODE
LOWtelebot/types.py2CODE
LOWtelebot/asyncio_handler_backends.py4CODE
LOWtelebot/asyncio_handler_backends.py4CODE
LOWtelebot/ext/aio/__init__.py5CODE
LOWtelebot/ext/sync/__init__.py5CODE
LOWtelebot/storage/__init__.py1CODE
LOWtelebot/storage/__init__.py2CODE
LOWtelebot/storage/__init__.py3CODE
LOWtelebot/storage/__init__.py4CODE
LOWtelebot/storage/__init__.py4CODE
LOWtelebot/states/sync/__init__.py1CODE
LOWtelebot/states/sync/__init__.py2CODE
LOWtelebot/states/sync/context.py1CODE
LOWtelebot/states/sync/context.py3CODE
LOWtelebot/states/sync/middleware.py5CODE
LOWtelebot/states/asyncio/__init__.py1CODE
LOWtelebot/states/asyncio/__init__.py2CODE
LOWtelebot/states/asyncio/middleware.py5CODE
LOWtelebot/asyncio_storage/pickle_storage.py10CODE
LOWtelebot/asyncio_storage/__init__.py1CODE
LOWtelebot/asyncio_storage/__init__.py2CODE
LOWtelebot/asyncio_storage/__init__.py3CODE
LOWtelebot/asyncio_storage/__init__.py4CODE
LOWtelebot/asyncio_storage/__init__.py4CODE
LOWtelebot/asyncio_storage/redis_storage.py4CODE
Deep Nesting32 hits · 23 pts
SeverityFileLineSnippetContext
LOWexamples/reply_keyboard_markup_example.py48CODE
LOW…k_data_examples/advanced_calendar_example/keyboards.py12CODE
LOW…k_data_examples/advanced_calendar_example/keyboards.py12CODE
LOWtelebot/custom_filters.py131CODE
LOWtelebot/custom_filters.py142CODE
LOWtelebot/async_telebot.py426CODE
LOWtelebot/async_telebot.py539CODE
LOWtelebot/async_telebot.py1040CODE
LOWtelebot/asyncio_filters.py131CODE
LOWtelebot/asyncio_filters.py142CODE
LOWtelebot/util.py285CODE
LOWtelebot/util.py336CODE
LOWtelebot/asyncio_helper.py127CODE
LOWtelebot/__init__.py701CODE
LOWtelebot/__init__.py1062CODE
LOWtelebot/__init__.py1271CODE
LOWtelebot/__init__.py1346CODE
LOWtelebot/__init__.py9111CODE
LOWtelebot/__init__.py11517CODE
LOWtelebot/__init__.py11569CODE
LOWtelebot/types.py2835CODE
LOWtelebot/types.py3602CODE
LOWtelebot/types.py9499CODE
LOWtelebot/types.py10825CODE
LOWtelebot/types.py11145CODE
LOWtelebot/types.py11430CODE
LOWtelebot/types.py14687CODE
LOWtelebot/types.py15833CODE
LOWtelebot/formatting.py376CODE
LOWtelebot/formatting.py415CODE
LOWtelebot/apihelper.py84CODE
LOWtelebot/states/__init__.py55CODE
AI Response Leakage3 hits · 22 pts
SeverityFileLineSnippetContext
HIGHexamples/deep_linking.py7# In this example we are connecting a user account on a website with a Telegram bot.COMMENT
HIGHexamples/middleware/function_based/session.py9# In this example let's imagine we want to create a session for each user who communicates with the bot to storeCOMMENT
HIGHexamples/middleware/function_based/i18n.py10# In this example let's imagine we want to introduce localization or internationalization into our project andCOMMENT
Redundant / Tautological Comments12 hits · 16 pts
SeverityFileLineSnippetContext
LOWexamples/custom_filters/text_filter_example.py7# Check if message starts with @admin tagCOMMENT
LOWexamples/custom_filters/text_filter_example.py12# Check if text is hi or helloCOMMENT
LOWexamples/custom_filters/general_custom_filters.py21@bot.message_handler(is_admin=True, commands=['admin']) # Check if user is adminCODE
LOWexamples/custom_filters/is_filter_example.py7# Check if message is a replyCOMMENT
LOWexamples/custom_filters/is_filter_example.py12# Check if message was forwardedCOMMENT
LOW…chronous_telebot/custom_filters/text_filter_example.py6# Check if message starts with @admin tagCOMMENT
LOW…chronous_telebot/custom_filters/text_filter_example.py11# Check if text is hi or helloCOMMENT
LOW…onous_telebot/custom_filters/general_custom_filters.py22@bot.message_handler(is_admin=True, commands=['admin']) # Check if user is adminCODE
LOW…ynchronous_telebot/custom_filters/is_filter_example.py8# Check if message is a replyCOMMENT
LOW…ynchronous_telebot/custom_filters/is_filter_example.py13# Check if message was forwardedCOMMENT
LOWtelebot/types.py14693 # Check if string is valid json. If so, assume it's json, not plain stringCOMMENT
LOWtelebot/apihelper.py129 params = params or None # Set params to None if emptyCODE
Empty Error Handlers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHtests/test_async_telebot.py231except ApiTelegramException:CODE
HIGHtelebot/util.py102except Queue.Empty:CODE
HIGHtelebot/ext/reloader.py21except OSError:CODE
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALtelebot/apihelper.py163 retry_strategy = requests.packages.urllib3.util.retry.Retry(CODE
Over-Commented Block9 hits · 9 pts
SeverityFileLineSnippetContext
LOWdocs/source/conf.py1# Configuration file for the Sphinx documentation builder.COMMENT
LOWdocs/source/conf.py41COMMENT
LOWexamples/anonymous_bot.py1# This bot is needed to connect two people and their subsequent anonymous communicationCOMMENT
LOWexamples/anonymous_bot.py21#COMMENT
LOWexamples/anonymous_bot.py61COMMENT
LOWexamples/deep_linking.py1#!/usr/bin/pythonCOMMENT
LOWexamples/deep_linking.py21# your bot will receive a text message containing '/start unique_code',COMMENT
LOWexamples/middleware/function_based/session.py1#!/usr/bin/pythonCOMMENT
LOWexamples/middleware/function_based/i18n.py1#!/usr/bin/pythonCOMMENT
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMexamples/stars_payment.py1# Import required librariesCOMMENT
MEDIUMexamples/stars_payment.py18 # Create a custom keyboard with 2 buttons per rowCOMMENT
MEDIUMexamples/create_invite_link.py18 #Create an invite link class that contains info about the created invite link using create_chat_invite_link() with pCOMMENT
Cross-Language Confusion1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH⚡tests/test_types.py719 json_str = r'{"label": "label text", "blocks": [{"text": "item block"}], "has_checkbox": true, "is_checked": true, "CODE
Modern Structural Boilerplate7 hits · 7 pts
SeverityFileLineSnippetContext
LOWtelebot/async_telebot.py255 def _setup_change_detector(self, path_to_watch: str) -> None:CODE
LOWtelebot/ext/aio/__init__.py8__all__ = [CODE
LOWtelebot/ext/sync/__init__.py8__all__ = [CODE
LOWtelebot/storage/__init__.py7__all__ = [CODE
LOWtelebot/states/sync/__init__.py4__all__ = [CODE
LOWtelebot/states/asyncio/__init__.py4__all__ = [CODE
LOWtelebot/asyncio_storage/__init__.py7__all__ = [CODE
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMexamples/asynchronous_telebot/continue_handling.py26# but you can use any of them because neither of them stops if youCOMMENT
LOWtelebot/util.py395 Attention: Don't forget to set parse_mode to 'HTML'!CODE
Fake / Example Data5 hits · 3 pts
SeverityFileLineSnippetContext
LOW⚡tests/test_types.py2191 json_str = r'{"id": 1, "from": {"id": 1, "is_bot": false, "first_name": "Test"}, "currency": "USD", "total_amount": CODE
LOW⚡tests/test_types.py2406 json_str = r'{"country_code": "US", "state": "CA", "city": "San Jose", "street_line1": "123 Main St", "street_line2"CODE
LOW⚡tests/test_types.py2412 assert result.street_line1 == '123 Main St'CODE
LOWtests/test_types.py1099 json_str = {'name': 'John', 'phone_number': '+1234567890', 'email': 'john@example.com', 'shipping_address': {'countrCODE
LOWtests/test_types.py2469 json_str = r'{"currency": "USD", "total_amount": 1234, "invoice_payload": "test_payload", "shipping_option_id": "optCODE