🐸 Read Frog - Open Source Immersive Translate | 🐸 陪读蛙 - 开源沉浸式翻译
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).
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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/scrape-ai-sdk-provider-models.ts | 427 | function discoverProvidersFromHtml(html: string, baseUrl: string): ProviderLink[] { | CODE |
| LOW | .github/scripts/contributor-trust/run.js | 61 | function buildScoreBreakdownSummary(score) { | CODE |
| LOW | .github/scripts/contributor-trust/github-api.js | 179 | export async function getCollaboratorPermission(token, owner, repo, username) { | CODE |
| LOW | .github/scripts/contributor-trust/github-api.js | 192 | function getPageNumberFromLinkHeader(linkHeader, relation) { | CODE |
| LOW | .github/scripts/contributor-trust/github-api.js | 264 | function countReviewsOnOthersPullRequests(nodes, authorLogin) { | CODE |
| LOW | .github/scripts/contributor-trust/github-api.js | 285 | function normalizeReviewSearchNodes(searchResult) { | CODE |
| LOW | .github/scripts/contributor-trust/github-api.js | 289 | export async function countReviewsOnOthersPullRequestsInRepo( | CODE |
| LOW | .github/scripts/contributor-trust/github-api.js | 359 | export function createPullRequestStateList({ closedPrs, mergedPrs, openPrs }) { | CODE |
| LOW | .github/scripts/contributor-trust/github-api.js | 397 | export function selectOwnedNonForkRepositories(nodes, ownerLogin) { | CODE |
| LOW | .github/scripts/contributor-trust/plan-actions.js | 21 | export function isMigrationChangedLineFile(filePath) { | CODE |
| LOW | .github/scripts/contributor-trust/plan-actions.js | 26 | function getFallbackChangedLineDetails(pullRequest) { | CODE |
| LOW | .github/scripts/contributor-trust/plan-actions.js | 42 | function getPullRequestChangedLineDetails(pullRequest, pullRequestFiles) { | CODE |
| LOW | .github/scripts/contributor-trust/plan-actions.js | 78 | function formatChangedLineThresholdReason(score, changedLineDetails) { | CODE |
| LOW | src/types/config/tts.ts | 3158 | function groupTTSVoiceItemsByLanguage(items: TTSVoiceItem[]): TTSVoiceGroup[] { | CODE |
| LOW | src/types/config/tts.ts | 3175 | function isTemporarilyDisabledEdgeTTSVoiceItem(item: TTSVoiceItem): boolean { | CODE |
| LOW | src/types/config/tts.ts | 3210 | export function getDefaultTTSVoiceForLanguage( | CODE |
| LOW | src/types/config/tts.ts | 3217 | export function createDefaultTTSLanguageVoices( | CODE |
| LOW | src/types/config/provider/provider-specific-settings.ts | 100 | export function getProviderSpecificSettingFields( | CODE |
| LOW | src/types/config/provider/constants.ts | 248 | export function supportsTopLevelReasoning( | CODE |
| LOW⚡ | src/types/config/provider/index.ts | 28 | export function isTranslateProviderConfig( | CODE |
| LOW⚡ | src/types/config/provider/index.ts | 38 | export function isTopLevelReasoningProviderConfig( | CODE |
| LOW⚡ | src/types/config/provider/index.ts | 44 | export function isCustomLLMProviderConfig( | CODE |
| LOW⚡ | src/types/config/provider/index.ts | 50 | export function isNonCustomLLMProviderConfig( | CODE |
| LOW | src/types/config/provider/index.ts | 68 | export function isPureTranslateProviderConfig(config: ProviderConfig): boolean { | CODE |
| LOW | src/utils/react-root.ts | 19 | export function renderPersistentReactRoot(container: HTMLElement, app: ReactNode): Root { | CODE |
| LOW | src/utils/react-root.ts | 34 | export function unmountPersistentReactRoot(container: HTMLElement): void { | CODE |
| LOW | src/utils/page-translation-shortcut.ts | 16 | export function isPageTranslationShortcutEmpty(hotkey: string | null | undefined): boolean { | CODE |
| LOW | src/utils/page-translation-shortcut.ts | 20 | export function formatPageTranslationShortcut( | CODE |
| LOW | src/utils/page-translation-shortcut.ts | 32 | export function isValidConfiguredPageTranslationShortcut( | CODE |
| LOW | src/utils/page-translation-shortcut.ts | 45 | export function normalizePageTranslationShortcut( | CODE |
| LOW | src/utils/page-translation-shortcut.ts | 93 | export function keyboardEventToPageTranslationShortcut( | CODE |
| LOW | src/utils/crypto-polyfill.ts | 6 | function getCryptoWithRandomValues(): Crypto { | CODE |
| LOW | src/utils/blog.ts | 26 | function getBilibiliVideoIdFromParsedUrl(parsedUrl: URL): string | null { | CODE |
| LOW | src/utils/blog.ts | 140 | export function getBlogLocaleFromUILanguage(): BlogLocale { | CODE |
| LOW | src/utils/analytics.ts | 16 | export function createFeatureUsageContext( | CODE |
| LOW | src/utils/analytics.ts | 34 | export function buildFeatureUsedEventProperties({ | CODE |
| LOW⚡ | src/utils/site-control.ts | 30 | export function resolveEffectiveSiteControlUrl( | CODE |
| LOW⚡ | src/utils/site-control.ts | 37 | export function getEffectiveSiteControlUrl(url: string): string { | CODE |
| LOW⚡ | src/utils/site-control.ts | 45 | export function clearEffectiveSiteControlUrl(): void { | CODE |
| LOW | src/utils/url.ts | 3 | export function getPageTranslationOriginScope(url: string): string | null { | CODE |
| LOW | src/utils/url.ts | 15 | export function areSamePageTranslationOrigin(from: string, to: string): boolean { | CODE |
| LOW | src/utils/os.ts | 46 | export function getCommandPaletteShortcutHint(): string { | CODE |
| LOW | src/utils/select-all.ts | 1 | export function protectSelectAllShadowRoot(shadowHost: HTMLElement, wrapper: HTMLElement) { | CODE |
| LOW | src/utils/select-all.ts | 99 | function rebuildSelectionWithoutHost(shadowHost: HTMLElement) { | CODE |
| LOW | src/utils/batch-request-record.ts | 9 | export async function getRangeBatchRequestRecords(startDay: number, endDay?: number) { | CODE |
| LOW | src/utils/batch-request-record.ts | 44 | export function calculateAverageSavePercentage(batchRequestRecords: BatchRequestRecord[]): string { | CODE |
| LOW | src/utils/shadow-root.ts | 3 | export function insertShadowRootUIWrapperInto(container: HTMLElement) { | CODE |
| LOW | src/utils/guide/target-language.ts | 9 | export function resolveGuideTargetLanguage(data: unknown): LangCodeISO6393 | null { | CODE |
| LOW | src/utils/guide/dictionary-notebase.ts | 48 | export function isGuideDictionaryNotebaseGuideUrl(rawUrl: string) { | CODE |
| LOW⚡ | src/utils/guide/dictionary-notebase.ts | 62 | export function canUseGuideDictionaryNotebaseTracking(actionId: string, currentUrl: string) { | CODE |
| LOW⚡ | src/utils/guide/dictionary-notebase.ts | 69 | export async function getGuideDictionaryNotebaseState(): Promise<GuideDictionaryNotebaseState> { | CODE |
| LOW⚡ | src/utils/guide/dictionary-notebase.ts | 78 | export async function startGuideDictionaryNotebaseTracking(sourceUrl: string, now = Date.now()) { | CODE |
| LOW | src/utils/guide/dictionary-notebase.ts | 97 | export async function getActiveGuideDictionaryNotebaseTrackingForAction( | CODE |
| LOW | src/utils/guide/dictionary-notebase.ts | 131 | export async function markGuideDictionaryNotebaseCompleted( | CODE |
| LOW | src/utils/atoms/translation-state.ts | 7 | export function createTranslationStateAtomForContentScript(defaultValue: TranslationState) { | CODE |
| LOW | src/utils/content-script/background-asset-url.ts | 35 | export async function resolveContentScriptAssetBlob(resourceUrl: string) { | CODE |
| LOW | src/utils/content-script/background-asset-url.ts | 78 | export function clearResolvedContentScriptAssetBlobs() { | CODE |
| LOW | src/utils/content-script/background-stream-client.ts | 26 | export function streamBackgroundStructuredObject( | CODE |
| LOW | src/utils/host/translate/filter-small-paragraph.ts | 21 | export async function shouldFilterSmallParagraph(text: string, config: Config): Promise<boolean> { | CODE |
| LOW | …ils/host/translate/translation-output-normalization.ts | 4 | export function normalizeTranslationOutput( | CODE |
| 452 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | src/utils/atoms/config.ts | 38 | // ───────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/utils/atoms/config.ts | 40 | // ───────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/utils/atoms/config.ts | 48 | // ───────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/utils/atoms/config.ts | 50 | // ───────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/utils/atoms/config.ts | 70 | // ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/utils/atoms/config.ts | 72 | // ─────────────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .agents/skills/find-skills/SKILL.md | 36 | ### Step 1: Understand What They Need | COMMENT |
| LOW | .agents/skills/find-skills/SKILL.md | 44 | ### Step 2: Search for Skills | COMMENT |
| LOW | .agents/skills/find-skills/SKILL.md | 67 | ### Step 3: Present Options to the User | COMMENT |
| LOW | .agents/skills/find-skills/SKILL.md | 87 | ### Step 4: Offer to Install | COMMENT |
| LOW⚡ | .claude/commands/update-ai-sdk-models.md | 7 | ## Step 1: Scrape | COMMENT |
| LOW⚡ | .claude/commands/update-ai-sdk-models.md | 17 | ## Step 2: Read current state | COMMENT |
| LOW⚡ | .claude/commands/update-ai-sdk-models.md | 21 | ## Step 3: Match providers | COMMENT |
| LOW | .claude/commands/update-ai-sdk-models.md | 41 | ## Step 4: Compare & update each matched provider | COMMENT |
| LOW | .claude/commands/update-ai-sdk-models.md | 57 | ## Step 5: Check `LLM_MODEL_OPTIONS` | COMMENT |
| LOW | .claude/commands/update-ai-sdk-models.md | 71 | ## Step 6: Check `DEFAULT_LLM_PROVIDER_MODELS` | COMMENT |
| LOW | .claude/commands/update-ai-sdk-models.md | 83 | ## Step 7: Migration script (only if models were removed) | COMMENT |
| LOW | .claude/commands/update-ai-sdk-models.md | 145 | ## Step 8: Verify | COMMENT |
| LOW | .claude/commands/update-ai-sdk-models.md | 155 | ## Step 9: Summary | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .agents/skills/react/SKILL.md | 130 | "placeholder": "Email" | CODE |
| LOW | …tils/host/translate/dom/translation-html-attributes.ts | 18 | "placeholder", | CODE |
| LOW | …onfig/__tests__/migration-scripts/v070-to-v071.test.ts | 186 | deeplxProvider({ id: "placeholder", baseURL: "https://{{apiKey}}.host.example" }), | CODE |
| LOW | …-config-form/__tests__/provider-options-field.test.tsx | 164 | "placeholder", | CODE |
| LOW | …-config-form/__tests__/provider-options-field.test.tsx | 185 | "placeholder", | CODE |
| LOW | …-config-form/__tests__/provider-options-field.test.tsx | 206 | "placeholder", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/changeset-major-warning.yml | 49 | # Extract front matter and check for major (more robust parsing) | COMMENT |
| MEDIUM | src/utils/config/migration-scripts/v050-to-v051.ts | 12 | // Copy values from translate config for seamless migration | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | .github/PULL_REQUEST_TEMPLATE.md | 48 | - [ ] If my code was generated by AI, I have proofread and improved it as necessary. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/release.yml | 141 | gh release upload "$TAG" .output/*-chrome.zip .output/*-edge.zip .output/*-firefox.zip .output/*-sources.zip - | COMMENT |
| LOW | .github/workflows/release.yml | 161 | # CHROME_CLIENT_SECRET: ${{ secrets.CHROME_CLIENT_SECRET }} | COMMENT |
| LOW | src/components/test-orpc.tsx | 1 | // import { useState } from 'react' | COMMENT |
| LOW | src/components/test-orpc.tsx | 21 | COMMENT | |
| LOW | src/components/test-orpc.tsx | 41 | // </form> | COMMENT |