Repository Analysis

mengxi-ream/read-frog

🐸 Read Frog - Open Source Immersive Translate | 🐸 陪读蛙 - 开源沉浸式翻译

2.7 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of mengxi-ream/read-frog, a TypeScript project with 8,449 GitHub stars. SynthScan v2.0 examined 224,822 lines of code across 1220 source files, recording 545 pattern matches distributed across 7 syntactic categories. The overall adjusted score of 2.7 places this repository in the Likely human-written 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).

2.7
Adjusted Score
2.7
Raw Score
100%
Time Factor
2026-07-14
Last Push
8.4K
Stars
TypeScript
Language
224.8K
Lines of Code
1.2K
Files
545
Pattern Hits
2026-07-14
Scan Date
0.00
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 1MEDIUM 8LOW 536

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

Hyper-Verbose Identifiers512 hits · 531 pts
SeverityFileLineSnippetContext
LOWscripts/scrape-ai-sdk-provider-models.ts427function discoverProvidersFromHtml(html: string, baseUrl: string): ProviderLink[] {CODE
LOW.github/scripts/contributor-trust/run.js61function buildScoreBreakdownSummary(score) {CODE
LOW.github/scripts/contributor-trust/github-api.js179export async function getCollaboratorPermission(token, owner, repo, username) {CODE
LOW.github/scripts/contributor-trust/github-api.js192function getPageNumberFromLinkHeader(linkHeader, relation) {CODE
LOW.github/scripts/contributor-trust/github-api.js264function countReviewsOnOthersPullRequests(nodes, authorLogin) {CODE
LOW.github/scripts/contributor-trust/github-api.js285function normalizeReviewSearchNodes(searchResult) {CODE
LOW.github/scripts/contributor-trust/github-api.js289export async function countReviewsOnOthersPullRequestsInRepo(CODE
LOW.github/scripts/contributor-trust/github-api.js359export function createPullRequestStateList({ closedPrs, mergedPrs, openPrs }) {CODE
LOW.github/scripts/contributor-trust/github-api.js397export function selectOwnedNonForkRepositories(nodes, ownerLogin) {CODE
LOW.github/scripts/contributor-trust/plan-actions.js21export function isMigrationChangedLineFile(filePath) {CODE
LOW.github/scripts/contributor-trust/plan-actions.js26function getFallbackChangedLineDetails(pullRequest) {CODE
LOW.github/scripts/contributor-trust/plan-actions.js42function getPullRequestChangedLineDetails(pullRequest, pullRequestFiles) {CODE
LOW.github/scripts/contributor-trust/plan-actions.js78function formatChangedLineThresholdReason(score, changedLineDetails) {CODE
LOWsrc/types/config/tts.ts3158function groupTTSVoiceItemsByLanguage(items: TTSVoiceItem[]): TTSVoiceGroup[] {CODE
LOWsrc/types/config/tts.ts3175function isTemporarilyDisabledEdgeTTSVoiceItem(item: TTSVoiceItem): boolean {CODE
LOWsrc/types/config/tts.ts3210export function getDefaultTTSVoiceForLanguage(CODE
LOWsrc/types/config/tts.ts3217export function createDefaultTTSLanguageVoices(CODE
LOWsrc/types/config/provider/provider-specific-settings.ts100export function getProviderSpecificSettingFields(CODE
LOWsrc/types/config/provider/constants.ts248export function supportsTopLevelReasoning(CODE
LOWsrc/types/config/provider/index.ts28export function isTranslateProviderConfig(CODE
LOWsrc/types/config/provider/index.ts38export function isTopLevelReasoningProviderConfig(CODE
LOWsrc/types/config/provider/index.ts44export function isCustomLLMProviderConfig(CODE
LOWsrc/types/config/provider/index.ts50export function isNonCustomLLMProviderConfig(CODE
LOWsrc/types/config/provider/index.ts68export function isPureTranslateProviderConfig(config: ProviderConfig): boolean {CODE
LOWsrc/utils/react-root.ts19export function renderPersistentReactRoot(container: HTMLElement, app: ReactNode): Root {CODE
LOWsrc/utils/react-root.ts34export function unmountPersistentReactRoot(container: HTMLElement): void {CODE
LOWsrc/utils/page-translation-shortcut.ts16export function isPageTranslationShortcutEmpty(hotkey: string | null | undefined): boolean {CODE
LOWsrc/utils/page-translation-shortcut.ts20export function formatPageTranslationShortcut(CODE
LOWsrc/utils/page-translation-shortcut.ts32export function isValidConfiguredPageTranslationShortcut(CODE
LOWsrc/utils/page-translation-shortcut.ts45export function normalizePageTranslationShortcut(CODE
LOWsrc/utils/page-translation-shortcut.ts93export function keyboardEventToPageTranslationShortcut(CODE
LOWsrc/utils/crypto-polyfill.ts6function getCryptoWithRandomValues(): Crypto {CODE
LOWsrc/utils/blog.ts26function getBilibiliVideoIdFromParsedUrl(parsedUrl: URL): string | null {CODE
LOWsrc/utils/blog.ts140export function getBlogLocaleFromUILanguage(): BlogLocale {CODE
LOWsrc/utils/analytics.ts16export function createFeatureUsageContext(CODE
LOWsrc/utils/analytics.ts34export function buildFeatureUsedEventProperties({CODE
LOWsrc/utils/site-control.ts30export function resolveEffectiveSiteControlUrl(CODE
LOWsrc/utils/site-control.ts37export function getEffectiveSiteControlUrl(url: string): string {CODE
LOWsrc/utils/site-control.ts45export function clearEffectiveSiteControlUrl(): void {CODE
LOWsrc/utils/url.ts3export function getPageTranslationOriginScope(url: string): string | null {CODE
LOWsrc/utils/url.ts15export function areSamePageTranslationOrigin(from: string, to: string): boolean {CODE
LOWsrc/utils/os.ts46export function getCommandPaletteShortcutHint(): string {CODE
LOWsrc/utils/select-all.ts1export function protectSelectAllShadowRoot(shadowHost: HTMLElement, wrapper: HTMLElement) {CODE
LOWsrc/utils/select-all.ts99function rebuildSelectionWithoutHost(shadowHost: HTMLElement) {CODE
LOWsrc/utils/batch-request-record.ts9export async function getRangeBatchRequestRecords(startDay: number, endDay?: number) {CODE
LOWsrc/utils/batch-request-record.ts44export function calculateAverageSavePercentage(batchRequestRecords: BatchRequestRecord[]): string {CODE
LOWsrc/utils/shadow-root.ts3export function insertShadowRootUIWrapperInto(container: HTMLElement) {CODE
LOWsrc/utils/guide/target-language.ts9export function resolveGuideTargetLanguage(data: unknown): LangCodeISO6393 | null {CODE
LOWsrc/utils/guide/dictionary-notebase.ts48export function isGuideDictionaryNotebaseGuideUrl(rawUrl: string) {CODE
LOWsrc/utils/guide/dictionary-notebase.ts62export function canUseGuideDictionaryNotebaseTracking(actionId: string, currentUrl: string) {CODE
LOWsrc/utils/guide/dictionary-notebase.ts69export async function getGuideDictionaryNotebaseState(): Promise<GuideDictionaryNotebaseState> {CODE
LOWsrc/utils/guide/dictionary-notebase.ts78export async function startGuideDictionaryNotebaseTracking(sourceUrl: string, now = Date.now()) {CODE
LOWsrc/utils/guide/dictionary-notebase.ts97export async function getActiveGuideDictionaryNotebaseTrackingForAction(CODE
LOWsrc/utils/guide/dictionary-notebase.ts131export async function markGuideDictionaryNotebaseCompleted(CODE
LOWsrc/utils/atoms/translation-state.ts7export function createTranslationStateAtomForContentScript(defaultValue: TranslationState) {CODE
LOWsrc/utils/content-script/background-asset-url.ts35export async function resolveContentScriptAssetBlob(resourceUrl: string) {CODE
LOWsrc/utils/content-script/background-asset-url.ts78export function clearResolvedContentScriptAssetBlobs() {CODE
LOWsrc/utils/content-script/background-stream-client.ts26export function streamBackgroundStructuredObject(CODE
LOWsrc/utils/host/translate/filter-small-paragraph.ts21export async function shouldFilterSmallParagraph(text: string, config: Config): Promise<boolean> {CODE
LOW…ils/host/translate/translation-output-normalization.ts4export function normalizeTranslationOutput(CODE
452 more matches not shown…
Decorative Section Separators6 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUMsrc/utils/atoms/config.ts38 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/utils/atoms/config.ts40 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/utils/atoms/config.ts48 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/utils/atoms/config.ts50 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/utils/atoms/config.ts70 // ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/utils/atoms/config.ts72 // ───────────────────────────────────────────────────────────────────COMMENT
Structural Annotation Overuse13 hits · 22 pts
SeverityFileLineSnippetContext
LOW.agents/skills/find-skills/SKILL.md36### Step 1: Understand What They NeedCOMMENT
LOW.agents/skills/find-skills/SKILL.md44### Step 2: Search for SkillsCOMMENT
LOW.agents/skills/find-skills/SKILL.md67### Step 3: Present Options to the UserCOMMENT
LOW.agents/skills/find-skills/SKILL.md87### Step 4: Offer to InstallCOMMENT
LOW.claude/commands/update-ai-sdk-models.md7## Step 1: ScrapeCOMMENT
LOW.claude/commands/update-ai-sdk-models.md17## Step 2: Read current stateCOMMENT
LOW.claude/commands/update-ai-sdk-models.md21## Step 3: Match providersCOMMENT
LOW.claude/commands/update-ai-sdk-models.md41## Step 4: Compare & update each matched providerCOMMENT
LOW.claude/commands/update-ai-sdk-models.md57## Step 5: Check `LLM_MODEL_OPTIONS`COMMENT
LOW.claude/commands/update-ai-sdk-models.md71## Step 6: Check `DEFAULT_LLM_PROVIDER_MODELS`COMMENT
LOW.claude/commands/update-ai-sdk-models.md83## Step 7: Migration script (only if models were removed)COMMENT
LOW.claude/commands/update-ai-sdk-models.md145## Step 8: VerifyCOMMENT
LOW.claude/commands/update-ai-sdk-models.md155## Step 9: SummaryCOMMENT
Fake / Example Data6 hits · 6 pts
SeverityFileLineSnippetContext
LOW.agents/skills/react/SKILL.md130 "placeholder": "Email"CODE
LOW…tils/host/translate/dom/translation-html-attributes.ts18 "placeholder",CODE
LOW…onfig/__tests__/migration-scripts/v070-to-v071.test.ts186 deeplxProvider({ id: "placeholder", baseURL: "https://{{apiKey}}.host.example" }),CODE
LOW…-config-form/__tests__/provider-options-field.test.tsx164 "placeholder",CODE
LOW…-config-form/__tests__/provider-options-field.test.tsx185 "placeholder",CODE
LOW…-config-form/__tests__/provider-options-field.test.tsx206 "placeholder",CODE
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/changeset-major-warning.yml49 # Extract front matter and check for major (more robust parsing)COMMENT
MEDIUMsrc/utils/config/migration-scripts/v050-to-v051.ts12 // Copy values from translate config for seamless migrationCOMMENT
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH.github/PULL_REQUEST_TEMPLATE.md48- [ ] If my code was generated by AI, I have proofread and improved it as necessary.CODE
Over-Commented Block5 hits · 5 pts
SeverityFileLineSnippetContext
LOW.github/workflows/release.yml141 gh release upload "$TAG" .output/*-chrome.zip .output/*-edge.zip .output/*-firefox.zip .output/*-sources.zip -COMMENT
LOW.github/workflows/release.yml161 # CHROME_CLIENT_SECRET: ${{ secrets.CHROME_CLIENT_SECRET }}COMMENT
LOWsrc/components/test-orpc.tsx1// import { useState } from 'react'COMMENT
LOWsrc/components/test-orpc.tsx21COMMENT
LOWsrc/components/test-orpc.tsx41// </form>COMMENT