Repository Analysis

yeasy/blockchain_guide

Introduce technologies on blockchain and distributed ledger, from theory to practice with bitcoin, ethereum and hyperledger.

3.7 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of yeasy/blockchain_guide, a Python project with 7,075 GitHub stars. SynthScan v2.0 examined 23,726 lines of code across 193 source files, recording 62 pattern matches distributed across 6 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-07-30
Last Push
7.1K
Stars
Python
Language
23.7K
Lines of Code
193
Files
62
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 0HIGH 5MEDIUM 2LOW 55

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 62 distinct pattern matches across 6 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 Identifiers39 hits · 37 pts
SeverityFileLineSnippetContext
LOWcheck_project_rules.py136def iter_markdown_link_targets(body: str):CODE
LOWtools/render_mermaid.py28def validate_output_directory(book_dir: str, svg_out: str) -> tuple[Path, Path]:CODE
LOWtools/publication_sources.py116def _is_unapproved_remote_image(raw_target: str) -> bool:CODE
LOWtools/publication_sources.py282def find_unapproved_remote_images(source_root: Path) -> list[tuple[Path, int, str]]:CODE
LOWtools/verify_release_artifacts.py139def verify_publication_images(source_root: Path) -> None:CODE
LOWtests/test_workflows.py160 def test_all_actions_are_full_sha_pinned_with_version_comments(self):STRING
LOWtests/test_workflows.py169 def test_checkout_drops_credentials_and_permissions_are_minimal(self):STRING
LOWtests/test_workflows.py182 def test_downloads_mermaid_and_artifacts_have_integrity_gates(self):STRING
LOWtests/test_workflows.py194 def test_pandoc_is_installed_and_verified_before_publication_source_checks(self):STRING
LOWtests/test_workflows.py203 def test_every_publication_workflow_builds_pdf_html_and_checksums(self):STRING
LOWtests/test_workflows.py214 def test_ci_runs_each_chaincode_package_as_a_matrix(self):STRING
LOWtests/test_workflows.py222 def test_renderer_does_not_kill_unrelated_processes_and_can_fail_closed(self):STRING
LOWtests/test_workflows.py229 def test_renderer_rejects_outputs_from_every_failed_command(self):STRING
LOWtests/test_workflows.py238 def test_renderer_promotes_only_a_successful_retry(self):STRING
LOWtests/test_workflows.py247 def test_preview_release_notes_preserve_markdown_literals(self):STRING
LOWtests/test_workflows.py297 def test_preview_existing_and_missing_paths_use_exact_order(self):STRING
LOWtests/test_workflows.py305 def test_preview_fails_closed_before_publish(self):STRING
LOWtests/test_publication_sources.py56 def test_publication_scan_matches_real_pandoc_image_nodes(self):CODE
LOWtests/test_publication_sources.py85 def test_missing_pandoc_fails_closed_with_source_context(self):CODE
LOWtests/test_publication_sources.py90 def test_pandoc_parse_failure_fails_closed_with_command_context(self):CODE
LOWtests/test_publication_sources.py96 def test_multiple_publication_sources_use_one_pandoc_batch(self):CODE
LOWtests/test_publication_sources.py119 def test_markdown_image_srcset_checks_every_candidate(self):CODE
LOWtests/test_publication_sources.py130 def test_raw_html_img_srcset_handles_quoted_and_escaped_urls(self):CODE
LOWtests/test_publication_sources.py141 def test_picture_source_checks_src_and_srcset_without_splitting_data_commas(self):CODE
LOWtests/test_project_rules.py26 def test_checker_rejects_unapproved_remote_images_in_publication_sources(self):CODE
LOWtests/test_project_rules.py33 def test_checker_allows_explicitly_whitelisted_badges(self):CODE
LOWtests/test_project_rules.py39 def test_checker_rejects_full_reference_image_with_normalized_multiline_label(self):CODE
LOWtests/test_project_rules.py51 def test_checker_rejects_collapsed_and_shortcut_reference_images(self):CODE
LOWtests/test_project_rules.py63 def test_checker_rejects_pandoc_reference_labels_with_escaped_punctuation(self):CODE
LOWtests/test_project_rules.py113 def test_checker_applies_badge_allowlist_to_reference_images(self):CODE
LOWtests/test_project_rules.py121 def test_checker_ignores_non_image_markdown_syntax(self):CODE
LOWtests/test_release_artifacts.py23 def test_html_title_and_every_published_mermaid_are_verified(self):CODE
LOWtests/test_release_artifacts.py44 def test_pdf_signature_and_title_are_mandatory(self):CODE
LOWtests/test_release_artifacts.py58 def test_manifest_covers_both_artifacts_and_detects_tampering(self):CODE
LOWtests/test_release_artifacts.py73 def test_mermaid_count_only_uses_unique_summary_chapters(self):CODE
LOWtests/test_release_artifacts.py82 def test_artifact_main_rejects_unapproved_remote_publication_images(self):CODE
LOWtests/test_release_artifacts.py173 def test_html_reader_disables_ambiguous_pandoc_block_syntax(self):CODE
LOWtests/test_html_list_rendering.py58 def test_reader_declares_the_no_blank_line_list_extension(self):CODE
LOWtests/test_html_list_rendering.py68 def test_bold_lead_in_list_renders_as_ul_under_real_pandoc(self):CODE
Magic Placeholder Names4 hits · 28 pts
SeverityFileLineSnippetContext
HIGH07_ethereum/smart_contract_labs.md457anvil --fork-url https://eth-mainnet.g.alchemy.com/v2/YOUR_API_KEYCODE
HIGH07_ethereum/smart_contract_labs.md565export SEPOLIA_RPC_URL="https://eth-sepolia.g.alchemy.com/v2/YOUR_API_KEY"CODE
HIGH07_ethereum/smart_contract_labs.md567export MAINNET_RPC_URL="https://eth-mainnet.g.alchemy.com/v2/YOUR_API_KEY"CODE
HIGH07_ethereum/smart_contract_labs.md568export POLYGON_AMOY_RPC_URL="https://polygon-amoy.g.alchemy.com/v2/YOUR_API_KEY"CODE
Unused Imports9 hits · 9 pts
SeverityFileLineSnippetContext
LOWcheck_emphasis.py17CODE
LOWcheck_project_rules.py4CODE
LOWtools/render_mermaid.py4CODE
LOWtools/publication_sources.py3CODE
LOWtools/verify_release_artifacts.py4CODE
LOWtests/test_workflows.py1CODE
LOWtests/test_publication_sources.py1CODE
LOWtests/test_project_rules.py1CODE
LOWtests/test_release_artifacts.py1CODE
Deep Nesting7 hits · 7 pts
SeverityFileLineSnippetContext
LOWcheck_emphasis.py146CODE
LOWcheck_emphasis.py188CODE
LOWcheck_project_rules.py53CODE
LOWtools/publication_sources.py29CODE
LOWtools/publication_sources.py204CODE
LOWtools/publication_sources.py282CODE
LOWtools/build_html_reader.py22CODE
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHtools/build_html_reader.py161 function show(id){var i=order.indexOf(id);if(i<0){i=0;id=order[0]}for(var k=0;k<pages.length;k++)pages[k].classList.togCODE
AI Slop Vocabulary2 hits · 3 pts
SeverityFileLineSnippetContext
MEDIUMtools/build_html_reader.py2"""Build a single self-contained, GitBook-style PAGED mobile reader — offline-robust.STRING
MEDIUMtools/mermaid/package-lock.json2048 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE