Repository Analysis

zedeus/nitter

Alternative Twitter front-end

20.3 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of zedeus/nitter, a Nim project with 14,049 GitHub stars. SynthScan v2.0 examined 8,546 lines of code across 75 source files, recording 132 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 20.3 places this repository in the Moderate 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).

20.3
Adjusted Score
20.3
Raw Score
100%
Time Factor
2026-08-26
Last Push
14.0K
Stars
Nim
Language
8.5K
Lines of Code
75
Files
132
Pattern Hits
2026-08-29
Scan Date
0.05
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 0LOW 128

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 132 distinct pattern matches across 6 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.

Hyper-Verbose Identifiers105 hits · 131 pts
SeverityFileLineSnippetContext
LOWtools/create_session_curl.py200def submit_js_instrumentation(session, flow_token, headers, guest_token):CODE
LOWtests/test_security.py50 def test_server_survives_malformed_requests(self):CODE
LOWtests/test_community.py93 def test_about_moderators_have_avatars(self):CODE
LOWtests/test_community.py98 def test_about_moderators_link_to_profiles(self):CODE
LOWtests/test_community.py118 def test_members_has_member_tabs(self):CODE
LOWtests/test_community.py124 def test_members_all_tab_active(self):CODE
LOWtests/test_community.py128 def test_members_count_is_link(self):CODE
LOWtests/test_community.py140 def test_moderators_tab_active(self):CODE
LOWtests/test_community.py144 def test_moderators_has_member_tabs(self):CODE
LOWtests/test_community.py173 def test_hashtag_shows_header(self):CODE
LOWtests/test_community.py178 def test_hashtag_shows_tag_title(self):CODE
LOWtests/test_community.py183 def test_hashtag_no_main_tabs(self):CODE
LOWtests/test_community.py198 def test_about_visibility_note(self):CODE
LOWtests/test_search.py46 def test_tab_links_carry_kind(self):CODE
LOWtests/test_search.py54 def test_show_more_preserves_kind(self):CODE
LOWtests/test_search.py59 def test_search_form_preserves_kind(self):CODE
LOWtests/test_search.py63 def test_media_operators_compose(self):CODE
LOWtests/test_search.py68 def test_garbage_cursor_no_crash(self, cursor):CODE
LOWtests/test_search.py83 def test_list_card_links_to_list(self):CODE
LOWtests/test_search.py93 def test_list_avatar_links_to_user(self):CODE
LOWtests/test_search.py104 def test_list_pagination_preserves_kind(self):CODE
LOWtests/test_search.py109 def test_list_garbage_cursor_no_crash(self):CODE
LOWtests/test_search.py113 def test_media_view_tabs_present(self):CODE
LOWtests/test_search.py127 def test_media_view_tabs_only_on_media(self):CODE
LOWtests/test_space.py49 def test_space_participant_avatars(self):CODE
LOWtests/test_space.py62 def test_space_player_hls_disabled(self):CODE
LOWtests/test_space.py73 def test_space_player_hls_enabled(self):CODE
LOWtests/test_space.py86 def test_space_stream_endpoint(self):CODE
LOWtests/test_timeline.py71 def test_media_view_gallery_tab(self):CODE
LOWtests/test_timeline.py76 def test_media_view_tabs_not_on_posts(self):CODE
LOWtests/test_timeline.py90 def test_articles_tab_on_profile(self):CODE
LOWtests/test_timeline.py100 def test_articles_card_cover_and_no_raw_link(self):CODE
LOWtests/test_timeline.py110 def test_articles_multi_user_unsupported(self):CODE
LOWtests/test_profile.py121 def test_intent_user_redirect(self, user_id, username):CODE
LOWtests/test_reply_sort.py23 def test_all_three_options_present(self):CODE
LOWtests/test_reply_sort.py29 def test_option_links_carry_sort_param(self):CODE
LOWtests/test_reply_sort.py34 def test_load_more_preserves_sort(self):CODE
LOWtests/test_followers.py8 def test_followers_page_loads(self):CODE
LOWtests/test_followers.py15 def test_following_page_loads(self):CODE
LOWtests/test_followers.py22 def test_followers_has_navigation_tabs(self):CODE
LOWtests/test_followers.py30 def test_following_pagination(self):CODE
LOWtests/test_followers.py39 def test_nonexistent_user_followers(self):CODE
LOWtests/test_about_account.py34 def test_about_page_has_labels(self, username, expected_labels):CODE
LOWtests/test_about_account.py72 def test_joindate_links_to_about(self):CODE
LOWtests/test_embed.py89 def test_embed_with_quote_shows_quote(self):CODE
LOWtests/test_embed.py94 def test_embed_quote_has_content(self):CODE
LOWtests/test_embed.py103 def test_nonexistent_tweet_shows_error(self):CODE
LOWtests/test_embed.py108 def test_protected_account_embed_shows_error(self):CODE
LOWtests/test_embed.py112 def test_invalid_tweet_id_shows_error(self):CODE
LOWtests/test_embed.py127 def test_oembed_has_required_fields(self):CODE
LOWtests/test_embed.py136 def test_oembed_html_contains_iframe(self):CODE
LOWtests/test_embed.py142 def test_oembed_has_cors_header(self):CODE
LOWtests/test_embed.py154 def test_oembed_supports_x_com_url(self):CODE
LOWtests/test_embed.py159 def test_oembed_strips_query_params(self):CODE
LOWtests/test_embed.py166 def test_oembed_handles_trailing_slash(self):CODE
LOWtests/test_embed.py171 def test_oembed_handles_mobile_url(self):CODE
LOWtests/test_embed.py176 def test_oembed_rejects_malformed_tweet_id(self):CODE
LOWtests/test_embed.py181 def test_oembed_maxwidth_param_accepted(self):CODE
LOWtests/test_embed.py185 def test_oembed_maxwidth_clamps_to_range(self):CODE
LOWtests/test_embed.py196 def test_oembed_maxwidth_invalid_uses_default(self):CODE
45 more matches not shown…
Cross-Language Confusion4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHtools/create_session_browser.py80 if (t.length > 0 && t.length < 200) return t;CODE
HIGHtools/create_session_browser.py85 if (t.length > 5 && t.length < 150CODE
HIGHtools/create_session_browser.py131 if (r.width > 0 && r.height > 0) return true;CODE
HIGHtools/create_session_browser.py159 if (el && el.tagName === 'INPUT') {CODE
Excessive Try-Catch Wrapping11 hits · 11 pts
SeverityFileLineSnippetContext
LOWtools/create_session_curl.py326 except Exception as error:CODE
LOWtools/create_session_browser.py99 except Exception:CODE
LOWtools/create_session_browser.py120 except Exception:CODE
LOWtools/create_session_browser.py137 except Exception:CODE
LOWtools/create_session_browser.py165 except Exception:CODE
LOWtools/create_session_browser.py182 except Exception:CODE
LOWtools/create_session_browser.py202 except Exception:CODE
LOWtools/create_session_browser.py362 except Exception:CODE
LOWtools/create_session_browser.py417 except Exception as error:CODE
LOWtools/get_session.py163 except Exception as e:CODE
LOWtools/create_sessions_browser.py105 except Exception as error:CODE
Unused Imports6 hits · 6 pts
SeverityFileLineSnippetContext
LOWtests/test_space.py3CODE
LOWtests/test_followers.py2CODE
LOWtests/test_card.py2CODE
LOWtests/test_embed.py5CODE
LOWtests/test_tweet_media.py2CODE
LOWtests/test_tweet_media.py6CODE
Deep Nesting5 hits · 5 pts
SeverityFileLineSnippetContext
LOWtools/create_session_curl.py275CODE
LOWtools/create_session_browser.py243CODE
LOWtools/create_session_browser.py368CODE
LOWtools/get_session.py14CODE
LOWtools/create_sessions_browser.py39CODE
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpublic/js/hls.min.js1// @license http://www.apache.org/licenses/LICENSE-2.0 Apache-2.0COMMENT