Repository Analysis

muzei/muzei

Muzei Live Wallpaper for Android

3.7 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of muzei/muzei, a Kotlin project with 4,928 GitHub stars. SynthScan v2.0 examined 65,496 lines of code across 552 source files, recording 144 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 3.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).

3.7
Adjusted Score
3.7
Raw Score
100%
Time Factor
2026-08-02
Last Push
4.9K
Stars
Kotlin
Language
65.5K
Lines of Code
552
Files
144
Pattern Hits
2026-08-02
Scan Date
0.03
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

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

Severity Breakdown

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.

CRITICAL 6HIGH 9MEDIUM 3LOW 126

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 144 distinct pattern matches across 11 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.

Hyper-Verbose Identifiers61 hits · 61 pts
SeverityFileLineSnippetContext
LOWweb/frontend/html/backroom_schedule.html384function reloadArtworksForCurrentMonth() {CODE
LOWweb/frontend/html/backroom_schedule.html443function addArtworkFromExternalArtworkUrl(url, publishDate, callback) {CODE
LOWweb/lib/cloudstorage/cloudstorage_api.py376 def _should_get_another_batch(self, content):CODE
LOWweb/lib/cloudstorage/api_utils.py49def _get_default_retry_params():CODE
LOWweb/lib/cloudstorage/api_utils.py175 def belong_to_current_request(self):CODE
LOWweb/lib/bs4/element.py100 def _substitute_if_appropriate(cls, ns, f):CODE
LOWweb/lib/bs4/element.py1351 def default_candidate_generator(tag):CODE
LOWweb/lib/bs4/dammit.py54 def _populate_class_variables():CODE
LOWweb/lib/bs4/dammit.py158 def substitute_xml_containing_entities(CODE
LOWweb/lib/bs4/testing.py89 def test_public_doctype_with_url(self):CODE
LOWweb/lib/bs4/testing.py96 def test_namespaced_system_doctype(self):CODE
LOWweb/lib/bs4/testing.py100 def test_namespaced_public_doctype(self):CODE
LOWweb/lib/bs4/testing.py125 def test_p_tag_is_never_empty_element(self):CODE
LOWweb/lib/bs4/testing.py135 def test_unclosed_tags_get_closed(self):CODE
LOWweb/lib/bs4/testing.py145 def test_br_is_always_empty_element_tag(self):CODE
LOWweb/lib/bs4/testing.py155 def test_nested_formatting_elements(self):CODE
LOWweb/lib/bs4/testing.py216 def test_deeply_nested_multivalued_attribute(self):CODE
LOWweb/lib/bs4/testing.py224 def test_angle_brackets_in_attribute_values_are_escaped(self):CODE
LOWweb/lib/bs4/testing.py227 def test_entities_in_attributes_converted_to_unicode(self):CODE
LOWweb/lib/bs4/testing.py234 def test_entities_in_text_converted_to_unicode(self):CODE
LOWweb/lib/bs4/testing.py241 def test_quot_entity_converted_to_quotation_mark(self):CODE
LOWweb/lib/bs4/testing.py299 def test_single_quote_attribute_values_become_double_quotes(self):CODE
LOWweb/lib/bs4/testing.py303 def test_attribute_values_with_nested_quotes_are_left_alone(self):CODE
LOWweb/lib/bs4/testing.py307 def test_attribute_values_with_double_nested_quotes_get_quoted(self):CODE
LOWweb/lib/bs4/testing.py315 def test_ampersand_in_attribute_value_gets_escaped(self):CODE
LOWweb/lib/bs4/testing.py323 def test_escaped_ampersand_in_attribute_value_is_left_alone(self):CODE
LOWweb/lib/bs4/testing.py326 def test_entities_in_strings_converted_during_parsing(self):CODE
LOWweb/lib/bs4/testing.py333 def test_smart_quotes_converted_on_the_way_in(self):CODE
LOWweb/lib/bs4/testing.py342 def test_non_breaking_spaces_converted_on_the_way_in(self):CODE
LOWweb/lib/bs4/testing.py346 def test_entities_converted_on_the_way_out(self):CODE
LOWweb/lib/bs4/testing.py352 def test_real_iso_latin_document(self):CODE
LOWweb/lib/bs4/testing.py521 def test_tags_are_empty_element_if_and_only_if_they_are_empty(self):CODE
LOWweb/lib/bs4/testing.py525 def test_namespaces_are_preserved(self):CODE
LOWweb/lib/bs4/testing.py532 def test_closing_namespaced_tag(self):CODE
LOWweb/lib/bs4/testing.py537 def test_namespaced_attributes(self):CODE
LOWweb/lib/bs4/testing.py542 def test_namespaced_attributes_xml_namespace(self):CODE
LOWweb/lib/bs4/testing.py555 def test_html_tags_have_namespace(self):CODE
LOWweb/lib/bs4/testing.py560 def test_svg_tags_have_namespace(self):CODE
LOWweb/lib/bs4/testing.py568 def test_mathml_tags_have_namespace(self):CODE
LOWweb/lib/bs4/testing.py575 def test_xml_declaration_becomes_comment(self):CODE
LOWweb/lib/bs4/testing.py173 def test_preserved_whitespace_in_pre_and_textarea(self):CODE
LOWweb/lib/bs4/testing.py178 def test_nested_inline_elements(self):CODE
LOWweb/lib/bs4/testing.py189 def test_nested_block_level_elements(self):CODE
LOWweb/lib/bs4/testing.py196 def test_correctly_nested_tables(self):CODE
LOWweb/lib/bs4/testing.py272 def test_multivalued_attribute_value_becomes_list(self):CODE
LOWweb/lib/bs4/testing.py284 def test_can_parse_unicode_document(self):CODE
LOWweb/lib/bs4/testing.py379 def test_real_shift_jis_document(self):CODE
LOWweb/lib/bs4/testing.py396 def test_real_hebrew_document(self):CODE
LOWweb/lib/bs4/testing.py407 def test_meta_tag_reflects_current_encoding(self):CODE
LOWweb/lib/bs4/testing.py459 def test_tag_with_no_attributes_can_have_attributes_added(self):CODE
LOWweb/lib/bs4/testing.py483 def test_formatter_processes_script_tag_for_xml_documents(self):CODE
LOWweb/lib/bs4/testing.py495 def test_can_parse_unicode_document(self):STRING
LOWweb/lib/bs4/testing.py500 def test_popping_namespaced_tag(self):STRING
LOWweb/lib/bs4/testing.py506 def test_docstring_includes_correct_encoding(self):STRING
LOWweb/lib/bs4/builder/__init__.py129 def test_fragment_to_document(self, fragment):CODE
LOWweb/lib/bs4/builder/__init__.py145 def _replace_cdata_list_attribute_values(self, tag_name, attrs):CODE
LOWweb/lib/bs4/builder/__init__.py288def register_treebuilders_from(module):CODE
LOWweb/lib/bs4/builder/_html5lib.py52 def test_fragment_to_document(self, fragment):CODE
LOWweb/lib/bs4/builder/_lxml.py208 def test_fragment_to_document(self, fragment):CODE
LOWweb/lib/bs4/builder/_lxml.py231 def test_fragment_to_document(self, fragment):CODE
1 more matches not shown…
Hallucination Indicators6 hits · 60 pts
SeverityFileLineSnippetContext
CRITICAL…ava/com/google/android/apps/muzei/api/MuzeiContract.kt206 com.google.android.apps.muzei.api.Artwork.fromCursor(cursor)CODE
CRITICAL…le/android/apps/muzei/api/provider/ProviderContract.kt127 com.google.android.apps.muzei.api.provider.Artwork.fromCursor(data)CODE
CRITICAL…/google/android/apps/muzei/wearable/ArtworkTransfer.kt50 return com.google.android.apps.muzei.api.provider.Artwork(CODE
CRITICAL…om/google/android/apps/muzei/sync/ArtworkLoadWorker.kt276 val providerArtwork = com.google.android.apps.muzei.api.provider.Artwork.fromCursor(data)CODE
CRITICAL…oogle/android/apps/muzei/sync/ProviderChangedWorker.kt289 val providerArtwork = com.google.android.apps.muzei.api.provider.Artwork.fromCursor(data)CODE
CRITICAL…e/android/apps/muzei/browse/BrowseProviderViewModel.kt77 com.google.android.apps.muzei.api.provider.Artwork.fromCursor(data)CODE
Docstring Block Structure9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHweb/lib/cloudstorage/cloudstorage_api.py35Opens a Google Cloud Storage file and returns it as a File-like object. Args: filename: A Google Cloud Storage fiSTRING
HIGHweb/lib/cloudstorage/cloudstorage_api.py106Get GCSFileStat of a Google Cloud storage file. Args: filename: A Google Cloud Storage filename of form '/bucket/STRING
HIGHweb/lib/cloudstorage/cloudstorage_api.py165Returns a GCSFileStat iterator over a bucket. Optional arguments can limit the result to a subset of files under buckSTRING
HIGHweb/lib/cloudstorage/common.py215Validate and process a Google Cloud Stoarge path prefix. Args: path_prefix: a Google Cloud Storage path prefix ofSTRING
HIGHweb/lib/cloudstorage/storage_api.py241Read one line delimited by '\n' from the file. A trailing newline character is kept in the string. It may be absentSTRING
HIGHweb/lib/cloudstorage/storage_api.py283Read data from RAW file. Args: size: Number of bytes to read as integer. Actual number of bytes read STRING
HIGHweb/lib/cloudstorage/storage_api.py373Get a segment of the file from Google Storage. Args: start: start offset of the segment. Inclusive. Have to bSTRING
HIGHweb/lib/cloudstorage/api_utils.py145Check init arguments. Args: name: name of the argument. For logging purpose. val: value. Value has to bSTRING
HIGHweb/lib/cloudstorage/api_utils.py198A blocking fetch function similar to urlfetch.fetch. This function should be used when a urlfetch has timed out or thSTRING
Unused Imports28 hits · 28 pts
SeverityFileLineSnippetContext
LOWweb/lib/cloudstorage/cloudstorage_api.py7CODE
LOWweb/lib/cloudstorage/__init__.py6CODE
LOWweb/lib/cloudstorage/__init__.py7CODE
LOWweb/lib/cloudstorage/__init__.py8CODE
LOWweb/lib/cloudstorage/__init__.py9CODE
LOWweb/lib/cloudstorage/__init__.py10CODE
LOWweb/lib/cloudstorage/__init__.py11CODE
LOWweb/lib/cloudstorage/__init__.py12CODE
LOWweb/lib/cloudstorage/__init__.py13CODE
LOWweb/lib/cloudstorage/__init__.py14CODE
LOWweb/lib/cloudstorage/__init__.py15CODE
LOWweb/lib/bs4/dammit.py14CODE
LOWweb/lib/bs4/dammit.py41CODE
LOWweb/lib/bs4/testing.py4CODE
LOWweb/lib/bs4/builder/__init__.py2CODE
LOWweb/handlers/randomizer.py15CODE
LOWweb/handlers/randomizer.py20CODE
LOWweb/handlers/randomizer.py25CODE
LOWweb/handlers/randomizer.py26CODE
LOWweb/handlers/backroom.py16CODE
LOWweb/handlers/backroom.py17CODE
LOWweb/handlers/backroom.py19CODE
LOWweb/handlers/backroom.py22CODE
LOWweb/handlers/backroom.py25CODE
LOWweb/handlers/backroomarthelper.py28CODE
LOWweb/handlers/featuredart.py18CODE
LOWweb/handlers/common.py21CODE
LOWweb/handlers/archive.py30CODE
Over-Commented Block17 hits · 17 pts
SeverityFileLineSnippetContext
LOWwearable/proguard-project.txt1# To enable ProGuard in your project, edit project.propertiesCOMMENT
LOWweb/app.yaml1# Copyright 2014 Google Inc.COMMENT
LOWweb/models.py1# Copyright 2014 Google Inc.COMMENT
LOWweb/index.yaml1indexes:COMMENT
LOWweb/lib/bs4/element.py121 (either a tag or a piece of text)"""COMMENT
LOWweb/lib/bs4/builder/__init__.py261 content = tag.get('content')COMMENT
LOWweb/handlers/tasks.py1# Copyright 2014 Google Inc.COMMENT
LOWweb/handlers/randomizer.py1# Copyright 2014 Google Inc.COMMENT
LOWweb/handlers/backroom.py1# Copyright 2014 Google Inc.COMMENT
LOWweb/handlers/__init__.py1# Copyright 2014 Google Inc.COMMENT
LOWweb/handlers/backroomarthelper.py1# Copyright 2014 Google Inc.COMMENT
LOWweb/handlers/featuredart.py1# Copyright 2014 Google Inc.COMMENT
LOWweb/handlers/common.py1# Copyright 2014 Google Inc.COMMENT
LOWweb/handlers/archive.py1# Copyright 2014 Google Inc.COMMENT
LOWweb/handlers/main.py1# Copyright 2014 Google Inc.COMMENT
LOWgradle/libs.versions.toml1#COMMENT
LOWmain/proguard-project.txt1# To enable ProGuard in your project, edit project.propertiesCOMMENT
Modern Structural Boilerplate11 hits · 11 pts
SeverityFileLineSnippetContext
LOWweb/lib/cloudstorage/cloudstorage_api.py11__all__ = ['delete',CODE
LOWweb/lib/cloudstorage/common.py9__all__ = ['CS_XML_NS',CODE
LOWweb/lib/cloudstorage/errors.py9__all__ = ['AuthorizationError',CODE
LOWweb/lib/cloudstorage/storage_api.py9__all__ = ['ReadBuffer',CODE
LOWweb/lib/cloudstorage/api_utils.py7__all__ = ['set_default_retry_params',CODE
LOWweb/lib/cloudstorage/rest_api.py9__all__ = ['add_sync_methods']CODE
LOWweb/lib/bs4/__init__.py24__all__ = ['BeautifulSoup']CODE
LOWweb/lib/bs4/builder/_htmlparser.py3__all__ = [CODE
LOWweb/lib/bs4/builder/__init__.py10__all__ = [CODE
LOWweb/lib/bs4/builder/_html5lib.py1__all__ = [CODE
LOWweb/lib/bs4/builder/_lxml.py1__all__ = [CODE
Deep Nesting6 hits · 6 pts
SeverityFileLineSnippetContext
LOWweb/lib/cloudstorage/cloudstorage_api.py285CODE
LOWweb/lib/cloudstorage/cloudstorage_api.py335CODE
LOWweb/lib/cloudstorage/errors.py74CODE
LOWweb/lib/bs4/dammit.py266CODE
LOWweb/lib/bs4/dammit.py768CODE
LOWweb/lib/bs4/builder/__init__.py145CODE
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMweb/lib/bs4/builder/_html5lib.py156 # Create a brand new NavigableString from this string.COMMENT
MEDIUMweb/handlers/randomizer.py63 # Create a blacklist of keys to avoid repeatsCOMMENT
AI Slop Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUM…om/google/android/apps/muzei/gallery/ChosenPhotoDao.kt160 // Definitely not a tree URICOMMENT
LOWweb/lib/bs4/builder/_html5lib.py193 # but we just set/changed the attributes, so call it again.COMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…om/google/android/apps/muzei/render/GLTextureView.java1617 // TODO: implement a fairness policy. CurrentlyCOMMENT
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOWweb/lib/bs4/dammit.py418 except Exception as e:CODE