Introduce technologies on blockchain and distributed ledger, from theory to practice with bitcoin, ethereum and hyperledger.
This report summarizes scanner evidence for yeasy/blockchain_guide, a Python project with 7,074 GitHub stars. SynthScan examined 23,983 lines of code across 194 source files, recording 72 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 4.3 (Low 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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 57 finding(s).
Are imports declared and package/API names verified? 15 finding(s).
Are wrappers, guards, and repeated structures necessary? 48 finding(s).
Which changes need focused human review? 72 finding(s).
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.
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.
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.
The scanner identified 72 distinct pattern matches across 6 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | check_project_rules.py | 136 | def iter_markdown_link_targets(body: str): | CODE |
| LOW | tools/render_mermaid.py | 28 | def validate_output_directory(book_dir: str, svg_out: str) -> tuple[Path, Path]: | CODE |
| LOW | tools/publication_sources.py | 116 | def _is_unapproved_remote_image(raw_target: str) -> bool: | CODE |
| LOW | tools/publication_sources.py | 282 | def find_unapproved_remote_images(source_root: Path) -> list[tuple[Path, int, str]]: | CODE |
| LOW | tools/verify_release_artifacts.py | 139 | def verify_publication_images(source_root: Path) -> None: | CODE |
| LOW | tests/test_workflows.py | 160 | def test_all_actions_are_full_sha_pinned_with_version_comments(self): | STRING |
| LOW | tests/test_workflows.py | 169 | def test_checkout_drops_credentials_and_permissions_are_minimal(self): | STRING |
| LOW | tests/test_workflows.py | 182 | def test_downloads_mermaid_and_artifacts_have_integrity_gates(self): | STRING |
| LOW | tests/test_workflows.py | 194 | def test_pandoc_is_installed_and_verified_before_publication_source_checks(self): | STRING |
| LOW | tests/test_workflows.py | 203 | def test_every_publication_workflow_builds_pdf_html_and_checksums(self): | STRING |
| LOW⚡ | tests/test_workflows.py | 214 | def test_ci_runs_each_chaincode_package_as_a_matrix(self): | STRING |
| LOW⚡ | tests/test_workflows.py | 222 | def test_renderer_does_not_kill_unrelated_processes_and_can_fail_closed(self): | STRING |
| LOW⚡ | tests/test_workflows.py | 229 | def test_renderer_rejects_outputs_from_every_failed_command(self): | STRING |
| LOW⚡ | tests/test_workflows.py | 238 | def test_renderer_promotes_only_a_successful_retry(self): | STRING |
| LOW⚡ | tests/test_workflows.py | 247 | def test_preview_release_notes_preserve_markdown_literals(self): | STRING |
| LOW | tests/test_workflows.py | 297 | def test_preview_existing_and_missing_paths_use_exact_order(self): | STRING |
| LOW | tests/test_workflows.py | 305 | def test_preview_fails_closed_before_publish(self): | STRING |
| LOW | tests/test_publication_sources.py | 56 | def test_publication_scan_matches_real_pandoc_image_nodes(self): | CODE |
| LOW⚡ | tests/test_publication_sources.py | 85 | def test_missing_pandoc_fails_closed_with_source_context(self): | CODE |
| LOW⚡ | tests/test_publication_sources.py | 90 | def test_pandoc_parse_failure_fails_closed_with_command_context(self): | CODE |
| LOW⚡ | tests/test_publication_sources.py | 96 | def test_multiple_publication_sources_use_one_pandoc_batch(self): | CODE |
| LOW | tests/test_publication_sources.py | 119 | def test_markdown_image_srcset_checks_every_candidate(self): | CODE |
| LOW | tests/test_publication_sources.py | 130 | def test_raw_html_img_srcset_handles_quoted_and_escaped_urls(self): | CODE |
| LOW | tests/test_publication_sources.py | 141 | def test_picture_source_checks_src_and_srcset_without_splitting_data_commas(self): | CODE |
| LOW⚡ | tests/test_cjk_typography.py | 128 | def test_cjk_and_latin_stay_apart(self) -> None: | CODE |
| LOW⚡ | tests/test_cjk_typography.py | 138 | def test_parens_holding_chinese_are_full_width(self) -> None: | CODE |
| LOW⚡ | tests/test_cjk_typography.py | 148 | def test_both_rules_can_actually_fail(self) -> None: | CODE |
| LOW | tests/test_cjk_typography.py | 162 | def test_latin_only_parens_are_left_alone(self) -> None: | CODE |
| LOW | tests/test_cjk_typography.py | 170 | def test_non_prose_regions_are_excluded(self) -> None: | CODE |
| LOW⚡ | tests/test_cjk_typography.py | 183 | def test_prices_are_not_mistaken_for_math(self) -> None: | CODE |
| LOW⚡ | tests/test_cjk_typography.py | 188 | def test_html_text_content_is_still_prose(self) -> None: | CODE |
| LOW⚡ | tests/test_cjk_typography.py | 194 | def test_a_table_row_is_not_an_html_tag(self) -> None: | CODE |
| LOW⚡ | tests/test_cjk_typography.py | 198 | def test_display_math_blocks_are_skipped_whole(self) -> None: | CODE |
| LOW⚡ | tests/test_project_rules.py | 26 | def test_checker_rejects_unapproved_remote_images_in_publication_sources(self): | CODE |
| LOW⚡ | tests/test_project_rules.py | 33 | def test_checker_allows_explicitly_whitelisted_badges(self): | CODE |
| LOW⚡ | tests/test_project_rules.py | 39 | def test_checker_rejects_full_reference_image_with_normalized_multiline_label(self): | CODE |
| LOW | tests/test_project_rules.py | 51 | def test_checker_rejects_collapsed_and_shortcut_reference_images(self): | CODE |
| LOW | tests/test_project_rules.py | 63 | def test_checker_rejects_pandoc_reference_labels_with_escaped_punctuation(self): | CODE |
| LOW | tests/test_project_rules.py | 113 | def test_checker_applies_badge_allowlist_to_reference_images(self): | CODE |
| LOW | tests/test_project_rules.py | 121 | def test_checker_ignores_non_image_markdown_syntax(self): | CODE |
| LOW | tests/test_release_artifacts.py | 23 | def test_html_title_and_every_published_mermaid_are_verified(self): | CODE |
| LOW | tests/test_release_artifacts.py | 44 | def test_pdf_signature_and_title_are_mandatory(self): | CODE |
| LOW | tests/test_release_artifacts.py | 58 | def test_manifest_covers_both_artifacts_and_detects_tampering(self): | CODE |
| LOW | tests/test_release_artifacts.py | 73 | def test_mermaid_count_only_uses_unique_summary_chapters(self): | CODE |
| LOW | tests/test_release_artifacts.py | 82 | def test_artifact_main_rejects_unapproved_remote_publication_images(self): | CODE |
| LOW | tests/test_release_artifacts.py | 173 | def test_html_reader_disables_ambiguous_pandoc_block_syntax(self): | CODE |
| LOW | tests/test_html_list_rendering.py | 58 | def test_reader_declares_the_no_blank_line_list_extension(self): | CODE |
| LOW | tests/test_html_list_rendering.py | 68 | def test_bold_lead_in_list_renders_as_ul_under_real_pandoc(self): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | 07_ethereum/smart_contract_labs.md | 457 | anvil --fork-url https://eth-mainnet.g.alchemy.com/v2/YOUR_API_KEY | CODE |
| HIGH⚡ | 07_ethereum/smart_contract_labs.md | 565 | export SEPOLIA_RPC_URL="https://eth-sepolia.g.alchemy.com/v2/YOUR_API_KEY" | CODE |
| HIGH⚡ | 07_ethereum/smart_contract_labs.md | 567 | export MAINNET_RPC_URL="https://eth-mainnet.g.alchemy.com/v2/YOUR_API_KEY" | CODE |
| HIGH⚡ | 07_ethereum/smart_contract_labs.md | 568 | export POLYGON_AMOY_RPC_URL="https://polygon-amoy.g.alchemy.com/v2/YOUR_API_KEY" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | check_emphasis.py | 17 | CODE | |
| LOW | check_project_rules.py | 4 | CODE | |
| LOW | tools/render_mermaid.py | 4 | CODE | |
| LOW | tools/publication_sources.py | 3 | CODE | |
| LOW | tools/verify_release_artifacts.py | 4 | CODE | |
| LOW | tests/test_workflows.py | 1 | CODE | |
| LOW | tests/test_publication_sources.py | 1 | CODE | |
| LOW | tests/test_cjk_typography.py | 35 | CODE | |
| LOW | tests/test_project_rules.py | 1 | CODE | |
| LOW | tests/test_release_artifacts.py | 1 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | check_emphasis.py | 146 | CODE | |
| LOW | check_emphasis.py | 188 | CODE | |
| LOW | check_project_rules.py | 53 | CODE | |
| LOW | tools/publication_sources.py | 29 | CODE | |
| LOW | tools/publication_sources.py | 204 | CODE | |
| LOW | tools/publication_sources.py | 282 | CODE | |
| LOW | tools/build_html_reader.py | 22 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/build_html_reader.py | 161 | 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.tog | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/build_html_reader.py | 2 | """Build a single self-contained, GitBook-style PAGED mobile reader — offline-robust. | STRING |
| MEDIUM | tools/mermaid/package-lock.json | 2048 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz", | CODE |