AI Slop Code RIsk Monitor

multimodal-art-projection/YuE

YuE2: frontier music generation with symbolic planning, zero-shot covers, and agentic music editing.

23.2 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for multimodal-art-projection/YuE, a Python project with 11,606 GitHub stars. SynthScan examined 13,563 lines of code across 89 source files, recording 264 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 23.2 (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.

23.2
Adjusted Signal
23.2
Raw Pattern Score
100%
Time Factor
2026-10-06
Last Push
11.6K
Stars
Python
Language
13.6K
Lines of Code
89
Files
264
Pattern Hits
2026-10-12
Scan Date
0.03
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 55.6/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 11.4/100 · LOW

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

Agent Over-Engineering Ratio 58.1/100 · HIGH

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

PR Review Velocity Impact 69.4/100 · HIGH

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

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 264 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 Identifiers162 hits · 166 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.py33def test_inputs_embeds_and_tail_logits(model):CODE
LOWtests/test_model.py56def test_cached_chunks_equal_full(model, kind):CODE
LOWtests/test_model.py69def test_left_padding_and_decode(model, kind):CODE
LOWtests/test_model.py87def test_hf_generate_padding_and_embeddings(model, cache_implementation):CODE
LOWtests/test_model.py100def test_explicit_position_ids(model):CODE
LOWtests/test_model.py111def test_save_load_and_remote_auto_class(model, tmp_path):CODE
LOWtests/test_model.py122def test_bounded_cache_overflow_and_reset(model):CODE
LOWtests/test_model.py133def test_training_labels_and_causality(model):CODE
LOWtests/test_model.py142def test_release_tensor_names_and_shapes_when_source_available():CODE
LOWtests/test_public_export.py16def test_unknown_metadata_is_not_loaded_or_reserialized(config_class):CODE
LOWtests/test_public_export.py25def test_model_export_omits_unlisted_code_reports_and_cache(tmp_path):CODE
LOW⚡tests/test_public_export.py50def test_export_refuses_nonempty_destination(tmp_path):CODE
LOW⚡tests/test_public_export.py57def test_pipeline_export_refuses_residue_at_the_root(tmp_path):CODE
LOW⚡tests/test_public_export.py65def test_hf_download_is_restricted_to_inference_files(monkeypatch, tmp_path):CODE
LOWtests/test_example_generate.py19def test_example_preserves_external_score(newline, tmp_path, monkeypatch):CODE
LOWtests/test_protocol.py16def test_defaults_and_native_instructions():CODE
LOWtests/test_protocol.py27def test_cfg_keeps_exact_score_and_removes_only_text():CODE
LOWtests/test_protocol.py42def test_external_abc_retains_crlf(tmp_path):CODE
LOWtests/test_protocol.py53def test_window_count_sign_and_window_expiry():CODE
LOWtests/test_protocol.py59def test_top_p_off_keeps_three_and_symbolic_one():CODE
LOW⚡tests/test_protocol.py70def test_vocab_and_eos_minimum():CODE
LOW⚡tests/test_protocol.py80def test_integrity_rejects_incomplete_outputs(tmp_path):CODE
LOW⚡tests/test_protocol.py86def test_invalid_hyperparameters():CODE
LOW⚡tests/test_protocol.py96def test_partial_abc_override_keeps_abc_defaults():CODE
LOW⚡tests/test_protocol.py102def test_saved_plan_preserves_exact_ids_and_rejects_edits(tmp_path):CODE
LOWtests/test_skill_listen.py34 def test_html_escaping_and_exact_artifacts(self):CODE
LOW⚡tests/test_skill_listen.py47 def test_failures_are_visible(self):CODE
LOW⚡tests/test_skill_listen.py57 def test_mismatch_withholds_player(self):CODE
LOW⚡tests/test_skill_listen.py63 def test_secret_metadata_withheld(self):CODE
LOWtests/test_fast.py32def test_optional_imports_do_not_load_cuda_extensions():CODE
LOWtests/test_fast.py47def test_derived_ar_subset_and_hash_validation(tmp_path):STRING
LOW⚡tests/test_fast.py60def test_missing_ar_tensor_fails(tmp_path):STRING
LOW⚡tests/test_fast.py68def test_full_context_kv_budget():STRING
LOW⚡tests/test_fast.py77def test_cfg_and_device_fallback_preserve_protocol(monkeypatch, cfg, legacy, reason):STRING
LOWtests/test_fast.py96def test_worker_transport_handles_many_buffered_lines(monkeypatch):STRING
LOWtests/test_fast.py136def test_window_processor_counting_and_request_moves():STRING
LOWtests/test_skill_release.py18 def test_reproducible_archive_contains_complete_instrumental_workflow(self):CODE
LOWtests/test_skill_release.py39 def test_rejects_unlisted_private_work_file(self):CODE
LOWtests/test_skill_release.py48 def test_rejects_changed_manifest_payload(self):CODE
LOWtests/test_skill_transcribe_melody_only.py75 def test_melody_tasks_explicitly_enable_export_flag(self):STRING
LOWtests/test_skill_transcribe_melody_only.py86 def test_full_task_remains_compatible_with_old_wrapper(self):STRING
LOWtests/test_skill_transcribe_melody_only.py95 def test_old_wrapper_rejected_before_transcribing_melody(self):STRING
LOWtests/test_skill_transcribe_melody_only.py106 def test_missing_abc_remains_failure_with_partial_error_result(self):STRING
LOWtests/test_cli_batch.py15def test_batch_continues_after_request_preflight_failure(invalid, error, monkeypatch, tmp_path):CODE
LOWtests/test_progress.py35def test_quiet_never_touches_stream_or_starts_thread(monkeypatch):CODE
LOWtests/test_progress.py52def test_loading_heartbeat_refreshes_without_callbacks_and_stops():CODE
LOWtests/test_progress.py65def test_non_tty_is_throttled_and_counts_only_callback_outputs(monkeypatch):CODE
LOWtests/test_progress.py85def test_real_total_can_arrive_after_stage_starts(monkeypatch):CODE
LOWtests/test_progress.py109def test_exceptions_propagate_with_correct_status_and_no_thread_leak(exception, status):CODE
LOWtests/test_progress.py121def test_truncated_stage_and_summary_do_not_claim_completion():CODE
LOWtests/test_progress.py136def test_complete_uses_stderr_and_needs_no_thread(monkeypatch, capsys):CODE
LOWtests/test_progress.py149def test_concurrent_callbacks_are_counted_exactly_and_do_not_change_rng():CODE
LOWtests/test_progress.py160def test_module_import_and_quiet_usage_require_no_torch_or_rng_modules():CODE
LOWtests/test_progress.py174def test_closed_output_stream_does_not_fail_work():STRING
LOWtests/test_progress.py182def test_outer_context_cleans_up_an_unfinished_stage_on_failure():STRING
LOWtests/test_progress.py194def test_invalid_values_fail_without_spawning_threads():STRING
102 more matches not shown…
Decorative Section Separators12 hits · 36 pts
SeverityFileLineSnippetContext
MEDIUMsrc/yue2/modeling_yue2.py56# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/yue2/modeling_yue2.py58# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/yue2/modeling_yue2.py120# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/yue2/modeling_yue2.py122# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/yue2/modeling_yue2.py307# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/yue2/modeling_yue2.py309# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/yue2/modeling_yue2.py352# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/yue2/modeling_yue2.py354# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/yue2/modeling_yue2.py403# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/yue2/modeling_yue2.py405# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/yue2/modeling_yue2.py490 # ── AR forward (standard causal LM, KV cached) ───────────────────COMMENT
MEDIUMsrc/yue2/modeling_yue2.py601 # ── NAR velocity (flow matching, no KV cache) ────────────────────COMMENT
Unused Imports33 hits · 33 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_skill_listen.py1CODE
LOWtests/test_fast.py4CODE
LOWtests/test_skill_abc_tools.py2CODE
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/cli.py9CODE
LOWsrc/yue2/pipeline.py2CODE
LOWsrc/yue2/pipeline.py12CODE
LOWsrc/yue2/pipeline.py15CODE
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
Deep Nesting26 hits · 26 pts
SeverityFileLineSnippetContext
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.py87CODE
LOWsrc/yue2/cuda_graph.py112CODE
LOWsrc/yue2/modeling_vae.py395CODE
LOWsrc/yue2/fast.py57CODE
LOWsrc/yue2/fast.py296CODE
LOWsrc/yue2/fast.py345CODE
LOWsrc/yue2/fast.py246CODE
LOWsrc/yue2/cli.py144CODE
LOWsrc/yue2/pipeline.py320CODE
LOWsrc/yue2/nar.py206CODE
LOWsrc/yue2/nar.py228CODE
LOWsrc/yue2/sampling.py57CODE
LOWsrc/yue2/storage.py58CODE
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.md237**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.py87 except Exception as exc:CODE
LOW…ls/yue2-music/instrumental/scripts/transcribe_cover.py111 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.py363 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.py86 except Exception as exc:CODE
LOWskills/yue2-music/scripts/transcribe.py109 except Exception as exc:CODE
LOWsrc/yue2/cli.py174 except Exception as exc:CODE
AI Structural Patterns8 hits · 8 pts
SeverityFileLineSnippetContext
LOWsrc/yue2/modeling_vae.py209CODE
LOWsrc/yue2/modeling_vae.py291CODE
LOWsrc/yue2/modeling_vae.py395CODE
LOWsrc/yue2/pipeline.py122CODE
LOWsrc/yue2/pipeline.py168CODE
LOWsrc/yue2/modeling_yue2.py79CODE
LOWsrc/yue2/modeling_yue2.py418CODE
LOWsrc/yue2/modeling_yue2.py492CODE