AI Slop Code Risk Monitor

multimodal-art-projection/YuE

SlopCodeMonitor badge for multimodal-art-projection/YuE Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).
25.5 Elevated pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for multimodal-art-projection/YuE. SynthScan examined 16,808 lines of code across 107 source files, recording 373 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 25.5 (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.

25.5
Adjusted Signal
25.5
Raw Pattern Score
100%
Time Factor
—
Last Push
—
Stars
—
Language
16.8K
Lines of Code
107
Files
373
Pattern Hits
2026-10-31
Scan Date
0.03
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 62.1/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 11.2/100 · LOW

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

Agent Over-Engineering Ratio 63.5/100 · HIGH

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

PR Review Velocity Impact 72.2/100 · HIGH

Which changes need focused human review? 373 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 3MEDIUM 21LOW 349

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 373 distinct pattern matches across 8 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 Identifiers259 hits · 267 pts
SeverityFileLineSnippetContext
LOW⚡tests/test_text_encoding.py49def test_shipped_text_io_declares_an_encoding():CODE
LOW⚡tests/test_text_encoding.py59def test_saved_plan_round_trips_non_ascii(tmp_path):CODE
LOW⚡tests/test_text_encoding.py67def test_result_manifest_round_trips_non_ascii(tmp_path):CODE
LOW⚡tests/test_text_encoding.py73def test_write_json_round_trips_without_mojibake(tmp_path, text):CODE
LOWtests/test_model.py32def test_inputs_embeds_and_tail_logits(model):CODE
LOWtests/test_model.py55def test_cached_chunks_equal_full(model, kind):CODE
LOWtests/test_model.py68def test_left_padding_and_decode(model, kind):CODE
LOWtests/test_model.py86def test_hf_generate_padding_and_embeddings(model, cache_implementation):CODE
LOWtests/test_model.py99def test_explicit_position_ids(model):CODE
LOWtests/test_model.py110def test_save_load_and_remote_auto_class(model, tmp_path):CODE
LOWtests/test_model.py121def test_bounded_cache_overflow_and_reset(model):CODE
LOWtests/test_model.py132def test_training_labels_and_causality(model):CODE
LOWtests/test_model.py141def test_release_tensor_names_and_shapes_when_source_available():CODE
LOWtests/test_model.py167def test_append_only_cache_refuses_explicit_nonappend_slots_without_mutating(tmp_path, positions):CODE
LOWtests/test_model.py178def test_append_positions_and_hf_rewrites_match_fresh_sequence_oracle():CODE
LOWtests/test_model.py194def test_loss_rejects_logit_selection_before_populating_cache(selector):CODE
LOWtests/test_model.py204def test_full_causal_loss_matches_shifted_logits_and_backpropagates():CODE
LOWtests/test_public_export.py18def test_unknown_metadata_is_not_loaded_or_reserialized(config_class):CODE
LOWtests/test_public_export.py27def test_model_export_omits_unlisted_code_reports_and_cache(tmp_path):CODE
LOW⚡tests/test_public_export.py52def test_export_refuses_nonempty_destination(tmp_path):CODE
LOW⚡tests/test_public_export.py59def test_pipeline_export_refuses_residue_at_the_root(tmp_path):CODE
LOW⚡tests/test_public_export.py67def test_hf_download_is_restricted_to_inference_files(monkeypatch, tmp_path):CODE
LOWtests/test_public_export.py83def test_export_auto_classes_resolve_to_exported_reviewed_code(tmp_path, kind, redirect):CODE
LOWtests/test_example_generate.py20def test_example_preserves_external_score(newline, device, tmp_path, monkeypatch):CODE
LOWtests/test_example_generate.py53def test_instrumental_clip_rejects_invalid_duration_before_loading(tmp_path):CODE
LOWtests/test_cli_decode.py61def test_decoder_only_cli_matches_native_full_waveform(tmp_path, native, layout):CODE
LOWtests/test_cli_decode.py80def test_decoder_cli_preserves_existing_audio_before_loading_weights(tmp_path):CODE
LOWtests/test_cli_decode.py88def test_decoder_cli_refuses_nonfinite_latents_without_creating_audio(tmp_path, native):CODE
LOWtests/test_cli_decode.py99def test_existing_decoder_only_python_api_control(native):CODE
LOWtests/test_cli_decode.py108def test_bad_latent_file_is_rejected_before_resolving_model(tmp_path, monkeypatch, invalid):CODE
LOWtests/test_cli_decode.py134def test_decoder_refuses_nonfinite_output_and_releases_model(tmp_path, native, monkeypatch):CODE
LOWtests/test_instrumental_delivery.py15def test_instrumental_share_only_exports_receipted_audio(tmp_path, optional):CODE
LOWtests/test_instrumental_delivery.py95def test_generated_receipts_take_precedence_over_preparation_receipts(tmp_path, variant):CODE
LOWtests/test_protocol.py17def test_defaults_and_native_instructions():CODE
LOWtests/test_protocol.py28def test_cfg_keeps_exact_score_and_removes_only_text():CODE
LOWtests/test_protocol.py43def test_external_abc_retains_crlf(tmp_path):CODE
LOWtests/test_protocol.py54def test_window_count_sign_and_window_expiry():CODE
LOWtests/test_protocol.py60def test_top_p_off_keeps_three_and_symbolic_one():CODE
LOW⚡tests/test_protocol.py71def test_vocab_and_eos_minimum():CODE
LOW⚡tests/test_protocol.py81def test_integrity_rejects_incomplete_outputs(tmp_path):CODE
LOW⚡tests/test_protocol.py87def test_invalid_hyperparameters():CODE
LOW⚡tests/test_protocol.py97def test_partial_abc_override_keeps_abc_defaults():CODE
LOW⚡tests/test_protocol.py103def test_saved_plan_preserves_exact_ids_and_rejects_edits(tmp_path):CODE
LOWtests/test_protocol.py117def test_invalid_generation_contract_is_rejected_immediately(field, value):CODE
LOWtests/test_protocol.py120def test_dictionary_overrides_still_resolve_sampling_defaults():CODE
LOWtests/test_tokenizer.py23def test_bpe_rank_table_rejects_duplicate_missing_or_negative_ranks(CODE
LOWtests/test_tokenizer.py35def test_native_bpe_encode_decode_and_export_roundtrip(native_merge_file, tmp_path):CODE
LOWtests/test_skill_listen.py38 def test_html_escaping_and_exact_artifacts(self):CODE
LOW⚡tests/test_skill_listen.py51 def test_failures_are_visible(self):CODE
LOW⚡tests/test_skill_listen.py61 def test_mismatch_withholds_player(self):CODE
LOW⚡tests/test_skill_listen.py67 def test_secret_metadata_withheld(self):CODE
LOWtests/test_skill_listen.py84def test_metadata_changed_after_validation_is_not_exported(tmp_path, monkeypatch):CODE
LOWtests/test_fast.py33def test_optional_imports_do_not_load_cuda_extensions():CODE
LOWtests/test_fast.py48def test_derived_ar_subset_and_hash_validation(tmp_path):STRING
LOW⚡tests/test_fast.py61def test_missing_ar_tensor_fails(tmp_path):STRING
LOW⚡tests/test_fast.py69def test_full_context_kv_budget():STRING
LOW⚡tests/test_fast.py78def test_cfg_and_device_fallback_preserve_protocol(monkeypatch, cfg, legacy, reason):STRING
LOWtests/test_fast.py97def test_worker_transport_handles_many_buffered_lines(monkeypatch):STRING
LOWtests/test_fast.py137def test_window_processor_counting_and_request_moves():STRING
LOWtests/test_fast.py188def test_cached_derivative_cannot_bypass_verification_by_omitting_hashes(tmp_path,missing):STRING
199 more matches not shown…
Unused Imports40 hits · 40 pts
SeverityFileLineSnippetContext
LOWtools/build_release.py7CODE
LOWtests/test_model.py2CODE
LOWtests/test_public_export.py3CODE
LOWtests/test_protocol.py1CODE
LOWtests/test_protocol.py2CODE
LOWtests/test_protocol.py5CODE
LOWtests/test_protocol.py8CODE
LOWtests/test_tokenizer.py2CODE
LOWtests/test_skill_listen.py1CODE
LOWtests/test_skill_listen.py10CODE
LOWtests/test_skill_listen.py11CODE
LOWtests/test_skill_release.py11CODE
LOWtests/test_storage.py2CODE
LOWtests/test_skill_abc_tools.py7CODE
LOWtests/test_cli_public.py5CODE
LOWtests/test_devices.py2CODE
LOWtests/test_sampling.py4CODE
LOWtests/test_sampling.py4CODE
LOW…lls/yue2-music/instrumental/scripts/instrumentalize.py3CODE
LOW…lls/yue2-music/instrumental/scripts/instrumentalize.py5CODE
LOWskills/yue2-music/instrumental/scripts/abc_tools.py9CODE
LOWskills/yue2-music/instrumental/scripts/compile_score.py8CODE
LOWskills/yue2-music/instrumental/scripts/instrumental.py3CODE
LOWskills/yue2-music/instrumental/scripts/setup_runtime.py3CODE
LOWskills/yue2-music/scripts/abc_tools.py9CODE
LOWskills/yue2-music/scripts/listen.py9CODE
LOWsrc/yue2/cuda_graph.py7CODE
LOWsrc/yue2/modeling_vae.py7CODE
LOWsrc/yue2/quantization.py7CODE
LOWsrc/yue2/protocol.py2CODE
LOWsrc/yue2/cli.py2CODE
LOWsrc/yue2/pipeline.py2CODE
LOWsrc/yue2/pipeline.py13CODE
LOWsrc/yue2/pipeline.py16CODE
LOWsrc/yue2/nar.py7CODE
LOWsrc/yue2/sampling.py2CODE
LOWsrc/yue2/storage.py2CODE
LOWsrc/yue2/modeling_yue2.py7CODE
LOWsrc/yue2/tokenization_yue2.py2CODE
LOWsrc/yue2/progress.py9CODE
Decorative Section Separators12 hits · 36 pts
SeverityFileLineSnippetContext
MEDIUMsrc/yue2/modeling_yue2.py75# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/yue2/modeling_yue2.py77# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/yue2/modeling_yue2.py139# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/yue2/modeling_yue2.py141# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/yue2/modeling_yue2.py339# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/yue2/modeling_yue2.py341# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/yue2/modeling_yue2.py384# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/yue2/modeling_yue2.py386# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/yue2/modeling_yue2.py448# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/yue2/modeling_yue2.py450# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/yue2/modeling_yue2.py537 # ── AR forward (standard causal LM, KV cached) ───────────────────COMMENT
MEDIUMsrc/yue2/modeling_yue2.py654 # ── NAR velocity (flow matching, no KV cache) ────────────────────COMMENT
Deep Nesting29 hits · 28 pts
SeverityFileLineSnippetContext
LOWtests/test_cli_decode.py108CODE
LOW…ls/yue2-music/instrumental/scripts/transcribe_cover.py15CODE
LOW…lls/yue2-music/instrumental/scripts/instrumentalize.py35CODE
LOW…lls/yue2-music/instrumental/scripts/instrumentalize.py51CODE
LOWskills/yue2-music/instrumental/scripts/abc_tools.py87CODE
LOWskills/yue2-music/instrumental/scripts/abc_tools.py153CODE
LOWskills/yue2-music/instrumental/scripts/abc_tools.py292CODE
LOWskills/yue2-music/instrumental/scripts/instrumental.py29CODE
LOWskills/yue2-music/instrumental/scripts/test_tools.py141CODE
LOWskills/yue2-music/scripts/run_yue2.py122CODE
LOWskills/yue2-music/scripts/abc_tools.py87CODE
LOWskills/yue2-music/scripts/abc_tools.py153CODE
LOWskills/yue2-music/scripts/abc_tools.py292CODE
LOWskills/yue2-music/scripts/transcribe.py14CODE
LOWskills/yue2-music/scripts/listen.py90CODE
LOWsrc/yue2/cuda_graph.py131CODE
LOWsrc/yue2/modeling_vae.py401CODE
LOWsrc/yue2/fast.py57CODE
LOWsrc/yue2/fast.py301CODE
LOWsrc/yue2/fast.py350CODE
LOWsrc/yue2/fast.py251CODE
LOWsrc/yue2/cli.py262CODE
LOWsrc/yue2/cli.py310CODE
LOWsrc/yue2/pipeline.py233CODE
LOWsrc/yue2/pipeline.py355CODE
LOWsrc/yue2/nar.py218CODE
LOWsrc/yue2/nar.py243CODE
LOWsrc/yue2/sampling.py89CODE
LOWsrc/yue2/storage.py64CODE
Modern AI Meta-Vocabulary9 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUM⚡README.md93| [Listen and inspect the score](https://map-yue2.github.io/#abc-cot-gen) | [Hear zero-shot covers](https://map-yue2.gitCODE
MEDIUM⚡README.md93| [Listen and inspect the score](https://map-yue2.github.io/#abc-cot-gen) | [Hear zero-shot covers](https://map-yue2.gitCODE
MEDIUM⚡README.md93| [Listen and inspect the score](https://map-yue2.github.io/#abc-cot-gen) | [Hear zero-shot covers](https://map-yue2.gitCODE
MEDIUMREADME.md239**Zero-shot covers.** On 948 works, full-score YuE2 reaches **0.647 CLEWS mAP**, compared with **0.006 without a score**CODE
MEDIUMdocs/covers.md62For a complete score with fixed harmony, use `cot="full"`. Melody-only is recommended for changing styles because it givCODE
MEDIUMdocs/benchmarks.md136The results support selective control of musical content through the score. Editing regenerates the entire recording; prCODE
MEDIUMdocs/benchmarks.md136The results support selective control of musical content through the score. Editing regenerates the entire recording; prCODE
MEDIUMdocs/editing.md57[Explore the 9-step, 14-version editing demo](https://map-yue2.github.io/#agentic-music-editing), where each version incCODE
MEDIUMdocs/editing.md57[Explore the 9-step, 14-version editing demo](https://map-yue2.github.io/#agentic-music-editing), where each version incCODE
Empty Error Handlers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHsrc/yue2/progress.py50except ValueError:CODE
HIGHsrc/yue2/progress.py56except (AttributeError, OSError, ValueError):CODE
HIGHsrc/yue2/progress.py99except (AttributeError, OSError, ValueError):CODE
Excessive Try-Catch Wrapping11 hits · 11 pts
SeverityFileLineSnippetContext
LOW…ls/yue2-music/instrumental/scripts/transcribe_cover.py90 except Exception as exc:CODE
LOW…ls/yue2-music/instrumental/scripts/transcribe_cover.py114 except Exception as exc:CODE
LOWskills/yue2-music/instrumental/scripts/instrumental.py213 except Exception:CODE
LOWskills/yue2-music/instrumental/scripts/instrumental.py275 except Exception as exc:CODE
LOWskills/yue2-music/instrumental/scripts/instrumental.py365 except Exception as exc:CODE
LOWskills/yue2-music/scripts/run_yue2.py173 except Exception as exc:CODE
LOWskills/yue2-music/scripts/run_yue2.py180 except Exception as exc:CODE
LOWskills/yue2-music/scripts/run_yue2.py207 except Exception as exc:CODE
LOWskills/yue2-music/scripts/transcribe.py89 except Exception as exc:CODE
LOWskills/yue2-music/scripts/transcribe.py112 except Exception as exc:CODE
LOWsrc/yue2/cli.py296 except Exception as exc:CODE
AI Structural Patterns10 hits · 10 pts
SeverityFileLineSnippetContext
LOWsrc/yue2/modeling_vae.py209CODE
LOWsrc/yue2/modeling_vae.py291CODE
LOWsrc/yue2/modeling_vae.py401CODE
LOWsrc/yue2/pipeline.py146CODE
LOWsrc/yue2/pipeline.py191CODE
LOWsrc/yue2/pipeline.py423CODE
LOWsrc/yue2/nar.py243CODE
LOWsrc/yue2/modeling_yue2.py98CODE
LOWsrc/yue2/modeling_yue2.py463CODE
LOWsrc/yue2/modeling_yue2.py539CODE