AI Slop Code RIsk Monitor

Uberi/speech_recognition

Speech recognition module for Python, supporting several engines and APIs, online and offline.

19.7 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for Uberi/speech_recognition, a Python project with 8,995 GitHub stars. SynthScan examined 5,971 lines of code across 61 source files, recording 83 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 19.7 (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.

19.7
Adjusted Signal
19.7
Raw Pattern Score
100%
Time Factor
2026-09-02
Last Push
9.0K
Stars
Python
Language
6.0K
Lines of Code
61
Files
83
Pattern Hits
2026-10-12
Scan Date
0.11
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 30.2/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 14.3/100 · LOW

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

Agent Over-Engineering Ratio 52.9/100 · HIGH

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

PR Review Velocity Impact 65.8/100 · HIGH

Which changes need focused human review? 83 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

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

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 7MEDIUM 5LOW 71

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

Empty Error Handlers7 hits · 35 pts
SeverityFileLineSnippetContext
HIGHtests/test_audio.py204except ImportError:CODE
HIGHtests/test_audio.py245except ImportError:CODE
HIGHspeech_recognition/__init__.py1195except (ModuleNotFoundError, ImportError):CODE
HIGHspeech_recognition/__init__.py590except WaitTimeoutError: # listening timed out, just try againCODE
HIGHspeech_recognition/audio.py528except OSError:CODE
HIGHspeech_recognition/__main__.py23except KeyboardInterrupt:CODE
HIGHexamples/threaded_workers.py43except KeyboardInterrupt: # allow Ctrl + C to shut down the programCODE
Hyper-Verbose Identifiers32 hits · 34 pts
SeverityFileLineSnippetContext
LOWtests/test_recognition.py20 def test_recognizer_attributes(self):CODE
LOW⚡tests/test_audio.py133 def test_returns_self_when_already_fits(self):CODE
LOW⚡tests/test_audio.py139 def test_raises_when_max_bytes_too_small(self):CODE
LOW⚡tests/test_audio.py144 def test_raises_on_unaligned_frame_data(self):CODE
LOW⚡tests/test_audio.py154 def test_raises_when_max_bytes_below_one_sample_per_width(self):CODE
LOWtests/test_audio.py174 def test_fixed_split_chunks_fit_within_max_bytes(self):CODE
LOWtests/test_audio.py191 def test_fixed_split_aligns_to_sample_boundary(self):CODE
LOWtests/test_audio.py198 def test_silence_aware_raises_setup_error_without_librosa(self):CODE
LOWtests/test_audio.py216 def test_silence_aware_translates_call_time_errors_to_setup_error(self):CODE
LOWtests/test_audio.py238 def test_silence_aware_translates_lazy_runtime_errors_to_setup_error(self):CODE
LOWtests/test_audio.py282 def test_to_float_ndarray_normalizes_each_sample_width(self):CODE
LOWtests/test_audio.py304 def test_to_float_ndarray_decodes_little_endian_regardless_of_host(self):CODE
LOWtests/test_audio.py336 def test_silence_aware_uses_single_nonsilent_range_boundary(self):CODE
LOWtests/test_audio.py368 def test_silence_aware_respects_byte_budget_strictly(self):CODE
LOWtests/test_audio.py391 def test_silence_aware_respects_byte_budget_on_realistic_audio(self):CODE
LOWtests/test_audio.py423 def test_silence_aware_snaps_to_speech_end_within_lookback(self):CODE
LOWtests/test_audio.py464 def test_silence_aware_splits_at_silence_boundary(self):CODE
LOWtests/recognizers/test_cohere_api.py12def test_transcribe_default_model(mock_client_cls):CODE
LOWtests/recognizers/test_cohere_api.py37def test_transcribe_with_language(mock_client_cls):CODE
LOWtests/recognizers/test_google_cloud.py21def test_transcribe_with_google_cloud_speech(SpeechClient):CODE
LOWtests/recognizers/test_google_cloud.py56def test_transcribe_with_specified_credentials(SpeechClient):CODE
LOWtests/recognizers/test_google_cloud.py149def test_transcribe_with_specified_api_parameters(SpeechClient):CODE
LOWtests/recognizers/test_vosk.py23def test_recognize_vosk_verbose(audio_data):CODE
LOWtests/recognizers/test_google.py68 def test_parse_without_confidence(CODE
LOWtests/recognizers/test_google.py86 def test_parse_with_confidence(CODE
LOWtests/recognizers/whisper_api/test_openai.py22def test_transcribe_with_openai_whisper(setenv_openai_api_key: None) -> None:CODE
LOWtests/recognizers/whisper_api/test_openai.py56def test_transcribe_with_gpt_transcribe(setenv_openai_api_key: None) -> None:CODE
LOWtests/recognizers/whisper_api/test_openai.py93def test_transcribe_with_specified_language(setenv_openai_api_key: None) -> None:CODE
LOWtests/recognizers/whisper_api/test_openai.py125def test_transcribe_with_specified_prompt(setenv_openai_api_key: None) -> None:CODE
LOWtests/recognizers/whisper_api/test_groq.py14def test_transcribe_with_groq_whisper(respx_mock, monkeypatch):CODE
LOWtests/recognizers/whisper_api/test_openai_compatible.py10def test_transcribe_with_openai_compatible_api(httpserver, monkeypatch):CODE
LOWspeech_recognition/__init__.py395 def snowboy_wait_for_hot_word(self, snowboy_location, snowboy_hot_word_files, source, timeout=None):CODE
Unused Imports21 hits · 18 pts
SeverityFileLineSnippetContext
LOWtests/test_audio.py203CODE
LOWtests/test_audio.py223CODE
LOWtests/test_audio.py224CODE
LOWtests/test_audio.py244CODE
LOWtests/test_audio.py274CODE
LOWtests/test_audio.py275CODE
LOWtests/recognizers/whisper_local/test_faster_whisper.py1CODE
LOWspeech_recognition/__init__.py5CODE
LOWspeech_recognition/audio.py1CODE
LOWspeech_recognition/recognizers/google_cloud.py1CODE
LOWspeech_recognition/recognizers/pocketsphinx.py1CODE
LOWspeech_recognition/recognizers/google.py1CODE
LOWspeech_recognition/recognizers/cohere_api.py1CODE
LOWspeech_recognition/recognizers/vosk.py1CODE
LOWspeech_recognition/recognizers/whisper_local/whisper.py1CODE
LOW…ecognition/recognizers/whisper_local/faster_whisper.py1CODE
LOWspeech_recognition/recognizers/whisper_local/base.py1CODE
LOWspeech_recognition/recognizers/whisper_api/groq.py1CODE
LOWspeech_recognition/recognizers/whisper_api/groq.py7CODE
LOWspeech_recognition/recognizers/whisper_api/openai.py1CODE
LOWexamples/tensorflow_commands.py4CODE
Excessive Try-Catch Wrapping10 hits · 13 pts
SeverityFileLineSnippetContext
LOWtests/test_audio.py276 except Exception as exc:CODE
LOWspeech_recognition/__init__.py153 except Exception:CODE
LOWspeech_recognition/__init__.py177 except Exception:CODE
MEDIUMspeech_recognition/__init__.py877 print('Error creating bucket %s: %s' % (bucket_name, exc))CODE
MEDIUMspeech_recognition/__init__.py896 print('Error getting job:', exc.response)CODE
LOWspeech_recognition/__init__.py929 except Exception as exc:CODE
LOWspeech_recognition/__init__.py942 except Exception as exc:CODE
MEDIUMspeech_recognition/__init__.py977 print('Error starting job:', exc.response)CODE
LOWspeech_recognition/audio.py143 except Exception as exc:CODE
LOWspeech_recognition/audio.py206 except Exception as exc:CODE
Deep Nesting9 hits · 9 pts
SeverityFileLineSnippetContext
LOWspeech_recognition/__init__.py128CODE
LOWspeech_recognition/__init__.py231CODE
LOWspeech_recognition/__init__.py466CODE
LOWspeech_recognition/__init__.py572CODE
LOWspeech_recognition/__init__.py825CODE
LOWspeech_recognition/__init__.py585CODE
LOWspeech_recognition/cli.py12CODE
LOWspeech_recognition/audio.py483CODE
LOWspeech_recognition/audio.py136CODE
Decorative Section Separators2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMspeech_recognition/__init__.py1209# ===============================COMMENT
MEDIUMspeech_recognition/__init__.py1211# ===============================COMMENT
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWspeech_recognition/recognizers/cohere_api.py9logger = logging.getLogger(__name__)CODE
LOWspeech_recognition/recognizers/whisper_api/base.py6logger = logging.getLogger(__name__)CODE