AI Slop Code RIsk Monitor

rentruewang/aioway

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.

19.0 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for rentruewang/aioway, a Python project with 1,823 GitHub stars. SynthScan examined 17,091 lines of code across 207 source files, recording 298 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 19.0 (Elevated 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.

19.0
Adjusted Signal
19.0
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
1.8K
Stars
Python
Language
17.1K
Lines of Code
207
Files
298
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 28.9/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 100 finding(s).

Hallucinated Dependency & Supply Chain Risk 24.3/100 · LOW

Are imports declared and package/API names verified? 95 finding(s).

Agent Over-Engineering Ratio 45.7/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 187 finding(s).

PR Review Velocity Impact 60.7/100 · HIGH

Which changes need focused human review? 298 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 1MEDIUM 8LOW 289

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 298 distinct pattern matches across 11 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.

Unused Imports95 hits · 95 pts
SeverityFileLineSnippetContext
LOWsrc/aioway/rewrites/__init__.py3CODE
LOWsrc/aioway/rewrites/__init__.py4CODE
LOWsrc/aioway/rewrites/__init__.py5CODE
LOWsrc/aioway/_utils/__init__.py5CODE
LOWsrc/aioway/_utils/__init__.py6CODE
LOWsrc/aioway/_utils/__init__.py7CODE
LOWsrc/aioway/_utils/__init__.py8CODE
LOWsrc/aioway/_utils/__init__.py9CODE
LOWsrc/aioway/_utils/__init__.py10CODE
LOWsrc/aioway/_utils/__init__.py11CODE
LOWsrc/aioway/ir/__init__.py3CODE
LOWsrc/aioway/ir/__init__.py4CODE
LOWsrc/aioway/ir/__init__.py5CODE
LOWsrc/aioway/ir/__init__.py6CODE
LOWsrc/aioway/ir/__init__.py7CODE
LOWsrc/aioway/ir/__init__.py8CODE
LOWsrc/aioway/ir/instrs/__init__.py5CODE
LOWsrc/aioway/ir/instrs/__init__.py6CODE
LOWsrc/aioway/ir/intrptrs/__init__.py3CODE
LOWsrc/aioway/ir/intrptrs/__init__.py4CODE
LOWsrc/aioway/ir/intrptrs/__init__.py5CODE
LOWsrc/aioway/ir/queries/__init__.py3CODE
LOWsrc/aioway/ir/queries/__init__.py4CODE
LOWsrc/aioway/ir/progs/__init__.py3CODE
LOWsrc/aioway/ir/progs/__init__.py4CODE
LOWsrc/aioway/emits/__init__.py3CODE
LOWsrc/aioway/emits/__init__.py4CODE
LOWsrc/aioway/emits/__init__.py5CODE
LOWsrc/aioway/emits/__init__.py6CODE
LOWsrc/aioway/emits/__init__.py7CODE
LOWsrc/aioway/emits/__init__.py8CODE
LOWsrc/aioway/emits/losses/__init__.py3CODE
LOWsrc/aioway/emits/losses/__init__.py4CODE
LOWsrc/aioway/emits/losses/__init__.py5CODE
LOWsrc/aioway/em/__init__.py3CODE
LOWsrc/aioway/em/__init__.py4CODE
LOWsrc/aioway/em/__init__.py5CODE
LOWsrc/aioway/em/__init__.py6CODE
LOWsrc/aioway/em/__init__.py7CODE
LOWsrc/aioway/em/expls/__init__.py3CODE
LOWsrc/aioway/em/expls/__init__.py4CODE
LOWsrc/aioway/io/__init__.py3CODE
LOWsrc/aioway/io/__init__.py4CODE
LOWsrc/aioway/io/dsets/__init__.py3CODE
LOWsrc/aioway/io/dsets/__init__.py4CODE
LOWsrc/aioway/io/codecs/__init__.py5CODE
LOWsrc/aioway/io/codecs/__init__.py6CODE
LOWsrc/aioway/io/codecs/__init__.py7CODE
LOWsrc/aioway/io/codecs/__init__.py8CODE
LOWsrc/aioway/io/codecs/__init__.py9CODE
LOWsrc/aioway/_api/__init__.py3CODE
LOWsrc/aioway/_api/__init__.py4CODE
LOWsrc/aioway/t/__init__.py5CODE
LOWsrc/aioway/t/__init__.py6CODE
LOWsrc/aioway/t/__init__.py7CODE
LOWsrc/aioway/t/__init__.py8CODE
LOWsrc/aioway/t/__init__.py9CODE
LOWsrc/aioway/t/__init__.py10CODE
LOWsrc/aioway/t/__init__.py11CODE
LOWsrc/aioway/t/__init__.py12CODE
35 more matches not shown…
Hyper-Verbose Identifiers83 hits · 94 pts
SeverityFileLineSnippetContext
LOWtests/rewrites/test_morphing.py131def test_type_query_finds_block():CODE
LOWtests/rewrites/test_morphing.py142def test_exact_query_by_instance():CODE
LOWtests/rewrites/test_morphing.py154def test_exact_query_module_called_twice():CODE
LOWtests/rewrites/test_morphing.py163def test_needs_single_dependency():CODE
LOWtests/rewrites/test_morphing.py203def test_netmorph_skips_shared_intermediate():CODE
LOWtests/rewrites/test_morphing.py209def test_netmorph_skips_shape_change():CODE
LOWtests/rewrites/test_morphing.py235def test_netmorph_rewrite_longer_middle():CODE
LOWtests/rewrites/test_morphing.py253def test_netmorph_rewrite_keeps_io():CODE
LOWtests/rewrites/test_morphing.py262def test_netmorph_rewrite_keeps_original():CODE
LOWtests/rewrites/test_matchers.py35def test_linear_match_sequential(linear_matcher: Matcher, sequential: nn.Sequential):CODE
LOWtests/_utils/test_sets.py14def test_any_set_with_defaults():CODE
LOW⚡tests/_utils/test_sets.py27def test_any_set_unhashable_uses_identity():CODE
LOW⚡tests/_utils/test_sets.py34def test_any_set_add_and_discard():CODE
LOW⚡tests/_utils/test_sets.py43def test_any_set_wrong_type_raises():CODE
LOWtests/_utils/test_sets.py102def test_isdisjoint_no_mutation():CODE
LOW⚡tests/_utils/test_sets.py113def test_any_dict_with_defaults():CODE
LOW⚡tests/_utils/test_sets.py120def test_any_dict_set_get_del():CODE
LOW⚡tests/_utils/test_sets.py130def test_any_dict_missing_key_raises():CODE
LOW⚡tests/_utils/test_sets.py138def test_any_dict_unhashable_keys():CODE
LOWtests/_utils/test_sets.py152def test_any_dict_keys_values_items():CODE
LOWtests/_utils/test_types.py21def test_invoke_count_recursive():CODE
LOWtests/ir/test_calls.py29def test_torch_func_dag_returns():CODE
LOWtests/ir/test_calls.py40def test_torch_func_calls_funcs():CODE
LOWtests/ir/test_calls.py68def test_fake_aten_dag_tensor():CODE
LOWtests/ir/test_calls.py105def test_dag_inputs_first_use_order():CODE
LOWtests/ir/test_calls.py120def test_dag_inputs_many_same_step():CODE
LOWtests/ir/test_calls.py186def test_traced_matches_eager(trace, fn):CODE
LOW⚡tests/ir/test_calls.py202def test_inputs_are_traced_fakes(trace):CODE
LOW⚡tests/ir/test_calls.py212def test_wrong_shape_rejected(trace):CODE
LOW⚡tests/ir/test_calls.py219def test_aten_records_only_aten_ops():CODE
LOWtests/ir/test_execs.py43def test_wrong_input_signature(exec: Exec):CODE
LOWtests/ir/test_queries.py114def test_no_depending_on_intermediate(graph: Graph):CODE
LOWtests/ir/test_queries.py157def test_rewrite_with_itself_setitem(graph: Graph):CODE
LOWtests/ir/test_queries.py205def test_rewrite_keeps_io_attrs(graph: Graph):CODE
LOWtests/ir/test_queries.py217def test_rewrite_keeps_original(graph: Graph):CODE
LOWtests/ir/test_queries.py229def test_rewrite_rejects_wrong_shape(graph: Graph):CODE
LOWtests/ir/test_queries.py237def test_rewrite_rejects_wrong_arity(graph: Graph):CODE
LOWtests/ir/test_queries.py277def test_seqs_whole_program_fail(graph: Graph):CODE
LOWtests/ir/test_queries.py287def test_seqs_longer_than_program(graph: Graph):CODE
LOWtests/ir/test_queries.py299def test_seqs_by_type_no_match(graph: Graph):CODE
LOWtests/ir/test_modules.py69def test_thunk_upstream_yields(module: nn.Module) -> None:CODE
LOWtests/ir/test_modules.py76def test_thunk_downstream_yields(thunk: ModuleCall) -> None:CODE
LOWtests/ir/test_modules.py97def test_append_index_all_outputs(hist: ModuleHist, module: nn.Module) -> None:CODE
LOWtests/ir/test_modules.py114def test_thunk_of_unknown_fail(hist: ModuleHist, thunk: ModuleCall) -> None:CODE
LOW⚡tests/ir/test_modules.py137def test_tracker_records_leaves(tracker: ModuleTracker, hist: ModuleHist) -> None:CODE
LOW⚡tests/ir/test_modules.py146def test_tracker_records_parents(tracker: ModuleTracker, hist: ModuleHist) -> None:CODE
LOW⚡tests/ir/test_modules.py155def test_tracker_records_shapes(tracker: ModuleTracker, hist: ModuleHist) -> None:CODE
LOWtests/ir/test_modules.py173def test_tracker_active_only_context(tracker: ModuleTracker, hist: ModuleHist) -> None:CODE
LOWtests/emits/test_convs.py42def test_emit_image_regressor(CODE
LOWtests/emits/losses/test_losses.py17def test_route_unbounded_loss():CODE
LOWtests/t/test_nested.py91def test_find_skips_non_tensors():CODE
LOWtests/t/test_nested.py108def test_leaves_typed_filters():CODE
LOWtests/t/test_nested.py116def test_leaves_typed_container():CODE
LOWtests/t/test_nested.py129def test_map_memo_keeps_structure():CODE
LOWtests/t/test_nested.py146def test_map_memo_custom_memo():CODE
LOW⚡tests/t/test_lists.py68def test_tlist_order_dependent(x, y):CODE
LOW⚡tests/t/test_lists.py73def test_tlist_fake_check_all(tlist: TList):CODE
LOW⚡tests/t/test_lists.py78def test_tlist_fake_check_mixed(x):CODE
LOW⚡tests/t/test_lists.py85def test_tlist_flatten_unflatten(tlist, x, y):CODE
LOWtests/t/overrides/test_fake.py52def test_fake_tensor_identity(fake: torch.Tensor):CODE
23 more matches not shown…
Modern Structural Boilerplate92 hits · 92 pts
SeverityFileLineSnippetContext
LOWsrc/aioway/_thunks.py11__all__ = ["Thunk", "AnyThunk"]CODE
LOWsrc/aioway/rewrites/rewrites.py10__all__ = ["Rewriter"]CODE
LOWsrc/aioway/rewrites/morphing.py16__all__ = ["NetMorphLinearSeqDeeper"]CODE
LOWsrc/aioway/rewrites/matchers.py11__all__ = ["MatchFunc", "Matcher"]CODE
LOWsrc/aioway/_utils/signs.py15__all__ = ["Param", "Sign"]CODE
LOWsrc/aioway/_utils/platforms.py8__all__ = ["num_threads"]CODE
LOWsrc/aioway/_utils/types.py8__all__ = ["track_call_count", "Stack", "find_common_base"]CODE
LOWsrc/aioway/_utils/renders.py11__all__ = [CODE
LOWsrc/aioway/_utils/profs.py16__all__ = ["Profiler", "ProfilerStack", "CallerProfiler", "ProfilerCollection"]CODE
LOWsrc/aioway/_utils/typing.py12__all__ = [CODE
LOWsrc/aioway/_utils/sets.py7__all__ = ["any_set", "AnySet", "any_dict", "AnyDict"]CODE
LOWsrc/aioway/ir/modules.py18__all__ = ["ModuleTracker", "ModuleHist", "track_module_thunks"]CODE
LOWsrc/aioway/ir/calls.py22__all__ = ["TorchFuncDag", "fake_aten_dag"]CODE
LOWsrc/aioway/ir/rebuild.py10__all__ = ["rebuild_module"]CODE
LOWsrc/aioway/ir/instrs/instrs.py16__all__ = ["Instr", "InstrList"]CODE
LOWsrc/aioway/ir/instrs/calls.py21__all__ = ["FuncCall", "ModuleCall"]CODE
LOWsrc/aioway/ir/intrptrs/codes.py20__all__ = ["CodeRender", "render_stateless_program"]CODE
LOWsrc/aioway/ir/intrptrs/intrptrs.py14__all__ = ["Intrptr"]CODE
LOWsrc/aioway/ir/intrptrs/execs.py18__all__ = ["Exec", "LocalScope"]CODE
LOWsrc/aioway/ir/queries/queries.py18__all__ = ["Query", "OrderedIndex", "IndexQuery"]CODE
LOWsrc/aioway/ir/queries/seqs.py16__all__ = ["SequentialQuery", "ExactSequential", "TypeSequential"]CODE
LOWsrc/aioway/ir/progs/subs.py12__all__ = ["FuncProgram", "NnProgram", "NnProgramModule"]CODE
LOWsrc/aioway/ir/progs/progs.py20__all__ = ["TensorRef", "Program", "TensorLifetime"]CODE
LOWsrc/aioway/emits/convs.py17__all__ = ["ImageRegressorEmitter"]CODE
LOWsrc/aioway/emits/linear.py14__all__ = [CODE
LOWsrc/aioway/emits/compound.py14__all__ = ["CompoundBuilder", "BuilderNode", "BuiltModule"]CODE
LOWsrc/aioway/emits/emitters.py14__all__ = [CODE
LOWsrc/aioway/emits/args.py14__all__ = ["ArgsTSpec", "NnArgs"]CODE
LOWsrc/aioway/emits/norms.py14__all__ = ["NormEmitter", "NormType", "layer_norm_emitter"]CODE
LOWsrc/aioway/emits/losses/contrastive.py14__all__ = ["ContrastiveLoss", "ContrastiveLossEmitter"]CODE
LOWsrc/aioway/emits/losses/recon.py10__all__ = ["LossLike", "ReconstructionLoss"]CODE
LOWsrc/aioway/emits/losses/routes.py14__all__ = ["emit_loss", "route_loss"]CODE
LOWsrc/aioway/em/steps.py18__all__ = ["Step", "ValidateStep", "TrainStep", "IncSkLearnStep"]CODE
LOWsrc/aioway/em/tasks.py9__all__ = ["Task"]CODE
LOWsrc/aioway/em/rl.py13__all__ = ["vec_env", "collector"]CODE
LOWsrc/aioway/em/distils.py7__all__ = ["distil"]CODE
LOWsrc/aioway/em/static.py23__all__ = ["StaticTrainer", "TrainCfg", "Task", "BatchIter"]CODE
LOWsrc/aioway/em/nmf.py10__all__ = ["NmfTrainer"]CODE
LOWsrc/aioway/em/expls/expls.py17__all__ = ["Expl", "expl_dcls"]CODE
LOWsrc/aioway/em/expls/inputs.py7__all__ = [CODE
LOWsrc/aioway/io/dsets/dsets.py13__all__ = ["Dset", "IdxDset", "IterDset", "DatasetIdxDset"]CODE
LOWsrc/aioway/io/dsets/comps.py17__all__ = [CODE
LOWsrc/aioway/io/codecs/_bases.py9__all__ = ["TorchCompatible"]CODE
LOWsrc/aioway/io/codecs/texts.py12__all__ = ["TokenizerLoader", "TokenizeResult"]CODE
LOWsrc/aioway/io/codecs/collates.py7__all__ = ["chunk_collate", "chunk_collate_decompose_dim"]CODE
LOWsrc/aioway/io/codecs/images.py17__all__ = [CODE
LOWsrc/aioway/io/codecs/_av.py14__all__ = ["AudioStream"]CODE
LOWsrc/aioway/io/codecs/audios.py17__all__ = [CODE
LOWsrc/aioway/io/codecs/videos.py16__all__ = ["VideoLoader", "AvVideoLoader", "TorchCodecVideoLoader", "VideoData"]CODE
LOWsrc/aioway/_api/fast.py8__all__ = ["fastapi_app", "route_fastapi"]CODE
LOWsrc/aioway/_api/items.py10__all__ = ["public_api", "public_items", "AiowayApi"]CODE
LOWsrc/aioway/t/hooks.py11__all__ = [CODE
LOWsrc/aioway/t/lists.py22__all__ = ["TList"]CODE
LOWsrc/aioway/t/guards.py11__all__ = [CODE
LOWsrc/aioway/t/discovery.py15__all__ = ["batch_tspec", "iter_tspec"]CODE
LOWsrc/aioway/t/_utils.py21__all__ = ["tcol_to_tdict", "render_torch_func_name", "camel_to_snake"]CODE
LOWsrc/aioway/t/routes.py23__all__ = [CODE
LOWsrc/aioway/t/nested.py14__all__ = [CODE
LOWsrc/aioway/t/overrides/fake.py13__all__ = [CODE
LOWsrc/aioway/t/overrides/modes.py21__all__ = [CODE
32 more matches not shown…
Dead Code6 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMsrc/aioway/_utils/renders.py52CODE
MEDIUMsrc/aioway/_utils/renders.py55CODE
MEDIUMsrc/aioway/_utils/renders.py59CODE
MEDIUMsrc/aioway/_utils/renders.py62CODE
MEDIUMsrc/aioway/_utils/renders.py63CODE
MEDIUMsrc/aioway/emits/compound.py133CODE
Over-Commented Block11 hits · 11 pts
SeverityFileLineSnippetContext
LOWnotebooks/hello.py1# ---COMMENT
LOWnotebooks/rendering.py1# ---COMMENT
LOWnotebooks/attributes.py1# ---COMMENT
LOWnotebooks/disable_ops.py1# ---COMMENT
LOWnotebooks/print_torch_ops.py1# ---COMMENT
LOWnotebooks/grads.py1# ---COMMENT
LOWnotebooks/aten.py1# ---COMMENT
LOWnotebooks/missing_values.py1# ---COMMENT
LOWnotebooks/mnist.py1# ---COMMENT
LOWnotebooks/state_dicts.py1# ---COMMENT
LOWnotebooks/history.py1# ---COMMENT
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMsrc/aioway/io/codecs/audios.py135 # Create a fake tensor of float32 in fake mode.COMMENT
MEDIUMsrc/aioway/io/codecs/videos.py54 # Create a fake tensor of float32 in fake mode.COMMENT
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHsrc/aioway/t/tspecs/__init__.py13except ImportError:CODE
Excessive Try-Catch Wrapping4 hits · 4 pts
SeverityFileLineSnippetContext
LOWsrc/aioway/t/routes.py53 except Exception as e:CODE
LOWsrc/aioway/t/attrs/_bases.py39 except Exception:CODE
LOWsrc/aioway/t/attrs/attrs.py410 except Exception:CODE
LOWsrc/aioway/errors/exceptions.py34 except Exception as e:CODE
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWci/group-actions.py23 # Set columns to current terminal size - indent.COMMENT
LOWsrc/aioway/ir/modules.py63 # Check if the keys already exists,COMMENT
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/aioway/io/codecs/audios.py101CODE
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/aioway/t/attrs/dtypes.py66CODE