Download pictures (or videos) along with their captions and other metadata from Instagram.
This report presents the forensic synthetic code analysis of instaloader/instaloader, a Python project with 12,825 GitHub stars. SynthScan v2.0 examined 7,463 lines of code across 43 source files, recording 83 pattern matches distributed across 7 syntactic categories. The overall adjusted score of 11.5 places this repository in the Low 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).
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.
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.
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.
The scanner identified 83 distinct pattern matches across 7 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | test/instaloader_unittests.py | 62 | def test_public_profile_download(self): | CODE |
| LOW⚡ | test/instaloader_unittests.py | 67 | def test_public_profile_paging(self): | CODE |
| LOW⚡ | test/instaloader_unittests.py | 70 | def test_profile_pic_download(self): | CODE |
| LOW⚡ | test/instaloader_unittests.py | 86 | def test_get_username_by_id_private(self): | CODE |
| LOW⚡ | test/instaloader_unittests.py | 90 | def test_get_username_by_id_public(self): | CODE |
| LOW⚡ | test/instaloader_unittests.py | 94 | def test_get_username_by_id_empty(self): | CODE |
| LOW⚡ | test/instaloader_unittests.py | 98 | def test_get_username_by_name_empty(self): | CODE |
| LOW⚡ | test/instaloader_unittests.py | 108 | def test_public_profile_tagged_paging(self): | CODE |
| LOW | test/instaloader_unittests.py | 130 | def test_private_profile_download(self): | CODE |
| LOW | test/instaloader_unittests.py | 147 | def test_private_profile_paging(self): | CODE |
| LOW | test/instaloader_unittests.py | 171 | def test_followees_and_stories(self): | CODE |
| LOW | test/instaloader_unittests.py | 186 | def test_get_similar_accounts(self): | CODE |
| LOW | test/instaloader_unittests.py | 231 | def test_caption_mentions_ignores_email_addresses(self): | CODE |
| LOW⚡ | instaloader/instaloader.py | 42 | def get_default_session_filename(username: str) -> str: | CODE |
| LOW⚡ | instaloader/instaloader.py | 49 | def get_legacy_session_filename(username: str) -> str: | CODE |
| LOW⚡ | instaloader/instaloader.py | 56 | def get_default_stamps_filename() -> str: | CODE |
| LOW | instaloader/instaloader.py | 67 | def format_string_contains_key(format_string: str, key: str) -> bool: | CODE |
| LOW | instaloader/instaloader.py | 85 | def _retry_on_connection_error(func: Callable) -> Callable: | CODE |
| LOW | instaloader/instaloader.py | 373 | def _postcommentanswer_asdict(comment): | CODE |
| LOW | instaloader/instaloader.py | 500 | def format_filename_within_target_path(self, | CODE |
| LOW | instaloader/instaloader.py | 553 | def download_profilepic_if_new(self, profile: Profile, latest_stamps: Optional[LatestStamps]) -> None: | CODE |
| LOW | instaloader/instaloader.py | 582 | def download_hashtag_profilepic(self, hashtag: Hashtag) -> None: | CODE |
| LOW | instaloader/structures.py | 458 | def _get_timestamp_date_created(self) -> float: | CODE |
| LOW | instaloader/structures.py | 652 | def _get_comments_via_iphone_endpoint(self) -> Iterable[PostComment]: | CODE |
| LOW | instaloader/structures.py | 1248 | def profile_pic_url_no_iphone(self) -> str: | CODE |
| LOW | instaloader/instaloadercontext.py | 801 | def per_type_next_request_time(): | CODE |
| LOW | instaloader/instaloadercontext.py | 808 | def gql_accumulated_next_request_time(): | CODE |
| LOW | instaloader/instaloadercontext.py | 819 | def untracked_next_request_time(): | CODE |
| LOW | instaloader/lateststamps.py | 83 | def get_last_tagged_timestamp(self, profile_name: str) -> datetime: | CODE |
| LOW | instaloader/lateststamps.py | 87 | def set_last_tagged_timestamp(self, profile_name: str, timestamp: datetime): | CODE |
| LOW | instaloader/__main__.py | 85 | def get_cookies_from_instagram(domain: str, browser: str, cookie_file: Optional[str] = None): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | instaloader/__init__.py | 15 | CODE | |
| LOW | instaloader/__init__.py | 16 | CODE | |
| LOW | instaloader/__init__.py | 17 | CODE | |
| LOW | instaloader/__init__.py | 17 | CODE | |
| LOW | instaloader/__init__.py | 19 | CODE | |
| LOW | instaloader/__init__.py | 20 | CODE | |
| LOW | instaloader/__init__.py | 20 | CODE | |
| LOW | instaloader/__init__.py | 20 | CODE | |
| LOW | instaloader/__init__.py | 23 | CODE | |
| LOW | instaloader/__init__.py | 23 | CODE | |
| LOW | instaloader/__init__.py | 23 | CODE | |
| LOW | instaloader/__init__.py | 23 | CODE | |
| LOW | instaloader/__init__.py | 23 | CODE | |
| LOW | instaloader/__init__.py | 23 | CODE | |
| LOW | instaloader/__init__.py | 23 | CODE | |
| LOW | instaloader/__init__.py | 23 | CODE | |
| LOW | instaloader/__init__.py | 23 | CODE | |
| LOW | instaloader/__init__.py | 23 | CODE | |
| LOW | instaloader/__init__.py | 23 | CODE | |
| LOW | instaloader/__init__.py | 23 | CODE | |
| LOW | instaloader/__init__.py | 23 | CODE | |
| LOW | instaloader/__init__.py | 23 | CODE | |
| LOW | instaloader/__init__.py | 23 | CODE | |
| LOW | instaloader/__init__.py | 23 | CODE | |
| LOW | instaloader/instaloader.py | 21 | CODE | |
| LOW | instaloader/structures.py | 13 | CODE | |
| LOW | instaloader/instaloadercontext.py | 19 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | instaloader/instaloader.py | 211 | CODE | |
| LOW | instaloader/instaloader.py | 372 | CODE | |
| LOW | instaloader/instaloader.py | 688 | CODE | |
| LOW | instaloader/instaloader.py | 825 | CODE | |
| LOW | instaloader/instaloader.py | 949 | CODE | |
| LOW | instaloader/instaloader.py | 993 | CODE | |
| LOW | instaloader/instaloader.py | 1367 | CODE | |
| LOW | instaloader/instaloader.py | 1431 | CODE | |
| LOW | instaloader/instaloader.py | 386 | CODE | |
| LOW | instaloader/structures.py | 2266 | CODE | |
| LOW | instaloader/structures.py | 475 | CODE | |
| LOW | instaloader/structures.py | 1793 | CODE | |
| LOW | instaloader/structures.py | 1885 | CODE | |
| LOW | instaloader/instaloadercontext.py | 386 | CODE | |
| LOW | instaloader/instaloadercontext.py | 601 | CODE | |
| LOW | instaloader/__main__.py | 132 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | instaloader/instaloader.py | 211 | CODE | |
| LOW | instaloader/instaloader.py | 1431 | CODE | |
| LOW | instaloader/instaloader.py | 1558 | CODE | |
| LOW | instaloader/instaloadercontext.py | 81 | CODE | |
| LOW | instaloader/__main__.py | 132 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | instaloader/instaloadercontext.py | 847 | """This method is called before a query to Instagram. | STRING |
| MEDIUM | instaloader/instaloadercontext.py | 866 | """This method is called to handle a 429 Too Many Requests response. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | instaloader/instaloadercontext.py | 613 | # Set headers to simulate an API request from iPad | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | instaloader/instaloader.py | 372 | def update_comments(self, filename: str, post: Post) -> None: | CODE |