AI Slop Code RIsk Monitor

subzeroid/instagrapi

🔥 The fastest and powerful Python library for Instagram Private API 2026 with HikerAPI SaaS

27.5 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for subzeroid/instagrapi, a Python project with 6,934 GitHub stars. SynthScan examined 68,677 lines of code across 243 source files, recording 1908 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 27.5 (Elevated 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.

27.5
Adjusted Signal
27.5
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
6.9K
Stars
Python
Language
68.7K
Lines of Code
243
Files
1.9K
Pattern Hits
2026-10-12
Scan Date
0.12
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? 1461 finding(s).

Hallucinated Dependency & Supply Chain Risk 12.5/100 · LOW

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

Agent Over-Engineering Ratio 69.0/100 · HIGH

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

PR Review Velocity Impact 78.4/100 · CRITICAL

Which changes need focused human review? 1908 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 28MEDIUM 25LOW 1854

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 1908 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.

Hyper-Verbose Identifiers1313 hits · 1216 pts
SeverityFileLineSnippetContext
LOWinstagrapi/story.py20def _import_moviepy_for_story():CODE
LOWinstagrapi/extractors.py51def _normalize_media_gql_typename(data):CODE
LOWinstagrapi/extractors.py197def extract_media_comments_preview_gql(data):CODE
LOWinstagrapi/extractors.py209def extract_media_inline_comment_gql(data, replied_to_comment_id=None):CODE
LOWinstagrapi/extractors.py288def extract_broadcast_channel(data):CODE
LOWinstagrapi/extractors.py410def extract_direct_short_thread(data):CODE
LOWinstagrapi/extractors.py420def _direct_timestamp_from_microseconds(timestamp):CODE
LOWinstagrapi/extractors.py434def _convert_direct_visual_media_timestamps(visual_media):CODE
LOWinstagrapi/extractors.py662def extract_story_archive_day(data):CODE
LOWinstagrapi/mixins/auth.py145 def set_contact_point_prefill(self, usage: str = "prefill") -> Dict:CODE
LOWinstagrapi/mixins/auth.py203 def _timeline_seen_posts_from_response(self, response: Dict) -> List[str]:CODE
LOWinstagrapi/mixins/auth.py216 def _remember_timeline_seen_posts(self, response: Dict) -> None:CODE
LOWinstagrapi/mixins/auth.py227 def _join_timeline_seen_posts(seen_posts: Union[str, Iterable[str], None]) -> str:CODE
LOWinstagrapi/mixins/auth.py248 def _timeline_feed_view_info_json(self, feed_view_info: Union[str, List[Dict], None], seen_posts: str) -> str:CODE
LOWinstagrapi/mixins/auth.py258 def _timeline_session_level_signals_json() -> str:CODE
LOWinstagrapi/mixins/auth.py493 def _find_login_response_value(self, data: Any, key: str) -> Any:CODE
LOWinstagrapi/mixins/auth.py509 def _extract_two_step_verification_context(self, data: Dict) -> str:CODE
LOWinstagrapi/mixins/auth.py536 def _infer_bloks_two_factor_challenge(self, data: Dict, verification_code: str = "") -> str:CODE
LOWinstagrapi/mixins/auth.py545 def _is_unavailable_caa_login_error(self, exc: ClientError) -> bool:CODE
LOWinstagrapi/mixins/auth.py580 def _login_with_bloks_two_factor(self, verification_code: str, login_json: Dict, exc: Exception) -> bool:CODE
LOWinstagrapi/mixins/auth.py680 def _user_short_from_private_stream(self, user_id: str) -> UserShort:CODE
LOWinstagrapi/mixins/auth.py730 def _caa_result_action_markers(self, outcome: Dict) -> List[str]:CODE
LOWinstagrapi/mixins/auth.py1313 def is_current_or_newer_app_version(value: Any) -> bool:CODE
LOWinstagrapi/mixins/auth.py1424 def generate_android_device_id(self) -> str:CODE
LOWinstagrapi/mixins/auth.py1524 def inject_sessionid_to_public(self) -> bool:CODE
LOWinstagrapi/mixins/bloks.py156 def bloks_challenge_take_challenge(CODE
LOWinstagrapi/mixins/bloks.py195 def bloks_fxcal_link_reels_share(CODE
LOWinstagrapi/mixins/bloks.py233 def bloks_two_step_verification_entrypoint(CODE
LOWinstagrapi/mixins/bloks.py276 def bloks_two_step_verification_method_picker(CODE
LOWinstagrapi/mixins/bloks.py310 def bloks_two_step_verification_select_method(CODE
LOWinstagrapi/mixins/bloks.py354 def bloks_two_step_verification_enter_totp_code(CODE
LOWinstagrapi/mixins/bloks.py383 def bloks_two_step_verification_enter_backup_code(CODE
LOWinstagrapi/mixins/bloks.py412 def bloks_two_step_verification_verify_code(CODE
LOWinstagrapi/mixins/bloks.py516 def bloks_caa_login_process_client_data(CODE
LOWinstagrapi/mixins/bloks.py562 def bloks_caa_login_oauth_token_fetch(CODE
LOWinstagrapi/mixins/bloks.py637 def bloks_caa_login_send_request(CODE
LOWinstagrapi/mixins/bloks.py846 def bloks_caa_login_needs_two_step(self, result: Dict) -> bool:CODE
LOWinstagrapi/mixins/bloks.py851 def _bloks_parenthesized_expression(value: str, start: int) -> str:CODE
LOWinstagrapi/mixins/bloks.py907 def bloks_extract_context_data(self, result: Dict, app_id: str) -> str:CODE
LOWinstagrapi/mixins/bloks.py911 def _bloks_extract_context_value(self, result: Dict, app_id: str, context_key: str) -> str:CODE
LOWinstagrapi/mixins/bloks.py949 def bloks_ap_two_step_verification_entrypoint(CODE
LOWinstagrapi/mixins/bloks.py981 def bloks_ap_two_step_verification_code_entry(CODE
LOWinstagrapi/mixins/bloks.py1006 def bloks_ap_two_step_verification_submit_code(CODE
LOWinstagrapi/mixins/bloks.py1038 def bloks_caa_resolve_two_step_verification(CODE
LOWinstagrapi/mixins/bloks.py1102 def _extract_first_json_string(value: str, start: int) -> str:CODE
LOWinstagrapi/mixins/bloks.py1112 def bloks_extract_two_step_verification_context(self, result: Dict) -> str:CODE
LOWinstagrapi/mixins/bloks.py1133 def bloks_extract_login_response(self, result: Dict) -> Dict[str, Any]:CODE
LOWinstagrapi/mixins/bloks.py1183 def bloks_apply_login_response(self, result: Dict) -> bool:CODE
LOW⚡instagrapi/mixins/user.py1377 def user_follow_requests_chunk(self, max_amount: int = 0, max_id: str = "") -> Tuple[List[UserShort], str]:CODE
LOWinstagrapi/mixins/user.py68 def _user_info_by_username_public(self, username: str) -> User:CODE
LOWinstagrapi/mixins/user.py154 def user_web_profile_info_gql(self, user_id: str) -> dict:CODE
LOWinstagrapi/mixins/user.py177 def username_from_user_id_gql(self, user_id: str) -> str:CODE
LOWinstagrapi/mixins/user.py226 def user_info_by_username_gql(self, username: str) -> User:CODE
LOWinstagrapi/mixins/user.py316 def _normalize_polaris_profile(user_data: dict) -> dict:CODE
LOWinstagrapi/mixins/user.py760 def user_following_private_gql_chunk(CODE
LOWinstagrapi/mixins/user.py810 def user_following_private_gql(CODE
LOWinstagrapi/mixins/user.py1213 def user_followers_private_gql_chunk(CODE
LOWinstagrapi/mixins/user.py1263 def user_followers_private_gql(CODE
LOWinstagrapi/mixins/user.py1431 def user_follow_request_approve(self, user_id: str) -> bool:CODE
LOWinstagrapi/mixins/user.py1453 def user_follow_request_decline(self, user_id: str) -> bool:CODE
1253 more matches not shown…
Excessive Try-Catch Wrapping188 hits · 210 pts
SeverityFileLineSnippetContext
LOWinstagrapi/story.py25 except Exception as exc:CODE
MEDIUMinstagrapi/story.py20def _import_moviepy_for_story():CODE
LOWinstagrapi/image_util.py216 except Exception as exc:CODE
LOWinstagrapi/mixins/auth.py1561 except Exception as e:CODE
LOWinstagrapi/mixins/bloks.py677 except Exception:CODE
LOWinstagrapi/mixins/story.py230 except Exception as e:CODE
LOWinstagrapi/mixins/story.py238 except Exception as e:CODE
MEDIUMinstagrapi/mixins/user.py273def _inject_sessionid_for_v2_gql(self) -> None:CODE
LOW⚡instagrapi/mixins/user.py985 except Exception as e:CODE
LOW⚡instagrapi/mixins/user.py990 except Exception as e:CODE
LOW⚡instagrapi/mixins/user.py997 except Exception as e:CODE
LOW⚡instagrapi/mixins/user.py1352 except Exception as e:CODE
LOW⚡instagrapi/mixins/user.py1360 except Exception as e:CODE
LOW⚡instagrapi/mixins/user.py1367 except Exception as e:CODE
LOWinstagrapi/mixins/user.py276 except Exception as exc:CODE
LOWinstagrapi/mixins/user.py375 except Exception as e:CODE
LOWinstagrapi/mixins/user.py382 except Exception as e:CODE
LOWinstagrapi/mixins/user.py503 except Exception as e:CODE
LOWinstagrapi/mixins/user.py510 except Exception as e:CODE
LOWinstagrapi/mixins/user.py1527 except Exception as e:CODE
LOWinstagrapi/mixins/public.py408 except Exception:CODE
MEDIUMinstagrapi/mixins/public.py144def _build_public_session_retry_strategy(self):CODE
LOWinstagrapi/mixins/graphql.py290 except Exception:CODE
MEDIUMinstagrapi/mixins/graphql.py155def _json_from_graphql_response(self, response):CODE
MEDIUMinstagrapi/mixins/media.py1258def public_lookup():CODE
MEDIUMinstagrapi/mixins/media.py1371def public_lookup():CODE
LOW⚡instagrapi/mixins/media.py55 except Exception:CODE
LOWinstagrapi/mixins/media.py249 except Exception as e:CODE
LOWinstagrapi/mixins/media.py260 except Exception as e:CODE
LOWinstagrapi/mixins/media.py295 except Exception as e:CODE
LOWinstagrapi/mixins/media.py306 except Exception as e:CODE
LOWinstagrapi/mixins/media.py701 except Exception as e:CODE
LOWinstagrapi/mixins/media.py708 except Exception as e:CODE
LOWinstagrapi/mixins/media.py1103 except Exception as e:CODE
LOWinstagrapi/mixins/media.py1142 except Exception as e:CODE
LOWinstagrapi/mixins/media.py1189 except Exception as e:CODE
LOWinstagrapi/mixins/media.py1228 except Exception as e:CODE
LOWinstagrapi/mixins/media.py1273 except Exception as e:CODE
LOWinstagrapi/mixins/media.py1284 except Exception as e:CODE
LOWinstagrapi/mixins/media.py1385 except Exception as e:CODE
LOWinstagrapi/mixins/media.py1394 except Exception as e:CODE
LOWinstagrapi/mixins/media.py1436 except Exception as e:CODE
LOWinstagrapi/mixins/media.py1475 except Exception as e:CODE
LOWinstagrapi/mixins/media.py1825 except Exception as e:CODE
LOWinstagrapi/mixins/media.py1860 except Exception as e:CODE
LOWinstagrapi/mixins/media.py1891 except Exception as e:CODE
LOWinstagrapi/mixins/media.py2089 except Exception as e:CODE
LOWinstagrapi/mixins/media.py2116 except Exception as e:CODE
LOWinstagrapi/mixins/media.py2142 except Exception as e:CODE
LOWinstagrapi/mixins/media.py2163 except Exception as e:CODE
LOWinstagrapi/mixins/media.py2186 except Exception as e:CODE
LOWinstagrapi/mixins/media.py2207 except Exception as e:CODE
LOWinstagrapi/mixins/timeline.py104 except Exception as e:CODE
LOWinstagrapi/mixins/signup.py173 except Exception:CODE
LOWinstagrapi/mixins/signup.py996 except Exception as e:CODE
LOWinstagrapi/mixins/album.py256 except Exception as e:CODE
LOWinstagrapi/mixins/captcha.py78 except Exception as e:CODE
LOWinstagrapi/mixins/hashtag.py159 except Exception:CODE
LOWinstagrapi/mixins/hashtag.py198 except Exception:CODE
LOWinstagrapi/mixins/hashtag.py312 except Exception as e:CODE
128 more matches not shown…
Unused Imports212 hits · 160 pts
SeverityFileLineSnippetContext
LOWinstagrapi/mixins/auth.py18CODE
LOWinstagrapi/mixins/clip.py14CODE
LOWinstagrapi/utils/__init__.py1CODE
LOWinstagrapi/utils/__init__.py1CODE
LOWinstagrapi/utils/__init__.py1CODE
LOWinstagrapi/utils/__init__.py1CODE
LOWinstagrapi/utils/__init__.py7CODE
LOWinstagrapi/utils/__init__.py8CODE
LOWinstagrapi/utils/__init__.py8CODE
LOWinstagrapi/utils/__init__.py8CODE
LOWinstagrapi/utils/__init__.py9CODE
LOWinstagrapi/utils/__init__.py9CODE
LOWinstagrapi/utils/__init__.py10CODE
LOWinstagrapi/realtime/__init__.py1CODE
LOWinstagrapi/realtime/__init__.py2CODE
LOWinstagrapi/realtime/__init__.py2CODE
LOWtests/__init__.py1CODE
LOWtests/__init__.py2CODE
LOWtests/__init__.py3CODE
LOWtests/__init__.py4CODE
LOWtests/__init__.py4CODE
LOWtests/__init__.py4CODE
LOWtests/__init__.py9CODE
LOWtests/__init__.py10CODE
LOWtests/__init__.py10CODE
LOWtests/__init__.py11CODE
LOWtests/__init__.py11CODE
LOWtests/__init__.py11CODE
LOWtests/__init__.py11CODE
LOWtests/__init__.py17CODE
LOWtests/__init__.py18CODE
LOWtests/__init__.py19CODE
LOWtests/__init__.py20CODE
LOWtests/__init__.py21CODE
LOWtests/__init__.py21CODE
LOWtests/__init__.py21CODE
LOWtests/__init__.py21CODE
LOWtests/__init__.py27CODE
LOWtests/__init__.py28CODE
LOWtests/__init__.py28CODE
LOWtests/__init__.py29CODE
LOWtests/__init__.py30CODE
LOWtests/__init__.py31CODE
LOWtests/__init__.py32CODE
LOWtests/__init__.py33CODE
LOWtests/__init__.py34CODE
LOWtests/__init__.py34CODE
LOWtests/__init__.py34CODE
LOWtests/__init__.py39CODE
LOWtests/__init__.py39CODE
LOWtests/__init__.py39CODE
LOWtests/__init__.py39CODE
LOWtests/__init__.py45CODE
LOWtests/__init__.py46CODE
LOWtests/__init__.py47CODE
LOWtests/__init__.py48CODE
LOWtests/__init__.py49CODE
LOWtests/__init__.py50CODE
LOWtests/__init__.py51CODE
LOWtests/__init__.py51CODE
152 more matches not shown…
Empty Error Handlers24 hits · 120 pts
SeverityFileLineSnippetContext
HIGHinstagrapi/extractors.py739except IndexError:CODE
HIGHinstagrapi/extractors.py751except IndexError:CODE
HIGHinstagrapi/extractors.py745except IndexError:CODE
HIGHinstagrapi/extractors.py749except IndexError:CODE
HIGHinstagrapi/mixins/public.py475except JSONDecodeError:CODE
HIGHinstagrapi/mixins/signup.py195except json.JSONDecodeError:CODE
HIGHinstagrapi/mixins/signup.py211except json.JSONDecodeError:CODE
HIGHinstagrapi/mixins/location.py122except IndexError:CODE
HIGHinstagrapi/mixins/location.py150except IndexError:CODE
HIGHinstagrapi/mixins/clip.py604except ClientError:CODE
HIGHinstagrapi/mixins/private.py529except ValueError:CODE
HIGHinstagrapi/realtime/client.py386except json.JSONDecodeError:CODE
HIGHinstagrapi/realtime/mqttot.py315except OSError:CODE
HIGHtests/helpers.py467except FileNotFoundError:CODE
HIGHtests/live/test_download.py15except ImportError:CODE
HIGHtests/live/test_user.py578except Exception:CODE
HIGHtests/live/test_direct.py91except DirectThreadNotFound:CODE
HIGHtests/live/test_realtime.py144except TimeoutError:CODE
HIGHtests/live/test_archive.py50except Exception:CODE
HIGHtests/live/test_insights.py145except Exception:CODE
HIGHtests/live/test_comments.py18except ImportError:CODE
HIGHtests/regression/test_fbns.py303except ConnectionError:CODE
HIGHtests/regression/test_fbns.py320except TimeoutError:CODE
HIGHexamples/load_session_cookie.py87except OSError:CODE
Deep Nesting104 hits · 74 pts
SeverityFileLineSnippetContext
LOWinstagrapi/extractors.py434CODE
LOWinstagrapi/mixins/auth.py493CODE
LOWinstagrapi/mixins/auth.py837CODE
LOWinstagrapi/mixins/bloks.py831CODE
LOWinstagrapi/mixins/bloks.py851CODE
LOWinstagrapi/mixins/bloks.py877CODE
LOWinstagrapi/mixins/bloks.py911CODE
LOWinstagrapi/mixins/bloks.py1078CODE
LOWinstagrapi/mixins/story.py349CODE
LOWinstagrapi/mixins/user.py354CODE
LOWinstagrapi/mixins/user.py482CODE
LOWinstagrapi/mixins/user.py961CODE
LOWinstagrapi/mixins/user.py1313CODE
LOWinstagrapi/mixins/fbsearch.py14CODE
LOWinstagrapi/mixins/public.py277CODE
LOWinstagrapi/mixins/graphql.py207CODE
LOWinstagrapi/mixins/media.py253CODE
LOWinstagrapi/mixins/media.py299CODE
LOWinstagrapi/mixins/media.py680CODE
LOWinstagrapi/mixins/signup.py111CODE
LOWinstagrapi/mixins/signup.py215CODE
LOWinstagrapi/mixins/signup.py243CODE
LOWinstagrapi/mixins/signup.py676CODE
LOWinstagrapi/mixins/signup.py919CODE
LOWinstagrapi/mixins/album.py362CODE
LOWinstagrapi/mixins/crossposting.py172CODE
LOWinstagrapi/mixins/crossposting.py220CODE
LOWinstagrapi/mixins/crossposting.py339CODE
LOWinstagrapi/mixins/clip.py489CODE
LOWinstagrapi/mixins/clip.py1015CODE
LOWinstagrapi/mixins/challenge.py378CODE
LOWinstagrapi/mixins/challenge.py489CODE
LOWinstagrapi/mixins/video.py639CODE
LOWinstagrapi/mixins/private.py441CODE
LOWinstagrapi/utils/video.py56CODE
LOWinstagrapi/utils/serialization.py8CODE
LOWinstagrapi/realtime/mqttot.py484CODE
LOWinstagrapi/realtime/fbns.py254CODE
LOWtests/http2_server.py24CODE
LOWtests/http2_server.py64CODE
LOWtests/http2_server.py255CODE
LOWtests/http2_server.py265CODE
LOWtests/socks5_proxy.py20CODE
LOWtests/socks5_proxy.py25CODE
LOWtests/live/test_download.py53CODE
LOWtests/live/test_direct.py313CODE
LOWtests/live/test_direct.py470CODE
LOWtests/live/test_direct.py517CODE
LOWtests/live/test_direct.py549CODE
LOWtests/live/test_direct.py576CODE
LOWtests/live/test_direct.py598CODE
LOWtests/live/test_direct.py661CODE
LOWtests/live/test_private_transport.py73CODE
LOWtests/live/test_realtime.py64CODE
LOWtests/live/test_story.py338CODE
LOWtests/live/test_story.py162CODE
LOWtests/live/test_fbns.py61CODE
LOWtests/regression/test_retry.py147CODE
LOWtests/regression/test_user.py1348CODE
LOWtests/regression/test_challenge.py630CODE
44 more matches not shown…
AI Structural Patterns27 hits · 22 pts
SeverityFileLineSnippetContext
LOWinstagrapi/mixins/auth.py1187CODE
LOWinstagrapi/mixins/bloks.py412CODE
LOWinstagrapi/mixins/bloks.py637CODE
LOWinstagrapi/mixins/user.py271CODE
LOWinstagrapi/mixins/user.py2490CODE
LOWinstagrapi/mixins/fbsearch.py109CODE
LOWinstagrapi/mixins/public.py592CODE
LOWinstagrapi/mixins/media.py399CODE
LOWinstagrapi/mixins/media.py794CODE
LOWinstagrapi/mixins/signup.py843CODE
LOWinstagrapi/mixins/album.py127CODE
LOWinstagrapi/mixins/album.py274CODE
LOWinstagrapi/mixins/crossposting.py621CODE
LOWinstagrapi/mixins/photo.py250CODE
LOWinstagrapi/mixins/photo.py388CODE
LOWinstagrapi/mixins/photo.py555CODE
LOWinstagrapi/mixins/photo.py644CODE
LOWinstagrapi/mixins/photo.py728CODE
LOWinstagrapi/mixins/clip.py730CODE
LOWinstagrapi/mixins/clip.py1159CODE
LOWinstagrapi/mixins/video.py198CODE
LOWinstagrapi/mixins/video.py281CODE
LOWinstagrapi/mixins/video.py436CODE
LOWinstagrapi/mixins/video.py639CODE
LOWinstagrapi/mixins/video.py761CODE
LOWinstagrapi/mixins/video.py811CODE
LOWinstagrapi/realtime/client.py186CODE
Cross-File Repetition4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHinstagrapi/mixins/igtv.py0response 202 status: {"message": "transcode not finished yet.", "status": "fail"}STRING
HIGHinstagrapi/mixins/album.py0response 202 status: {"message": "transcode not finished yet.", "status": "fail"}STRING
HIGHinstagrapi/mixins/clip.py0response 202 status: {"message": "transcode not finished yet.", "status": "fail"}STRING
HIGHinstagrapi/mixins/video.py0response 202 status: {"message": "transcode not finished yet.", "status": "fail"}STRING
Decorative Section Separators4 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUM⚡instagrapi/mixins/video.py895 # ---------------------------------COMMENT
MEDIUM⚡instagrapi/mixins/video.py898 # ---------------------------------COMMENT
MEDIUM⚡instagrapi/mixins/video.py907 # ---------------------------------COMMENT
MEDIUMinstagrapi/mixins/video.py883 # ---------------------------------COMMENT
Fake / Example Data9 hits · 12 pts
SeverityFileLineSnippetContext
LOW⚡tests/regression/test_account.py37 result = client.send_password_reset("user@example.com")CODE
LOW⚡tests/regression/test_account.py46 "email_or_username": "user@example.com",CODE
LOW⚡tests/regression/test_account.py59 client.send_password_reset("user@example.com", recaptcha_challenge_field="challenge")CODE
LOWdocs/usage-guide/direct.md127DirectMessage(id=300761992574947211231231241955932160, user_id=123123123, thread_id=None, timestamp=datetime.datetime(20CODE
LOWdocs/usage-guide/direct.md127DirectMessage(id=300761992574947211231231241955932160, user_id=123123123, thread_id=None, timestamp=datetime.datetime(20CODE
LOW⚡docs/usage-guide/direct.md162DirectMessage(id=300712312341231237412312312360, user_id=12312312, thread_id=None, timestamp=datetime.datetime(2021, 8, CODE
LOW⚡docs/usage-guide/direct.md162DirectMessage(id=300712312341231237412312312360, user_id=12312312, thread_id=None, timestamp=datetime.datetime(2021, 8, CODE
LOW⚡docs/usage-guide/direct.md165DirectMessage(id=300712312341231237412312312360, user_id=12312312, thread_id=None, timestamp=datetime.datetime(2021, 8, CODE
LOW⚡docs/usage-guide/direct.md165DirectMessage(id=300712312341231237412312312360, user_id=12312312, thread_id=None, timestamp=datetime.datetime(2021, 8, CODE
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALtests/live/test_device.py30 request_user_agent = self.cl.last_response.request.headers.get("User-Agent")CODE
Over-Commented Block8 hits · 8 pts
SeverityFileLineSnippetContext
LOWinstagrapi/config.py61COMMENT
LOWinstagrapi/mixins/video.py881 # USE extra_data TO EXTEND THE SETTINGS OF THE LOADED STORY,COMMENT
LOWinstagrapi/mixins/video.py921 # "imported_taken_at": str(timestamp - 5 * 24 * 3600), # 5 days agoCOMMENT
LOWinstagrapi/mixins/video.py941 # "xpost_surface": "auto_xpost",COMMENT
LOWtests/live/test_story.py821# class BloksTestCase(_helpers.ClientPrivateTestCase):COMMENT
LOWexamples/create_sticker.py21# sticker_ai = cl.photo_upload_to_cutout_sticker(image_path, bypass_ai=False)COMMENT
LOW.github/workflows/publish.yml1name: Publish to PyPICOMMENT
LOW.github/workflows/codeql-analysis.yml1# For most projects, this workflow file will not need changing; you simply needCOMMENT
Verbosity Indicators4 hits · 8 pts
SeverityFileLineSnippetContext
LOWinstagrapi/mixins/direct.py880 # Step 3: signed broadcast to raven_attachment/?video=1.COMMENT
LOWinstagrapi/mixins/direct.py1131 # Step 3: broadcast voice_attachment with media_id as attachment_fbid.COMMENT
LOW⚡examples/load_session_cookie.py130 # Step 1: Try saved session firstCOMMENT
LOW⚡examples/load_session_cookie.py137 # Step 2: Try browser cookiesCOMMENT
Structural Annotation Overuse4 hits · 8 pts
SeverityFileLineSnippetContext
LOWinstagrapi/mixins/direct.py880 # Step 3: signed broadcast to raven_attachment/?video=1.COMMENT
LOWinstagrapi/mixins/direct.py1131 # Step 3: broadcast voice_attachment with media_id as attachment_fbid.COMMENT
LOW⚡examples/load_session_cookie.py130 # Step 1: Try saved session firstCOMMENT
LOW⚡examples/load_session_cookie.py137 # Step 2: Try browser cookiesCOMMENT
Modern Structural Boilerplate5 hits · 5 pts
SeverityFileLineSnippetContext
LOWinstagrapi/mixins/user.py41logger = logging.getLogger(__name__)CODE
LOWinstagrapi/mixins/captcha.py16 def set_captcha_handler(self, handler: Optional[Callable[[Dict], str]]) -> None:CODE
LOWinstagrapi/utils/__init__.py12__all__ = [CODE
LOWinstagrapi/realtime/__init__.py4__all__ = ["FbnsClient", "FbnsDeviceAuth", "RealtimeClient"]CODE
LOWtests/helpers.py486__all__ = [name for name in globals() if not name.startswith("_") and name not in _HELPER_ONLY_NAMES]CODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWinstagrapi/mixins/challenge.py674 # TODO: add validation of account detailsCOMMENT