AI Slop Code RIsk Monitor

smacke/ffsubsync

Automagically synchronize subtitles with video.

26.1 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for smacke/ffsubsync, a Python project with 7,899 GitHub stars. SynthScan examined 12,328 lines of code across 77 source files, recording 221 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 26.1 (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.

26.1
Adjusted Signal
26.1
Raw Pattern Score
100%
Time Factor
2026-07-24
Last Push
7.9K
Stars
Python
Language
12.3K
Lines of Code
77
Files
221
Pattern Hits
2026-10-12
Scan Date
0.19
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 54.1/100 · HIGH

Can maintainers explain intent, assumptions, and trade-offs? 172 finding(s).

Hallucinated Dependency & Supply Chain Risk 2.8/100 · LOW

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

Agent Over-Engineering Ratio 67.3/100 · HIGH

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

PR Review Velocity Impact 72.9/100 · HIGH

Which changes need focused human review? 221 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 0HIGH 15MEDIUM 13LOW 193

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 221 distinct pattern matches across 13 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 Identifiers139 hits · 152 pts
SeverityFileLineSnippetContext
LOWversioneer.py604def git_versions_from_keywords(keywords, tag_prefix, verbose):CODE
LOWversioneer.py1127def git_versions_from_keywords(keywords, tag_prefix, verbose):STRING
LOW⚡tests/test_quality_gate.py35def test_quality_ok_for_plausible_alignment():STRING
LOW⚡tests/test_quality_gate.py39def test_quality_rejects_negative_score():STRING
LOW⚡tests/test_quality_gate.py44def test_quality_rejects_large_offset():STRING
LOW⚡tests/test_quality_gate.py49def test_default_framerate_threshold_allows_all_real_corrections():STRING
LOW⚡tests/test_quality_gate.py56def test_tightened_framerate_threshold_rejects_correction():STRING
LOWtests/test_quality_gate.py68def test_quality_reports_multiple_reasons():STRING
LOW⚡tests/test_quality_gate.py115def test_try_sync_skips_and_writes_original_on_low_quality(tmp_path, monkeypatch):STRING
LOW⚡tests/test_quality_gate.py125def test_try_sync_applies_when_quality_is_acceptable(tmp_path, monkeypatch):STRING
LOW⚡tests/test_quality_gate.py134def test_try_sync_ignores_quality_without_flag(tmp_path, monkeypatch):STRING
LOW⚡tests/test_quality_gate.py144def test_cli_parses_quality_flags():STRING
LOWtests/test_misc.py10def test_version_tuple_from_string(vstr, expected):CODE
LOWtests/test_extract_audio.py40def test_extract_audio_builds_copy_args_and_returns_temp(monkeypatch):CODE
LOWtests/test_extract_audio.py58def test_extract_audio_t_limit_includes_start_offset(monkeypatch):CODE
LOWtests/test_extract_audio.py71def test_extract_audio_returns_none_and_cleans_up_on_failure(monkeypatch):CODE
LOWtests/test_extract_audio.py85def test_fit_extracts_then_cleans_up_temp(monkeypatch, tmp_path):CODE
LOWtests/test_extract_audio.py103def test_fit_skips_extraction_for_local_reference(monkeypatch):CODE
LOWtests/test_extract_audio.py118def test_fit_skips_extraction_when_flag_disabled(monkeypatch):CODE
LOWtests/test_extract_audio.py133def test_cli_and_pipeline_wiring():CODE
LOWtests/test_split_aligner.py44def test_recovers_mid_file_break():CODE
LOWtests/test_split_aligner.py59def test_collapses_to_single_offset():CODE
LOWtests/test_split_aligner.py71def test_already_aligned_is_noop():CODE
LOWtests/test_split_aligner.py79def test_length_penalty_prefers_matching_block():CODE
LOWtests/test_split_aligner.py103def test_subsample_improves_fractional_offset():CODE
LOWtests/test_metadata.py32def test_is_metadata_detects_non_dialogue(content):CODE
LOWtests/test_metadata.py46def test_is_metadata_keeps_dialogue(content):CODE
LOWtests/test_metadata.py54def test_is_metadata_boundary_only_heuristics(content):CODE
LOWtests/test_metadata.py70def test_non_dialogue_line_contributes_no_speech_but_is_not_dropped():CODE
LOW⚡tests/test_progress.py12def test_progress_info_fraction():CODE
LOW⚡tests/test_progress.py16def test_progress_info_fraction_unknown_total_is_none():CODE
LOW⚡tests/test_progress.py21def test_progress_info_fraction_is_clamped_to_one():CODE
LOW⚡tests/test_progress.py27def test_make_reference_pipe_threads_progress_handler():CODE
LOWtests/test_progress.py39def test_make_reference_pipe_default_progress_handler_is_none():CODE
LOWtests/test_progress.py94def test_progress_handler_fires_with_monotonic_progress(monkeypatch):CODE
LOWtests/test_progress.py107def test_progress_handler_exception_does_not_break_fit(monkeypatch):CODE
LOWtests/test_pgs.py42def test_stream_without_prefix_unchanged(mock_probe, mock_bin):CODE
LOWtests/test_pgs.py51def test_skips_clear_events_small_size(mock_probe, mock_bin):CODE
LOWtests/test_pgs.py79def test_returns_none_when_no_usable_packets(mock_probe, mock_bin):CODE
LOW⚡tests/test_pgs.py92def test_returns_none_on_empty_packets(mock_probe, mock_bin):CODE
LOW⚡tests/test_pgs.py99def test_returns_none_when_ffprobe_raises(mock_probe, mock_bin):CODE
LOW⚡tests/test_pgs.py106def test_skips_packets_with_missing_fields(mock_probe, mock_bin):CODE
LOW⚡tests/test_max_duration.py20def test_no_max_duration_omits_t_flag():CODE
LOW⚡tests/test_max_duration.py25def test_max_duration_adds_input_side_t_flag():CODE
LOW⚡tests/test_max_duration.py35def test_max_duration_t_value_is_formatted_like_start_seconds():CODE
LOW⚡tests/test_max_duration.py44def test_cli_parses_max_duration_seconds():CODE
LOW⚡tests/test_max_duration.py53def test_make_reference_pipe_threads_max_duration_into_transformer():CODE
LOWtests/test_alignment.py25def test_fft_alignment_rejects_empty_speech(refstring, substring):CODE
LOWtests/test_remote_url.py32def test_is_remote_url_recognizes_supported_protocols(path):STRING
LOWtests/test_remote_url.py48def test_is_remote_url_rejects_non_urls(path):STRING
LOW⚡tests/test_remote_url.py59def test_validate_file_permissions_allows_remote_url():STRING
LOW⚡tests/test_remote_url.py66def test_validate_file_permissions_still_rejects_unreadable_local_reference(tmp_path):STRING
LOW⚡tests/test_remote_url.py73def test_validate_file_permissions_allows_existing_local_reference(tmp_path):STRING
LOW⚡tests/test_remote_url.py81def test_remote_url_reference_is_not_treated_as_existing_path():STRING
LOWtests/test_remote_url.py98def test_open_file_routes_remote_url_through_urlopen(monkeypatch):CODE
LOW⚡tests/test_remote_url.py109def test_open_file_still_reads_local_path(tmp_path):CODE
LOW⚡tests/test_remote_url.py116def test_parser_reads_remote_srt_reference(monkeypatch):CODE
LOW⚡tests/test_remote_url.py124def test_validate_args_skips_autodetect_for_remote_url(monkeypatch):CODE
LOW⚡tests/test_whisper.py36def test_infer_language_explicit_wins():CODE
LOW⚡tests/test_whisper.py40def test_infer_language_en_model():CODE
79 more matches not shown…
Empty Error Handlers15 hits · 75 pts
SeverityFileLineSnippetContext
HIGHversioneer.py332except NameError:CODE
HIGHversioneer.py1121except OSError:CODE
HIGHversioneer.py1352except OSError:CODE
HIGHversioneer.py1730except NotThisMethod:CODE
HIGHversioneer.py1750except NotThisMethod:CODE
HIGHversioneer.py2081except OSError:CODE
HIGHversioneer.py1722except NotThisMethod:CODE
HIGHversioneer.py1741except NotThisMethod:CODE
HIGHtests/test_integration.py11except ImportError: # pyyaml does not work with py3.4CODE
HIGHffsubsync/version.py19except ImportError:CODE
HIGHffsubsync/_version.py156except EnvironmentError:CODE
HIGHffsubsync/_version.py490except NotThisMethod:CODE
HIGHffsubsync/_version.py509except NotThisMethod:CODE
HIGHffsubsync/_version.py515except NotThisMethod:CODE
HIGHffsubsync/speech_transformers.py613except OSError:CODE
Decorative Section Separators10 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/test_whisper.py33# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_whisper.py35# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_whisper.py119# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_whisper.py121# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_whisper.py148# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_whisper.py150# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_whisper.py253# ---------------------------------------------------------------------------STRING
MEDIUM⚡tests/test_whisper.py255# ---------------------------------------------------------------------------STRING
MEDIUM⚡tests/test_whisper.py277# ---------------------------------------------------------------------------STRING
MEDIUM⚡tests/test_whisper.py279# ---------------------------------------------------------------------------STRING
Excessive Try-Catch Wrapping14 hits · 14 pts
SeverityFileLineSnippetContext
LOWweb/src/ffsubsync_bridge.py85 except Exception: # pragma: no cover - defensive; surfaced to the UICODE
LOWweb/src/ffsubsync_bridge.py208 except Exception:CODE
LOWffsubsync/subtitle_parser.py150 except Exception as e:CODE
LOWffsubsync/ffsubsync.py358 except Exception:CODE
LOWffsubsync/speech_transformers.py179 except Exception:CODE
LOWffsubsync/speech_transformers.py229 except Exception:CODE
LOWffsubsync/speech_transformers.py627 except Exception as e:CODE
LOWffsubsync/speech_transformers.py659 except Exception as e:CODE
LOWffsubsync/speech_transformers.py741 except Exception as e:CODE
LOWffsubsync/speech_transformers.py868 except Exception as e:CODE
LOWffsubsync/speech_transformers.py891 except Exception as e:CODE
LOWffsubsync/speech_transformers.py1036 except Exception as e:CODE
LOWffsubsync/speech_transformers.py1086 except Exception:CODE
LOWffsubsync/speech_transformers.py1446 except Exception:CODE
Deep Nesting14 hits · 14 pts
SeverityFileLineSnippetContext
LOWversioneer.py1099CODE
LOWversioneer.py1324CODE
LOWversioneer.py1645CODE
LOWversioneer.py2020CODE
LOWtests/test_embedded_subs.py63CODE
LOWtests/test_embedded_subs.py82CODE
LOWffsubsync/subtitle_parser.py90CODE
LOWffsubsync/_version.py133CODE
LOWffsubsync/_version.py445CODE
LOWffsubsync/subtitle_transformers.py93CODE
LOWffsubsync/subtitle_transformers.py94CODE
LOWffsubsync/ffsubsync.py187CODE
LOWffsubsync/ffsubsync.py566CODE
LOWffsubsync/speech_transformers.py644CODE
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMversioneer.py433# This file is released into the public domain. Generated byCOMMENT
MEDIUMffsubsync/_version.py8# This file is released into the public domain. Generated byCOMMENT
MEDIUMffsubsync/ffmpeg_utils.py14# Create a set of arguments which make a ``subprocess.Popen`` (andCOMMENT
Over-Commented Block7 hits · 7 pts
SeverityFileLineSnippetContext
LOWweb/scripts/build_wheels.sh1#!/usr/bin/env bashCOMMENT
LOWdocs/conf.py1# Configuration file for the Sphinx documentation builder.COMMENT
LOWdocs/conf.py41COMMENT
LOWgui/entrypoint-windows.sh1#!/bin/bashCOMMENT
LOWffsubsync/constants.py21# Penalty applied by the alass-style piecewise aligner (--split-penalty) when theCOMMENT
LOWffsubsync/ffmpeg_utils.py21#COMMENT
LOWffsubsync/ffmpeg_utils.py41 # Traceback (most recent call last):COMMENT
Unused Imports7 hits · 7 pts
SeverityFileLineSnippetContext
LOWtests/test_pgs.py4CODE
LOWffsubsync/subtitle_preprocessor.py5CODE
LOWffsubsync/subtitle_preprocessor.py102CODE
LOWffsubsync/__init__.py20CODE
LOWffsubsync/__init__.py21CODE
LOWffsubsync/__init__.py21CODE
LOWffsubsync/__init__.py22CODE
AI Slop Vocabulary2 hits · 3 pts
SeverityFileLineSnippetContext
LOWversioneer.py451 # each be defined on a line of their own. _version.py will just callCOMMENT
LOWffsubsync/_version.py24 # each be defined on a line of their own. _version.py will just callCOMMENT
Modern Structural Boilerplate3 hits · 3 pts
SeverityFileLineSnippetContext
LOWffsubsync/subtitle_preprocessor.py8logger = logging.getLogger(__name__)CODE
LOWffsubsync/ffsubsync_gui.py28logger = logging.getLogger(__name__)CODE
LOWffsubsync/golden_section_search.py8logger = logging.getLogger(__name__)CODE
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOWffsubsync/subtitle_preprocessor.py149 # Step 1: Filter non-dialogue contentCOMMENT
LOWffsubsync/subtitle_preprocessor.py164 # Step 2: Merge short subtitlesCOMMENT
Structural Annotation Overuse2 hits · 3 pts
SeverityFileLineSnippetContext
LOWffsubsync/subtitle_preprocessor.py149 # Step 1: Filter non-dialogue contentCOMMENT
LOWffsubsync/subtitle_preprocessor.py164 # Step 2: Merge short subtitlesCOMMENT
AI Structural Patterns3 hits · 2 pts
SeverityFileLineSnippetContext
LOWffsubsync/speech_transformers.py372CODE
LOWffsubsync/speech_transformers.py788CODE
LOWffsubsync/speech_transformers.py1349CODE