Generate production-quality SVG+PNG technical diagrams from natural language. 7 styles, UML support, and AI/Agent workflow patterns.
This report presents the forensic synthetic code analysis of yizhiyanhua-ai/fireworks-tech-graph, a Python project with 9,596 GitHub stars. SynthScan v2.0 examined 46,640 lines of code across 147 source files, recording 414 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 9.2 places this repository in the Low AI signal 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).
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.
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.
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.
The scanner identified 414 distinct pattern matches across 8 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_motion.py | 102 | def _orthogonal_edge_segments(svg: Path) -> list[tuple[float, float, float, float]]: | CODE |
| LOW | tests/test_motion.py | 154 | def _point_to_segment_distance( | CODE |
| LOW | tests/test_motion.py | 168 | def _component_is_on_edge_or_node_border( | CODE |
| LOW | tests/test_motion.py | 183 | def _decoded_rgba_compatibility(left: Path, right: Path, svg: Path) -> dict[str, object]: | CODE |
| LOW | tests/test_motion.py | 270 | def assert_specialized_style_contract( | CODE |
| LOW | tests/test_motion.py | 348 | def test_style_five_glass_task_capsule_contract_is_exact(self) -> None: | CODE |
| LOW | tests/test_motion.py | 381 | def test_style_six_governance_policy_seal_contract_is_exact(self) -> None: | CODE |
| LOW | tests/test_motion.py | 404 | def test_style_seven_api_token_train_contract_is_exact(self) -> None: | CODE |
| LOW | tests/test_motion.py | 426 | def test_style_six_and_seven_feedback_legends_use_distinct_semantic_encodings(self) -> None: | CODE |
| LOW | tests/test_motion.py | 471 | def test_style_eight_gem_circuit_contract_is_exact(self) -> None: | CODE |
| LOW | tests/test_motion.py | 498 | def test_style_nine_review_cursor_contract_is_exact(self) -> None: | CODE |
| LOW | tests/test_motion.py | 520 | def test_style_ten_active_active_cloud_flow_contract_is_exact(self) -> None: | CODE |
| LOW | tests/test_motion.py | 545 | def test_style_eleven_event_transit_train_contract_is_exact(self) -> None: | CODE |
| LOW | tests/test_motion.py | 571 | def test_style_twelve_ops_pulse_waterfall_contract_is_exact(self) -> None: | CODE |
| LOW | tests/test_motion.py | 600 | def test_styles_ten_to_twelve_motion_metadata_preserves_static_geometry(self) -> None: | CODE |
| LOW | tests/test_motion.py | 629 | def test_style_one_default_plan_matches_focused_gif_contract(self) -> None: | CODE |
| LOW | tests/test_motion.py | 653 | def test_unsupported_style_reports_the_current_enabled_range(self) -> None: | CODE |
| LOW | tests/test_motion.py | 664 | def test_style_two_default_plan_matches_terminal_evidence_trace_contract(self) -> None: | CODE |
| LOW | tests/test_motion.py | 699 | def test_style_two_schedule_stream_colors_phases_directions_and_cursor_are_pinned(self) -> None: | CODE |
| LOW | tests/test_motion.py | 797 | def test_style_three_blueprint_distribution_contract_is_pinned(self) -> None: | CODE |
| LOW | tests/test_motion.py | 896 | def test_style_three_semantic_contract_is_not_byte_hash_locked(self) -> None: | CODE |
| LOW | tests/test_motion.py | 910 | def test_style_four_notion_memory_card_handoff_contract_is_pinned(self) -> None: | CODE |
| LOW | tests/test_motion.py | 1023 | def test_style_four_semantic_contract_is_not_byte_hash_locked(self) -> None: | CODE |
| LOW | tests/test_motion.py | 1033 | def test_motion_grammar_uses_empty_draw_live_and_reset_phases(self) -> None: | CODE |
| LOW | tests/test_motion.py | 1057 | def test_style_one_schedule_is_pinned_to_the_review_contract(self) -> None: | CODE |
| LOW | tests/test_motion.py | 1139 | def test_fifty_five_frame_compatibility_timeline_keeps_the_approved_build_indices(self) -> None: | CODE |
| LOW | tests/test_motion.py | 1158 | def test_seventy_five_frame_compatibility_keeps_the_approved_timing_contract(self) -> None: | CODE |
| LOW | tests/test_motion.py | 1180 | def test_periodic_frame_hash_contract_reports_repeat_indices_and_rejects_bad_scope(self) -> None: | CODE |
| LOW | tests/test_motion.py | 1277 | def test_worker_contains_all_twelve_per_style_scene_contracts(self) -> None: | CODE |
| LOW | tests/test_motion.py | 1388 | 'function addBlueprintDistributionWave(edge, entry)', | CODE |
| LOW | tests/test_motion.py | 1389 | 'function addNotionMemoryCardHandoff(edge, entry)', | CODE |
| LOW | tests/test_motion.py | 1479 | def test_public_docs_describe_draw_on_then_live_operation(self) -> None: | CODE |
| LOW | tests/test_motion.py | 1530 | def test_raw_worker_frames_preserve_styles_one_through_three_and_prove_style_four_notion_handoff(self) -> None: | CODE |
| LOW | tests/test_motion.py | 1784 | def assert_half_scale_card_signature( | CODE |
| LOW | tests/test_motion.py | 2180 | def test_worker_does_not_execute_a_renderer_module_from_the_current_directory(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2213 | def test_styles_five_through_twelve_real_chromium_contracts(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2526 | def test_only_generated_svg_inputs_are_accepted(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2544 | def test_explicit_motion_metadata_is_required(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2556 | def test_unknown_motion_roles_fail_closed(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2570 | def test_preset_cannot_be_applied_to_a_different_style(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2577 | def test_motion_budget_rejects_unsafe_settings(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2598 | def test_gif_output_and_report_paths_fail_closed(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2614 | def test_gif_dry_run_reports_single_delivery_contract(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2627 | def test_encoded_gif_probe_is_strict(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2648 | def test_gif_loop_extension_is_read_back_as_infinite(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2668 | def test_size_guidance_stays_within_gif_scope(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2682 | def test_render_timeout_preserves_existing_gif(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2705 | def test_render_failure_preserves_existing_gif(self) -> None: | CODE |
| LOW | tests/test_motion.py | 2729 | 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 |
| 226 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 | 102 | CODE | |
| LOW | tests/test_motion.py | 426 | CODE | |
| LOW | tests/test_motion.py | 600 | CODE | |
| LOW | tests/test_motion.py | 2213 | CODE | |
| LOW | tests/test_motion.py | 2308 | CODE | |
| LOW | tests/test_motion.py | 2526 | 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 | 93 | CODE | |
| LOW | scripts/validate_svg.py | 342 | CODE | |
| LOW | scripts/validate_svg.py | 617 | CODE | |
| LOW | scripts/validate_svg.py | 808 | CODE | |
| LOW | scripts/generate-from-template.py | 791 | CODE | |
| LOW | scripts/generate-from-template.py | 887 | CODE | |
| LOW | scripts/generate-from-template.py | 1706 | CODE | |
| LOW | scripts/generate-from-template.py | 1811 | CODE | |
| LOW | scripts/generate-from-template.py | 2239 | CODE | |
| LOW | scripts/generate-from-template.py | 2430 | 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 | 1693 | 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 | 102 | CODE | |
| LOW | skills/fireworks-tech-graph/tests/test_motion.py | 426 | CODE | |
| LOW | skills/fireworks-tech-graph/tests/test_motion.py | 600 | CODE | |
| LOW | skills/fireworks-tech-graph/tests/test_motion.py | 2213 | CODE | |
| LOW | skills/fireworks-tech-graph/tests/test_motion.py | 2308 | CODE | |
| LOW | skills/fireworks-tech-graph/tests/test_motion.py | 2526 | 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 | 93 | CODE | |
| LOW | skills/fireworks-tech-graph/scripts/validate_svg.py | 342 | CODE | |
| LOW | skills/fireworks-tech-graph/scripts/validate_svg.py | 617 | CODE | |
| LOW | skills/fireworks-tech-graph/scripts/validate_svg.py | 808 | CODE | |
| LOW | …fireworks-tech-graph/scripts/generate-from-template.py | 791 | CODE | |
| LOW | …fireworks-tech-graph/scripts/generate-from-template.py | 887 | CODE | |
| LOW | …fireworks-tech-graph/scripts/generate-from-template.py | 1706 | CODE | |
| LOW | …fireworks-tech-graph/scripts/generate-from-template.py | 1811 | CODE | |
| LOW | …fireworks-tech-graph/scripts/generate-from-template.py | 2239 | CODE | |
| LOW | …fireworks-tech-graph/scripts/generate-from-template.py | 2430 | 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 | 1693 | 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_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/fireworks_geometry.py | 9 | 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 | …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 | …lls/fireworks-tech-graph/scripts/fireworks_geometry.py | 9 | CODE | |
| LOW | skills/fireworks-tech-graph/scripts/diagram_ir.py | 8 | 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 | scripts/generate-from-template.py | 3345 | print(f"Error: {exc}") | CODE |
| MEDIUM | scripts/generate-from-template.py | 3348 | print(f"Error: Invalid JSON: {exc}") | CODE |
| MEDIUM | scripts/generate-from-template.py | 3361 | print(f"Error: {exc}") | CODE |
| LOW | scripts/generate-from-template.py | 3363 | except Exception as exc: # pragma: no cover | CODE |
| LOW | scripts/motion.py | 1688 | except Exception: | CODE |
| LOW | scripts/motion.py | 1716 | except Exception as error: | CODE |
| MEDIUM | …fireworks-tech-graph/scripts/generate-from-template.py | 3345 | print(f"Error: {exc}") | CODE |
| MEDIUM | …fireworks-tech-graph/scripts/generate-from-template.py | 3348 | print(f"Error: Invalid JSON: {exc}") | CODE |
| MEDIUM | …fireworks-tech-graph/scripts/generate-from-template.py | 3361 | print(f"Error: {exc}") | CODE |
| LOW | …fireworks-tech-graph/scripts/generate-from-template.py | 3363 | except Exception as exc: # pragma: no cover | CODE |
| LOW | skills/fireworks-tech-graph/scripts/motion.py | 1688 | except Exception: | CODE |
| LOW | skills/fireworks-tech-graph/scripts/motion.py | 1716 | except Exception as error: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | SKILL.md | 316 | | 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 | skills/fireworks-tech-graph/SKILL.md | 316 | | 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 | 195 | __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 | 195 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/test-all-styles.sh | 65 | # Check if style reference exists | COMMENT |
| LOW | skills/fireworks-tech-graph/scripts/test-all-styles.sh | 65 | # Check if style reference exists | COMMENT |