Generate production-quality SVG+PNG technical diagrams from natural language. 7 styles, UML support, and AI/Agent workflow patterns.
This report summarizes scanner evidence for yizhiyanhua-ai/fireworks-tech-graph, a Python project with 11,658 GitHub stars. SynthScan examined 48,000 lines of code across 168 source files, recording 442 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 9.5 (Moderate 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? 372 finding(s).
Are imports declared and package/API names verified? 50 finding(s).
Are wrappers, guards, and repeated structures necessary? 324 finding(s).
Which changes need focused human review? 442 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 442 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_motion.py | 103 | def _orthogonal_edge_segments(svg: Path) -> list[tuple[float, float, float, float]]: | CODE |
| LOW | tests/test_motion.py | 155 | def _point_to_segment_distance( | CODE |
| LOW | tests/test_motion.py | 169 | def _component_is_on_edge_or_node_border( | CODE |
| LOW | tests/test_motion.py | 184 | def _decoded_rgba_compatibility(left: Path, right: Path, svg: Path) -> dict[str, object]: | CODE |
| LOW | tests/test_motion.py | 271 | def assert_specialized_style_contract( | CODE |
| LOW | tests/test_motion.py | 349 | def test_style_five_glass_task_capsule_contract_is_exact(self) -> None: | CODE |
| LOW | tests/test_motion.py | 382 | def test_style_six_governance_policy_seal_contract_is_exact(self) -> None: | CODE |
| LOW | tests/test_motion.py | 405 | def test_style_seven_api_token_train_contract_is_exact(self) -> None: | CODE |
| LOW | tests/test_motion.py | 427 | def test_style_six_and_seven_feedback_legends_use_distinct_semantic_encodings(self) -> None: | CODE |
| LOW | tests/test_motion.py | 472 | def test_style_eight_gem_circuit_contract_is_exact(self) -> None: | CODE |
| LOW | tests/test_motion.py | 499 | def test_style_nine_review_cursor_contract_is_exact(self) -> None: | CODE |
| LOW | tests/test_motion.py | 521 | def test_style_ten_active_active_cloud_flow_contract_is_exact(self) -> None: | CODE |
| LOW | tests/test_motion.py | 546 | def test_style_eleven_event_transit_train_contract_is_exact(self) -> None: | CODE |
| LOW | tests/test_motion.py | 572 | def test_style_twelve_ops_pulse_waterfall_contract_is_exact(self) -> None: | CODE |
| LOW | tests/test_motion.py | 601 | def test_styles_ten_to_twelve_motion_metadata_preserves_static_geometry(self) -> None: | CODE |
| LOW | tests/test_motion.py | 631 | def test_style_one_default_plan_matches_focused_gif_contract(self) -> None: | CODE |
| LOW | tests/test_motion.py | 655 | def test_unsupported_style_reports_the_current_enabled_range(self) -> None: | CODE |
| LOW | tests/test_motion.py | 666 | def test_style_two_default_plan_matches_terminal_evidence_trace_contract(self) -> None: | CODE |
| LOW | tests/test_motion.py | 701 | def test_style_two_schedule_stream_colors_phases_directions_and_cursor_are_pinned(self) -> None: | CODE |
| LOW | tests/test_motion.py | 799 | def test_style_three_blueprint_distribution_contract_is_pinned(self) -> None: | CODE |
| LOW | tests/test_motion.py | 898 | def test_style_three_semantic_contract_is_not_byte_hash_locked(self) -> None: | CODE |
| LOW | tests/test_motion.py | 912 | def test_style_four_notion_memory_card_handoff_contract_is_pinned(self) -> None: | CODE |
| LOW | tests/test_motion.py | 1025 | def test_style_four_semantic_contract_is_not_byte_hash_locked(self) -> None: | CODE |
| LOW | tests/test_motion.py | 1035 | def test_motion_grammar_uses_empty_draw_live_and_reset_phases(self) -> None: | CODE |
| LOW | tests/test_motion.py | 1059 | def test_style_one_schedule_is_pinned_to_the_review_contract(self) -> None: | CODE |
| LOW | tests/test_motion.py | 1141 | def test_fifty_five_frame_compatibility_timeline_keeps_the_approved_build_indices(self) -> None: | CODE |
| LOW | tests/test_motion.py | 1160 | def test_seventy_five_frame_compatibility_keeps_the_approved_timing_contract(self) -> None: | CODE |
| LOW | tests/test_motion.py | 1182 | def test_periodic_frame_hash_contract_reports_repeat_indices_and_rejects_bad_scope(self) -> None: | CODE |
| LOW | tests/test_motion.py | 1279 | def test_worker_contains_all_twelve_per_style_scene_contracts(self) -> None: | CODE |
| LOW | tests/test_motion.py | 1390 | 'function addBlueprintDistributionWave(edge, entry)', | CODE |
| LOW | tests/test_motion.py | 1391 | 'function addNotionMemoryCardHandoff(edge, entry)', | CODE |
| LOW | tests/test_motion.py | 1481 | def test_public_docs_describe_draw_on_then_live_operation(self) -> None: | CODE |
| LOW | tests/test_motion.py | 1532 | def test_raw_worker_frames_preserve_styles_one_through_three_and_prove_style_four_notion_handoff(self) -> None: | CODE |
| LOW | tests/test_motion.py | 1786 | def assert_half_scale_card_signature( | CODE |
| LOW | tests/test_motion.py | 2182 | def test_worker_does_not_execute_a_renderer_module_from_the_current_directory(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2215 | def test_styles_five_through_twelve_real_chromium_contracts(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2528 | def test_only_generated_svg_inputs_are_accepted(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2546 | def test_explicit_motion_metadata_is_required(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2558 | def test_unknown_motion_roles_fail_closed(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2572 | def test_preset_cannot_be_applied_to_a_different_style(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2579 | def test_motion_budget_rejects_unsafe_settings(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2600 | def test_gif_output_and_report_paths_fail_closed(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2616 | def test_gif_dry_run_reports_single_delivery_contract(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2629 | def test_encoded_gif_probe_is_strict(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2650 | def test_gif_loop_extension_is_read_back_as_infinite(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2670 | def test_size_guidance_stays_within_gif_scope(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2684 | def test_render_timeout_preserves_existing_gif(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2707 | def test_render_failure_preserves_existing_gif(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2731 | def test_artifact_commit_rolls_back_gif_and_report_together(self) -> None: | CODE |
| LOW⚡ | tests/test_diagram_ir.py | 40 | def test_normalization_never_mutates_the_caller(self) -> None: | CODE |
| LOW⚡ | tests/test_diagram_ir.py | 46 | def test_duplicate_and_dangling_ids_are_rejected(self) -> None: | CODE |
| LOW⚡ | tests/test_diagram_ir.py | 56 | def test_container_ids_are_non_empty_and_globally_unique(self) -> None: | CODE |
| LOW | tests/test_diagram_ir.py | 75 | def test_schema_mode_and_non_finite_values_are_rejected(self) -> None: | CODE |
| LOW | tests/test_diagram_ir.py | 86 | def test_malformed_waypoint_is_rejected(self) -> None: | CODE |
| LOW⚡ | tests/test_geometry_contracts.py | 47 | def test_waypoint_inside_reserved_obstacle_is_rejected(self) -> None: | CODE |
| LOW⚡ | tests/test_geometry_contracts.py | 57 | def test_waypoint_outside_canvas_is_rejected(self) -> None: | CODE |
| LOW⚡ | tests/test_geometry_contracts.py | 67 | def test_existing_edge_is_avoided_when_a_clear_corridor_exists(self) -> None: | CODE |
| LOW⚡ | tests/test_geometry_contracts.py | 346 | def test_edge_edge_crossing_is_reported(self) -> None: | CODE |
| LOW⚡ | tests/test_geometry_contracts.py | 355 | def test_declared_jump_over_allows_an_unavoidable_crossing(self) -> None: | CODE |
| LOW⚡ | tests/test_geometry_contracts.py | 365 | def test_declared_jump_requires_a_bridge_mask(self) -> None: | CODE |
| 244 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/check_project_consistency.py | 70 | CODE | |
| LOW | tools/check_project_consistency.py | 147 | CODE | |
| LOW | tools/distribution.py | 129 | CODE | |
| LOW | tools/distribution.py | 183 | CODE | |
| LOW | tests/test_motion.py | 103 | CODE | |
| LOW | tests/test_motion.py | 427 | CODE | |
| LOW | tests/test_motion.py | 601 | CODE | |
| LOW | tests/test_motion.py | 2215 | CODE | |
| LOW | tests/test_motion.py | 2310 | CODE | |
| LOW | tests/test_motion.py | 2528 | CODE | |
| LOW | tests/test_semantic_contracts.py | 168 | CODE | |
| LOW | tests/test_semantic_contracts.py | 266 | CODE | |
| LOW | scripts/semantic_contracts.py | 145 | CODE | |
| LOW | scripts/semantic_contracts.py | 425 | CODE | |
| LOW | scripts/validate_svg.py | 94 | CODE | |
| LOW | scripts/validate_svg.py | 343 | CODE | |
| LOW | scripts/validate_svg.py | 618 | CODE | |
| LOW | scripts/validate_svg.py | 809 | CODE | |
| LOW | scripts/generate-from-template.py | 796 | CODE | |
| LOW | scripts/generate-from-template.py | 892 | CODE | |
| LOW | scripts/generate-from-template.py | 1711 | CODE | |
| LOW | scripts/generate-from-template.py | 1816 | CODE | |
| LOW | scripts/generate-from-template.py | 2269 | CODE | |
| LOW | scripts/generate-from-template.py | 2460 | CODE | |
| LOW | scripts/interactive_html.py | 170 | CODE | |
| LOW | scripts/motion.py | 1064 | CODE | |
| LOW | scripts/motion.py | 1320 | CODE | |
| LOW | scripts/motion.py | 1599 | CODE | |
| LOW | scripts/motion.py | 1703 | CODE | |
| LOW | scripts/fireworks_geometry.py | 198 | CODE | |
| LOW | scripts/fireworks_geometry.py | 229 | CODE | |
| LOW | scripts/fireworks_geometry.py | 294 | CODE | |
| LOW | skills/fireworks-tech-graph/tests/test_motion.py | 103 | CODE | |
| LOW | skills/fireworks-tech-graph/tests/test_motion.py | 427 | CODE | |
| LOW | skills/fireworks-tech-graph/tests/test_motion.py | 601 | CODE | |
| LOW | skills/fireworks-tech-graph/tests/test_motion.py | 2215 | CODE | |
| LOW | skills/fireworks-tech-graph/tests/test_motion.py | 2310 | CODE | |
| LOW | skills/fireworks-tech-graph/tests/test_motion.py | 2528 | CODE | |
| LOW | …/fireworks-tech-graph/tests/test_semantic_contracts.py | 168 | CODE | |
| LOW | …/fireworks-tech-graph/tests/test_semantic_contracts.py | 266 | CODE | |
| LOW | …lls/fireworks-tech-graph/scripts/semantic_contracts.py | 145 | CODE | |
| LOW | …lls/fireworks-tech-graph/scripts/semantic_contracts.py | 425 | CODE | |
| LOW | skills/fireworks-tech-graph/scripts/validate_svg.py | 94 | CODE | |
| LOW | skills/fireworks-tech-graph/scripts/validate_svg.py | 343 | CODE | |
| LOW | skills/fireworks-tech-graph/scripts/validate_svg.py | 618 | CODE | |
| LOW | skills/fireworks-tech-graph/scripts/validate_svg.py | 809 | CODE | |
| LOW | …fireworks-tech-graph/scripts/generate-from-template.py | 796 | CODE | |
| LOW | …fireworks-tech-graph/scripts/generate-from-template.py | 892 | CODE | |
| LOW | …fireworks-tech-graph/scripts/generate-from-template.py | 1711 | CODE | |
| LOW | …fireworks-tech-graph/scripts/generate-from-template.py | 1816 | CODE | |
| LOW | …fireworks-tech-graph/scripts/generate-from-template.py | 2269 | CODE | |
| LOW | …fireworks-tech-graph/scripts/generate-from-template.py | 2460 | CODE | |
| LOW | skills/fireworks-tech-graph/scripts/interactive_html.py | 170 | CODE | |
| LOW | skills/fireworks-tech-graph/scripts/motion.py | 1064 | CODE | |
| LOW | skills/fireworks-tech-graph/scripts/motion.py | 1320 | CODE | |
| LOW | skills/fireworks-tech-graph/scripts/motion.py | 1599 | CODE | |
| LOW | skills/fireworks-tech-graph/scripts/motion.py | 1703 | CODE | |
| LOW | …lls/fireworks-tech-graph/scripts/fireworks_geometry.py | 198 | CODE | |
| LOW | …lls/fireworks-tech-graph/scripts/fireworks_geometry.py | 229 | CODE | |
| LOW | …lls/fireworks-tech-graph/scripts/fireworks_geometry.py | 294 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/check_project_consistency.py | 4 | CODE | |
| LOW | tools/distribution.py | 4 | CODE | |
| LOW | tests/test_motion.py | 1 | CODE | |
| LOW | tests/test_diagram_ir.py | 1 | CODE | |
| LOW | tests/test_geometry_contracts.py | 1 | CODE | |
| LOW | tests/test_quality_upgrade.py | 2 | CODE | |
| LOW | tests/test_python_compatibility.py | 1 | CODE | |
| LOW | tests/test_validate_svg.py | 1 | CODE | |
| LOW | tests/test_interactive_html.py | 1 | CODE | |
| LOW | tests/test_skill_compatibility.py | 1 | CODE | |
| LOW | tests/test_semantic_contracts.py | 1 | CODE | |
| LOW | tests/test_cli.py | 1 | CODE | |
| LOW | scripts/semantic_contracts.py | 9 | CODE | |
| LOW | scripts/composition_quality.py | 10 | CODE | |
| LOW | scripts/validate_svg.py | 8 | CODE | |
| LOW | scripts/generate-from-template.py | 13 | CODE | |
| LOW | scripts/interactive_html.py | 4 | CODE | |
| LOW | scripts/motion.py | 4 | CODE | |
| LOW | scripts/fireworks.py | 4 | CODE | |
| LOW | scripts/style_quality.py | 2 | CODE | |
| LOW | scripts/png_export.py | 2 | CODE | |
| LOW | scripts/fireworks_geometry.py | 9 | CODE | |
| LOW | scripts/svg_canvas.py | 2 | CODE | |
| LOW | scripts/diagram_ir.py | 8 | CODE | |
| LOW | skills/fireworks-tech-graph/tests/test_motion.py | 1 | CODE | |
| LOW | skills/fireworks-tech-graph/tests/test_diagram_ir.py | 1 | CODE | |
| LOW | …/fireworks-tech-graph/tests/test_geometry_contracts.py | 1 | CODE | |
| LOW | …lls/fireworks-tech-graph/tests/test_quality_upgrade.py | 2 | CODE | |
| LOW | …ireworks-tech-graph/tests/test_python_compatibility.py | 1 | CODE | |
| LOW | skills/fireworks-tech-graph/tests/test_validate_svg.py | 1 | CODE | |
| LOW | …ls/fireworks-tech-graph/tests/test_interactive_html.py | 1 | CODE | |
| LOW | …fireworks-tech-graph/tests/test_skill_compatibility.py | 1 | CODE | |
| LOW | …/fireworks-tech-graph/tests/test_semantic_contracts.py | 1 | CODE | |
| LOW | skills/fireworks-tech-graph/tests/test_cli.py | 1 | CODE | |
| LOW | …lls/fireworks-tech-graph/scripts/semantic_contracts.py | 9 | CODE | |
| LOW | …ls/fireworks-tech-graph/scripts/composition_quality.py | 10 | CODE | |
| LOW | skills/fireworks-tech-graph/scripts/validate_svg.py | 8 | CODE | |
| LOW | …fireworks-tech-graph/scripts/generate-from-template.py | 13 | CODE | |
| LOW | skills/fireworks-tech-graph/scripts/interactive_html.py | 4 | CODE | |
| LOW | skills/fireworks-tech-graph/scripts/motion.py | 4 | CODE | |
| LOW | skills/fireworks-tech-graph/scripts/fireworks.py | 4 | CODE | |
| LOW | skills/fireworks-tech-graph/scripts/style_quality.py | 2 | CODE | |
| LOW | skills/fireworks-tech-graph/scripts/png_export.py | 2 | CODE | |
| LOW | …lls/fireworks-tech-graph/scripts/fireworks_geometry.py | 9 | CODE | |
| LOW | skills/fireworks-tech-graph/scripts/svg_canvas.py | 2 | CODE | |
| LOW | skills/fireworks-tech-graph/scripts/diagram_ir.py | 8 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/generate-from-template.py | 3391 | print(f"Error: {exc}") | CODE |
| MEDIUM | scripts/generate-from-template.py | 3394 | print(f"Error: Invalid JSON: {exc}") | CODE |
| MEDIUM | scripts/generate-from-template.py | 3407 | print(f"Error: {exc}") | CODE |
| LOW | scripts/generate-from-template.py | 3409 | except Exception as exc: # pragma: no cover | CODE |
| LOW | scripts/motion.py | 1698 | except Exception: | CODE |
| LOW | scripts/motion.py | 1726 | except Exception as error: | CODE |
| LOW | scripts/png_export.py | 39 | except Exception as error: | CODE |
| MEDIUM | …fireworks-tech-graph/scripts/generate-from-template.py | 3391 | print(f"Error: {exc}") | CODE |
| MEDIUM | …fireworks-tech-graph/scripts/generate-from-template.py | 3394 | print(f"Error: Invalid JSON: {exc}") | CODE |
| MEDIUM | …fireworks-tech-graph/scripts/generate-from-template.py | 3407 | print(f"Error: {exc}") | CODE |
| LOW | …fireworks-tech-graph/scripts/generate-from-template.py | 3409 | except Exception as exc: # pragma: no cover | CODE |
| LOW | skills/fireworks-tech-graph/scripts/motion.py | 1698 | except Exception: | CODE |
| LOW | skills/fireworks-tech-graph/scripts/motion.py | 1726 | except Exception as error: | CODE |
| LOW | skills/fireworks-tech-graph/scripts/png_export.py | 39 | except Exception as error: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/interactive_html.py | 277 | let drag = null; | CODE |
| HIGH | scripts/interactive_html.py | 294 | const endDrag = () => {{ drag=null; stage.classList.remove('dragging'); }}; | CODE |
| HIGH | skills/fireworks-tech-graph/scripts/interactive_html.py | 277 | let drag = null; | CODE |
| HIGH | skills/fireworks-tech-graph/scripts/interactive_html.py | 294 | const endDrag = () => {{ drag=null; stage.classList.remove('dragging'); }}; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | references/diagram-layout-reference.md | 210 | | Async / event | gray `#6b7280` | 1.5px | `4,2` | Non-blocking, event-driven | | CODE |
| MEDIUM | references/icons.md | 161 | ### AI Memory & RAG Products | COMMENT |
| MEDIUM | references/style-1-flat-icon.md | 84 | <text x="36" y="28" fill="#6b7280" font-size="12">RAG flow</text> | CODE |
| MEDIUM | …orks-tech-graph/references/diagram-layout-reference.md | 210 | | Async / event | gray `#6b7280` | 1.5px | `4,2` | Non-blocking, event-driven | | CODE |
| MEDIUM | skills/fireworks-tech-graph/references/icons.md | 161 | ### AI Memory & RAG Products | COMMENT |
| MEDIUM | …s/fireworks-tech-graph/references/style-1-flat-icon.md | 84 | <text x="36" y="28" fill="#6b7280" font-size="12">RAG flow</text> | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/semantic_contracts.py | 686 | __all__ = [ | CODE |
| LOW | scripts/composition_quality.py | 264 | __all__ = [ | CODE |
| LOW | scripts/diagram_ir.py | 203 | __all__ = [ | CODE |
| LOW | …lls/fireworks-tech-graph/scripts/semantic_contracts.py | 686 | __all__ = [ | CODE |
| LOW | …ls/fireworks-tech-graph/scripts/composition_quality.py | 264 | __all__ = [ | CODE |
| LOW | skills/fireworks-tech-graph/scripts/diagram_ir.py | 203 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/test-all-styles.sh | 55 | # Check if style reference exists | COMMENT |
| LOW | skills/fireworks-tech-graph/scripts/test-all-styles.sh | 55 | # Check if style reference exists | COMMENT |