AI on the way. An auto deep learning pipe dream. An RDBMS approach to deep learning. Declarative, explainable, scalable, optimizable, easy to deploy, all that good stuff.
This report presents the forensic synthetic code analysis of rentruewang/aioway, a Python project with 1,824 GitHub stars. SynthScan v2.0 examined 12,356 lines of code across 168 source files, recording 214 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 18.2 places this repository in the Moderate 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).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
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 214 distinct pattern matches across 10 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 | notebooks/aten.py | 18 | CODE | |
| LOW | notebooks/aten.py | 19 | CODE | |
| LOW | notebooks/aten.py | 20 | CODE | |
| LOW | src/aioway/__init__.py | 5 | CODE | |
| LOW | src/aioway/__init__.py | 5 | CODE | |
| LOW | src/aioway/__init__.py | 5 | CODE | |
| LOW | src/aioway/__init__.py | 5 | CODE | |
| LOW | src/aioway/__init__.py | 5 | CODE | |
| LOW | src/aioway/__init__.py | 5 | CODE | |
| LOW | src/aioway/__init__.py | 5 | CODE | |
| LOW | src/aioway/__init__.py | 5 | CODE | |
| LOW | src/aioway/__init__.py | 5 | CODE | |
| LOW | src/aioway/__init__.py | 5 | CODE | |
| LOW | src/aioway/__init__.py | 5 | CODE | |
| LOW | src/aioway/__init__.py | 5 | CODE | |
| LOW | src/aioway/__init__.py | 5 | CODE | |
| LOW | src/aioway/__init__.py | 5 | CODE | |
| LOW | src/aioway/__init__.py | 5 | CODE | |
| LOW | src/aioway/_utils/__init__.py | 5 | CODE | |
| LOW | src/aioway/_utils/__init__.py | 6 | CODE | |
| LOW | src/aioway/_utils/__init__.py | 7 | CODE | |
| LOW | src/aioway/_utils/__init__.py | 8 | CODE | |
| LOW | src/aioway/_utils/__init__.py | 9 | CODE | |
| LOW | src/aioway/_utils/__init__.py | 10 | CODE | |
| LOW | src/aioway/_utils/__init__.py | 11 | CODE | |
| LOW | src/aioway/_utils/__init__.py | 12 | CODE | |
| LOW | src/aioway/_utils/__init__.py | 13 | CODE | |
| LOW | src/aioway/_utils/__init__.py | 14 | CODE | |
| LOW | src/aioway/dsets/__init__.py | 3 | CODE | |
| LOW | src/aioway/dsets/__init__.py | 4 | CODE | |
| LOW | src/aioway/dsets/__init__.py | 5 | CODE | |
| LOW | src/aioway/dsets/__init__.py | 6 | CODE | |
| LOW | src/aioway/codecs/__init__.py | 5 | CODE | |
| LOW | src/aioway/codecs/__init__.py | 6 | CODE | |
| LOW | src/aioway/codecs/__init__.py | 7 | CODE | |
| LOW | src/aioway/codecs/__init__.py | 8 | CODE | |
| LOW | src/aioway/codecs/__init__.py | 9 | CODE | |
| LOW | src/aioway/app/__init__.py | 3 | CODE | |
| LOW | src/aioway/app/__init__.py | 4 | CODE | |
| LOW | src/aioway/modes/__init__.py | 3 | CODE | |
| LOW | src/aioway/modes/__init__.py | 4 | CODE | |
| LOW | src/aioway/modes/__init__.py | 5 | CODE | |
| LOW | src/aioway/modes/__init__.py | 6 | CODE | |
| LOW | src/aioway/modes/__init__.py | 7 | CODE | |
| LOW | src/aioway/modes/__init__.py | 8 | CODE | |
| LOW | src/aioway/modes/aten/__init__.py | 3 | CODE | |
| LOW | src/aioway/modes/aten/__init__.py | 4 | CODE | |
| LOW | src/aioway/modes/aten/__init__.py | 5 | CODE | |
| LOW | src/aioway/modes/aten/__init__.py | 6 | CODE | |
| LOW | src/aioway/modes/aten/__init__.py | 7 | CODE | |
| LOW | src/aioway/emits/__init__.py | 3 | CODE | |
| LOW | src/aioway/emits/__init__.py | 4 | CODE | |
| LOW | src/aioway/emits/__init__.py | 5 | CODE | |
| LOW | src/aioway/emits/__init__.py | 6 | CODE | |
| LOW | src/aioway/emits/__init__.py | 7 | CODE | |
| LOW | src/aioway/instrs/__init__.py | 5 | CODE | |
| LOW | src/aioway/instrs/__init__.py | 6 | CODE | |
| LOW | src/aioway/instrs/__init__.py | 7 | CODE | |
| LOW | src/aioway/instrs/__init__.py | 8 | CODE | |
| LOW | src/aioway/instrs/__init__.py | 9 | CODE | |
| 30 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/aioway/_sess.py | 12 | __all__ = ["Session"] | CODE |
| LOW | src/aioway/_thunks.py | 12 | __all__ = ["Thunk", "AnyThunk"] | CODE |
| LOW | src/aioway/_costs.py | 14 | __all__ = ["Cost", "CostSession"] | CODE |
| LOW | src/aioway/_modules.py | 11 | __all__ = ["rebuild_module"] | CODE |
| LOW | src/aioway/_utils/logging.py | 11 | __all__ = ["enable_log", "enable_rich_log"] | CODE |
| LOW | src/aioway/_utils/hooks.py | 11 | __all__ = [ | CODE |
| LOW | src/aioway/_utils/signs.py | 10 | __all__ = ["Sign"] | CODE |
| LOW | src/aioway/_utils/platforms.py | 8 | __all__ = ["num_threads"] | CODE |
| LOW | src/aioway/_utils/types.py | 8 | __all__ = ["track_call_count", "Stack", "AnySet", "AnyDict"] | CODE |
| LOW | src/aioway/_utils/dags.py | 11 | __all__ = ["TensorInput", "DagNodeKey", "dag_node_key", "topo_sort"] | CODE |
| LOW | src/aioway/_utils/renders.py | 16 | __all__ = [ | CODE |
| LOW | src/aioway/_utils/decomps.py | 16 | __all__ = [ | CODE |
| LOW | src/aioway/_utils/profs.py | 15 | __all__ = ["Profiler", "ProfilerStack", "CallerProfiler", "ProfilerCollection"] | CODE |
| LOW | src/aioway/_utils/typing.py | 10 | __all__ = [ | CODE |
| LOW | src/aioway/dsets/discovery.py | 9 | __all__ = ["route_dset"] | CODE |
| LOW | src/aioway/dsets/dsets.py | 13 | __all__ = ["Dset", "IdxDset", "IterDset", "DatasetIdxDset"] | CODE |
| LOW | src/aioway/dsets/comps.py | 17 | __all__ = [ | CODE |
| LOW | src/aioway/dsets/mnist.py | 14 | __all__ = ["MnistDataset"] | CODE |
| LOW | src/aioway/codecs/_bases.py | 9 | __all__ = ["TorchCompatible"] | CODE |
| LOW | src/aioway/codecs/texts.py | 12 | __all__ = ["TokenizerLoader", "TokenizeResult"] | CODE |
| LOW | src/aioway/codecs/collates.py | 7 | __all__ = ["chunk_collate", "chunk_collate_decompose_dim"] | CODE |
| LOW | src/aioway/codecs/images.py | 18 | __all__ = [ | CODE |
| LOW | src/aioway/codecs/_av.py | 14 | __all__ = ["AudioStream"] | CODE |
| LOW | src/aioway/codecs/audios.py | 18 | __all__ = [ | CODE |
| LOW | src/aioway/codecs/videos.py | 17 | __all__ = ["VideoLoader", "AvVideoLoader", "TorchCodecVideoLoader", "VideoData"] | CODE |
| LOW | src/aioway/app/server.py | 11 | __all__ = ["serve", "fastapi_app", "fastmcp_app"] | CODE |
| LOW | src/aioway/app/entrypoint.py | 15 | __all__ = ["add_input", "add_output", "add_module", "add_trainer"] | CODE |
| LOW | src/aioway/modes/fake.py | 14 | __all__ = [ | CODE |
| LOW | src/aioway/modes/hists.py | 22 | __all__ = ["Hist", "HistTensorGraph"] | CODE |
| LOW | src/aioway/modes/hists.py | 127 | def _update_ref(self, thunk: T, output: object) -> None: | STRING |
| LOW | src/aioway/modes/modes.py | 22 | __all__ = [ | CODE |
| LOW | src/aioway/modes/toggles.py | 8 | __all__ = ["active_mode", "set_mode", "mode_off"] | CODE |
| LOW | src/aioway/modes/tracking.py | 22 | __all__ = [ | CODE |
| LOW | src/aioway/modes/aten/binary.py | 16 | __all__ = [ | CODE |
| LOW | src/aioway/modes/aten/guards.py | 11 | __all__ = [ | CODE |
| LOW | src/aioway/modes/aten/getitem.py | 13 | __all__ = ["BooleanMasking", "IntSelect"] | CODE |
| LOW | src/aioway/modes/aten/fn.py | 15 | __all__ = ["AtenThunk"] | CODE |
| LOW | src/aioway/modes/aten/aten.py | 19 | __all__ = ["Aten", "aten_dcls", "find_aten", "all_aten_overrides"] | CODE |
| LOW | src/aioway/emits/convs.py | 19 | __all__ = ["ImageRegressorEmitter"] | CODE |
| LOW | src/aioway/emits/linear.py | 14 | __all__ = [ | CODE |
| LOW | src/aioway/emits/compound.py | 13 | __all__ = ["CompoundBuilder", "BuilderNode", "BuiltModule"] | CODE |
| LOW | src/aioway/emits/emitters.py | 15 | __all__ = [ | CODE |
| LOW | src/aioway/emits/losses.py | 12 | __all__ = ["route_loss"] | CODE |
| LOW | src/aioway/emits/norms.py | 14 | __all__ = ["NormEmitter", "NormType", "layer_norm_emitter"] | CODE |
| LOW | src/aioway/emits/_utils.py | 7 | __all__ = ["Activation", "activation_module", "activation_class"] | CODE |
| LOW | src/aioway/instrs/nn.py | 17 | __all__ = ["NnInstr", "instr_dcls", "NnLayer", "NnLoss"] | CODE |
| LOW | src/aioway/instrs/containers.py | 10 | __all__ = ["Sequential"] | CODE |
| LOW | src/aioway/instrs/instrs.py | 14 | __all__ = ["Instr", "AiowayModule"] | CODE |
| LOW | src/aioway/instrs/losses/contrastive.py | 14 | __all__ = ["ContrastiveLoss", "ContrastiveLossEmitter"] | CODE |
| LOW | src/aioway/instrs/losses/bases.py | 10 | __all__ = [ | CODE |
| LOW | src/aioway/instrs/losses/recon.py | 10 | __all__ = ["LossLike", "ReconstructionLoss"] | CODE |
| LOW | src/aioway/instrs/layers/sliding.py | 14 | __all__ = [ | CODE |
| LOW | src/aioway/instrs/layers/dense.py | 7 | __all__ = ["Identity", "Linear", "Bilinear"] | CODE |
| LOW | src/aioway/instrs/layers/dropouts.py | 8 | __all__ = ["Dropout", "Dropout1d", "Dropout2d", "Dropout3d"] | CODE |
| LOW | src/aioway/instrs/layers/actives.py | 7 | __all__ = [ | CODE |
| LOW | src/aioway/instrs/layers/norms.py | 8 | __all__ = [ | CODE |
| LOW | src/aioway/instrs/layers/embs.py | 8 | __all__ = ["Embedding"] | CODE |
| LOW | src/aioway/_api/fast.py | 8 | __all__ = ["fastapi_app", "route_fastapi"] | CODE |
| LOW | src/aioway/_api/items.py | 10 | __all__ = ["public_api", "public_items", "AiowayApi"] | CODE |
| LOW | src/aioway/schemas/shapes.py | 14 | __all__ = ["ShapeLike", "Shape"] | CODE |
| 19 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_sess.py | 57 | def test_no_abstract_session_current(): | CODE |
| LOW | tests/_utils/test_types.py | 19 | def test_invoke_count_recursive(): | CODE |
| LOW | tests/losses/test_losses.py | 8 | def test_route_unbounded_loss(): | CODE |
| LOW | tests/modes/test_history.py | 72 | def test_boolean_masking_should_fail(fake_a: torch.Tensor): | CODE |
| LOW | tests/modes/test_history.py | 79 | def test_boolean_masking_patched(fake_a: torch.Tensor): | CODE |
| LOW | tests/instrs/test_losses.py | 18 | def test_loss_instr_to_module(loss_module: NnLoss): | CODE |
| LOW | tests/nets/test_convs.py | 36 | def test_emit_image_regressor( | CODE |
| LOW | src/aioway/_utils/hooks.py | 34 | def register_module_forward_pre_hook(hook: ModulePreHook): | CODE |
| LOW | src/aioway/_utils/hooks.py | 49 | def register_module_forward_hook(hook: ModuleHook, *, always_call: bool = False): | CODE |
| LOW | src/aioway/_utils/hooks.py | 64 | def register_module_full_backward_pre_hook(hook: ModulePreHook): | CODE |
| LOW | src/aioway/_utils/hooks.py | 79 | def register_module_full_backward_hook(hook: ModuleHook): | CODE |
| LOW | src/aioway/_utils/hooks.py | 94 | def nn_module_register_forward_pre_hook(module: nn.Module, hook: ModulePreHook): | CODE |
| LOW | src/aioway/_utils/hooks.py | 109 | def nn_module_register_forward_hook( | CODE |
| LOW | src/aioway/_utils/hooks.py | 126 | def nn_module_register_full_backward_pre_hook(module: nn.Module, hook: ModulePreHook): | CODE |
| LOW | src/aioway/_utils/hooks.py | 141 | def nn_module_register_full_backward_hook(module: nn.Module, hook: ModuleHook): | CODE |
| LOW | src/aioway/codecs/collates.py | 12 | def chunk_collate_decompose_dim(max_len: int, dim: int) -> CollateFunc: | CODE |
| LOW | src/aioway/schemas/renders.py | 22 | def render_function_body_prefix( | CODE |
| LOW | src/aioway/schemas/attrs.py | 214 | def _try_parse_attr_like_dict(cls, item: AttrLikeDict) -> typing.Self | None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/aioway/_utils/renders.py | 59 | CODE | |
| MEDIUM | src/aioway/_utils/renders.py | 62 | CODE | |
| MEDIUM | src/aioway/_utils/renders.py | 66 | CODE | |
| MEDIUM | src/aioway/_utils/renders.py | 69 | CODE | |
| MEDIUM | src/aioway/_utils/renders.py | 70 | CODE | |
| MEDIUM | src/aioway/emits/compound.py | 132 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | notebooks/hello.py | 1 | # --- | COMMENT |
| LOW | notebooks/attributes.py | 1 | # --- | COMMENT |
| LOW | notebooks/disable_ops.py | 1 | # --- | COMMENT |
| LOW | notebooks/print_torch_ops.py | 1 | # --- | COMMENT |
| LOW | notebooks/grads.py | 1 | # --- | COMMENT |
| LOW | notebooks/aten.py | 1 | # --- | COMMENT |
| LOW | notebooks/missing_values.py | 1 | # --- | COMMENT |
| LOW | notebooks/mnist.py | 1 | # --- | COMMENT |
| LOW | notebooks/state_dicts.py | 1 | # --- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/aioway/codecs/audios.py | 136 | # Create a fake tensor of float32 in fake mode. | COMMENT |
| MEDIUM | src/aioway/codecs/videos.py | 55 | # Create a fake tensor of float32 in fake mode. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ci/group-actions.py | 23 | # Set columns to current terminal size - indent. | COMMENT |
| LOW | src/aioway/_utils/dags.py | 109 | # Check if data all have unique ids. | COMMENT |
| LOW | src/aioway/_utils/decomps.py | 81 | # Check if it's those primitives. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/aioway/modes/hists.py | 86 | except Exception as e: | STRING |
| LOW | src/aioway/modes/tracking.py | 149 | except Exception as e: | CODE |
| LOW | src/aioway/schemas/_bases.py | 40 | except Exception: | CODE |
| LOW | src/aioway/schemas/attrs.py | 227 | except Exception: | CODE |
| LOW | src/aioway/errors/exceptions.py | 34 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/aioway/codecs/audios.py | 102 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/aioway/schemas/dtypes.py | 68 | CODE |