AI Slop Code Risk Monitor

apache/ossie

SlopCodeMonitor badge for apache/ossie Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Apache Ossie, industry wide specification effort to standardize how we exchange semantic metadata across analytics, AI and BI platforms, providing a vendor neutral, single source of truth for semantic data

23.1 Elevated pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for apache/ossie, a Python project with 2,589 GitHub stars. SynthScan examined 24,761 lines of code across 91 source files, recording 570 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 23.1 (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.

23.1
Adjusted Signal
23.1
Raw Pattern Score
100%
Time Factor
2026-11-01
Last Push
2.6K
Stars
Python
Language
24.8K
Lines of Code
91
Files
570
Pattern Hits
2026-10-31
Scan Date
0.10
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 56.9/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 10.2/100 · LOW

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

Agent Over-Engineering Ratio 59.9/100 · HIGH

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

PR Review Velocity Impact 74.2/100 · HIGH

Which changes need focused human review? 570 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 9MEDIUM 28LOW 533

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 570 distinct pattern matches across 10 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.

Hyper-Verbose Identifiers436 hits · 349 pts
SeverityFileLineSnippetContext
LOW⚡python/tests/test_validation.py44def test_dataset_missing_required() -> None:CODE
LOW⚡python/tests/test_validation.py54def test_field_missing_expression() -> None:CODE
LOW⚡python/tests/test_validation.py59def test_relationship_missing_name() -> None:CODE
LOW⚡python/tests/test_validation.py69def test_relationship_missing_from() -> None:CODE
LOW⚡python/tests/test_validation.py79def test_relationship_missing_to() -> None:CODE
LOW⚡python/tests/test_validation.py89def test_relationship_missing_from_columns() -> None:CODE
LOW⚡python/tests/test_validation.py99def test_relationship_missing_to_columns() -> None:CODE
LOW⚡python/tests/test_validation.py114def test_metric_missing_expression() -> None:CODE
LOW⚡python/tests/test_validation.py119def test_semantic_model_missing_name() -> None:CODE
LOW⚡python/tests/test_validation.py126def test_semantic_model_missing_datasets() -> None:CODE
LOW⚡python/tests/test_validation.py131def test_custom_extension_missing_vendor_name() -> None:CODE
LOW⚡python/tests/test_validation.py136def test_custom_extension_missing_data() -> None:CODE
LOW⚡python/tests/test_validation.py141def test_dialect_expression_missing_dialect() -> None:CODE
LOW⚡python/tests/test_validation.py146def test_dialect_expression_missing_expression() -> None:CODE
LOW⚡python/tests/test_validation.py151def test_expression_requires_sql_or_dialects() -> None:CODE
LOW⚡python/tests/test_validation.py157def test_expression_portable_only_is_valid() -> None:CODE
LOW⚡python/tests/test_validation.py163def test_expression_dialects_only_is_valid() -> None:CODE
LOW⚡python/tests/test_validation.py170def test_expression_both_present_is_valid() -> None:CODE
LOW⚡python/tests/test_validation.py179def test_expression_empty_dialects_is_rejected() -> None:CODE
LOW⚡python/tests/test_validation.py185def test_expression_empty_sql_is_rejected() -> None:CODE
LOW⚡python/tests/test_validation.py191def test_dialect_expression_empty_dialect_is_rejected() -> None:CODE
LOW⚡python/tests/test_validation.py197def test_dialect_expression_empty_expression_is_rejected() -> None:CODE
LOW⚡python/tests/test_validation.py203def test_custom_extension_empty_vendor_name_is_rejected() -> None:CODE
LOW⚡python/tests/test_validation.py209def test_free_form_dialect_in_expression() -> None:CODE
LOW⚡python/tests/test_validation.py253def test_frozen_ai_context_object() -> None:CODE
LOW⚡python/tests/test_validation.py259def test_frozen_custom_extension() -> None:CODE
LOW⚡python/tests/test_validation.py265def test_frozen_dialect_expression() -> None:CODE
LOWpython/tests/test_validation.py292def test_frozen_semantic_model() -> None:CODE
LOWpython/tests/test_loading.py87def test_yaml_rejects_duplicate_keys(text: str, key: str | bool | int) -> None:STRING
LOWpython/tests/test_loading.py158def test_json_rejects_duplicate_keys(text: str, key: str, format_name: str) -> None:STRING
LOWpython/tests/test_loading.py169def test_yaml_duplicate_key_diagnostic_identifies_both_locations() -> None:STRING
LOWpython/tests/test_loading.py178def test_yaml_merge_overrides_and_reused_aliases_are_preserved() -> None:STRING
LOWpython/tests/test_loading.py212def test_yaml_merge_precedence_is_preserved(mapping: str, expected: str) -> None:STRING
LOWpython/tests/test_loading.py223def test_yaml_repeated_merge_aliases_are_preserved() -> None:STRING
LOWpython/tests/test_loading.py243def test_yaml_value_keys_are_preserved_in_mappings_and_merges(key: str) -> None:STRING
LOWpython/tests/test_loading.py256def test_same_key_in_separate_objects_is_preserved() -> None:STRING
LOW⚡python/tests/test_loading.py274def test_json_entry_point_still_requires_json() -> None:STRING
LOW⚡python/tests/test_loading.py280def test_yaml_collection_keys_still_raise_a_constructor_error(key: str) -> None:STRING
LOW⚡python/tests/test_loading.py287def test_json_number_and_boolean_types_are_preserved() -> None:STRING
LOWpython/tests/test_ai_context_serialization.py44def test_null_ai_context_extras_round_trip(document_data: dict, format: str, path: tuple) -> None:CODE
LOWpython/tests/test_ai_context_serialization.py115def test_null_ai_context_extras_respect_selection(CODE
LOWpython/tests/test_ai_context_serialization.py129def test_null_ai_context_extra_does_not_restore_excluded_context(CODE
LOWpython/tests/test_ai_context_serialization.py139def test_explicit_none_override_still_includes_declared_properties(CODE
LOW⚡python/tests/test_models.py50def test_dialect_is_free_form_in_core_schema() -> None:CODE
LOW⚡python/tests/test_models.py295def test_document_rejects_removed_root_metadata(CODE
LOW⚡python/tests/test_models.py304def test_embedded_semantic_model_has_no_document_metadata(document_data: dict) -> None:CODE
LOW⚡python/tests/test_models.py313def test_document_defaults_version_when_omitted(document_data: dict) -> None:CODE
LOW⚡python/tests/test_models.py322def test_version_matches_the_core_schema_const() -> None:CODE
LOW⚡python/tests/test_models.py538def test_is_time_accepts_the_values_the_schema_allows(value: bool) -> None:CODE
LOW⚡python/tests/test_models.py542def test_is_time_may_be_omitted() -> None:CODE
LOW⚡python/tests/test_models.py669def test_ai_context_object_allows_extra() -> None:CODE
LOW⚡python/tests/test_models.py674def test_ai_context_accepts_string(document_data: dict) -> None:CODE
LOW⚡python/tests/test_models.py680def test_ai_context_accepts_object(document_data: dict) -> None:CODE
LOW⚡python/tests/test_models.py690def test_relationship_with_alias() -> None:CODE
LOW⚡python/tests/test_models.py713def test_expression_dialects_min_length() -> None:CODE
LOW⚡python/tests/test_models.py718def test_relationship_columns_min_length() -> None:CODE
LOW⚡python/tests/test_models.py725def test_semantic_model_datasets_min_length() -> None:CODE
LOWpython/tests/test_models.py71def test_dialect_enum_matches_the_registry() -> None:CODE
LOWpython/tests/test_models.py79def test_vendor_enum_matches_the_registry() -> None:CODE
LOWpython/tests/test_models.py90def test_dialect_accepts_string_and_enum_input(dialect: str | OssieDialect) -> None:CODE
376 more matches not shown…
Decorative Section Separators14 hits · 60 pts
SeverityFileLineSnippetContext
MEDIUM⚡python/tests/test_validation.py39# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/tests/test_validation.py41# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/tests/test_validation.py215# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/tests/test_validation.py217# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/tests/test_models.py45# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/tests/test_models.py47# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/tests/test_models.py550# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/tests/test_models.py552# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/tests/test_models.py664# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/tests/test_models.py666# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡validation/tests/test_validate.py1635# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡validation/tests/test_validate.py1637# ---------------------------------------------------------------------------COMMENT
MEDIUMvalidation/tests/test_ontology.py439# ---------------------------------------------------------------------------COMMENT
MEDIUMvalidation/tests/test_ontology.py441# ---------------------------------------------------------------------------COMMENT
Over-Commented Block60 hits · 57 pts
SeverityFileLineSnippetContext
LOW.asf.yaml1#COMMENT
LOWpython/pyproject.toml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWpython/tests/conftest.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWpython/tests/test_validation.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWpython/tests/test_loading.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWpython/tests/test_ai_context_serialization.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWpython/tests/test_models.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWpython/tests/test_serialization.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWpython/src/ossie/_loading.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWpython/src/ossie/models.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWpython/src/ossie/__init__.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWcore-spec/spec.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWcore-spec/spec.yaml21#COMMENT
LOWcore-spec/spec.yaml61description: stringCOMMENT
LOWcore-spec/spec.yaml81# Optional: Model-scoped metricsCOMMENT
LOWcore-spec/spec.yaml101 - name: stringCOMMENT
LOWcore-spec/spec.yaml121 # Examples:COMMENT
LOWcore-spec/spec.yaml141 fields: []COMMENT
LOWcore-spec/spec.yaml181 # Required: Array of field names in the "from" dataset (foreign key fields)COMMENT
LOWcore-spec/spec.yaml221 expression:COMMENT
LOWcore-spec/spec.yaml261 # Optional: Vendor-specific attributes for extensibilityCOMMENT
LOWcore-spec/spec.yaml281 # References are dataset fields, not columns of the dataset's sourceCOMMENT
LOWcompliance/portability/manifest.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWcompliance/portability/manifest.yaml21# round-trip localizes to a single construct. Every rung is authored in aCOMMENT
LOWcompliance/portability/grader/test_grade.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWcompliance/portability/grader/grade.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWcompliance/portability/m1/m1_scalar_field.ossie.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…liance/portability/m0/m0_ossiesql_qualified.ossie.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWcompliance/portability/m0/m0_ansi_qualified.ossie.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWcompliance/portability/m0/m0_sum_bare.ossie.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…ance/portability/m2/m2_aggregates_qualified.ossie.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWcompliance/portability/m2/m2_aggregates_bare.ossie.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…pliance/portability/m3/m3_filtered_agg_bare.ossie.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…ce/portability/m3/m3_filtered_agg_qualified.ossie.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWcompliance/query/scott/scott_model.ossie.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWcompliance/query/scott/scott_model.ossie.yaml21# compliance cases in ../cases/.COMMENT
LOWexamples/flights.mapping.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWexamples/renamed_fields.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWexamples/flights.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWexamples/flights.semantic_model.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWexamples/flights.ontology.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWexamples/tpcds_semantic_model.yaml1# yaml-language-server: $schema=../core-spec/ossie-schema.jsonCOMMENT
LOWscripts/generate-spec-types.py1#!/usr/bin/env python3COMMENT
LOW.github/labeler.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.github/dependabot.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.github/workflows/remove-awaiting-response.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.github/workflows/community-pr-helper.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.github/workflows/python-ci.yml1#COMMENT
LOW.github/workflows/dependency-review.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.github/workflows/stale.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.github/workflows/auto-label-prs.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.github/workflows/license-check.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.github/workflows/pr-title-check.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.github/workflows/validation-ci.yml1#COMMENT
LOW.github/workflows/auto-label-issues.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWvalidation/validate.py1#!/usr/bin/env python3COMMENT
LOWvalidation/test_validate.py1# /// scriptCOMMENT
LOWvalidation/tests/test_generate_spec_types.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWvalidation/tests/test_validate.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWvalidation/tests/test_ontology.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
Excessive Try-Catch Wrapping19 hits · 36 pts
SeverityFileLineSnippetContext
LOWcompliance/portability/grader/grade.py116 except Exception:CODE
LOWcompliance/portability/grader/grade.py131 except Exception:CODE
MEDIUMcompliance/portability/grader/grade.py113def canonical(text):CODE
MEDIUMscripts/generate-spec-types.py96 print(f"Error: no description for '{key}' value '{v}'", file=sys.stderr)CODE
MEDIUMscripts/generate-spec-types.py129 print(f"Error: '{key}:' not found in spec.yaml", file=sys.stderr)CODE
MEDIUMscripts/generate-spec-types.py172 print(f"Error: Generated YAML is invalid: {e}", file=sys.stderr)CODE
MEDIUM⚡validation/validate.py1768 print(f"Error: File not found: {yaml_path}")CODE
MEDIUM⚡validation/validate.py1777 print(f"Error: Invalid YAML: {e}")CODE
MEDIUM⚡validation/validate.py1781 print("Error: Invalid YAML: input is too deeply nested to parse")CODE
MEDIUM⚡validation/validate.py1790 print(f"Error: {type(e).__name__} while validating {yaml_path}: {e}")CODE
MEDIUMvalidation/validate.py1689 print(f"Error: Could not read {description}: {e}")CODE
MEDIUMvalidation/validate.py1692 print(f"Error: {description} is not valid UTF-8 text: {e}")CODE
MEDIUMvalidation/validate.py1715 print(f"Error: Invalid JSON in schema {schema_path}: {e}")CODE
MEDIUMvalidation/validate.py1728 print(f"Error: Invalid schema {schema_path}: {location}: {e.message}")CODE
MEDIUMvalidation/validate.py1840 print(f"Error: Schema not found: {schema_path}")CODE
LOW⚡validation/validate.py1786 except Exception as e:CODE
LOWvalidation/validate.py1221 except Exception:CODE
LOWvalidation/validate.py1242 except Exception:CODE
LOWvalidation/validate.py1264 except Exception:CODE
Cross-Language Confusion8 hits · 36 pts
SeverityFileLineSnippetContext
HIGH⚡python/tests/test_loading.py291 '"ai_context":{"number":1e3,"flag":true,"missing":null}}'STRING
HIGHpython/tests/test_ai_context_serialization.py72 # Unknown properties permit null; omitted declared properties still stay absent.COMMENT
HIGHpython/tests/test_serialization.py525 " x0: &a0 {label: null}",CODE
HIGHpython/tests/test_serialization.py647 " tags: !!set {a: null}\n"CODE
HIGHpython/tests/test_serialization.py675 "property set to null, which the schema does not allow; omit it instead: description"CODE
HIGHpython/tests/test_serialization.py514 The anchored subtree holds a null, which is the case that bounding the traversalSTRING
HIGHpython/src/ossie/models.py46_NULL = "property set to null, which the schema does not allow; omit it instead"CODE
HIGHpython/src/ossie/models.py403 Rejected here: a duplicate mapping key, a property set to null, a missingSTRING
Unused Imports17 hits · 17 pts
SeverityFileLineSnippetContext
LOWpython/src/ossie/__init__.py25CODE
LOWpython/src/ossie/__init__.py25CODE
LOWpython/src/ossie/__init__.py25CODE
LOWpython/src/ossie/__init__.py25CODE
LOWpython/src/ossie/__init__.py25CODE
LOWpython/src/ossie/__init__.py25CODE
LOWpython/src/ossie/__init__.py25CODE
LOWpython/src/ossie/__init__.py25CODE
LOWpython/src/ossie/__init__.py25CODE
LOWpython/src/ossie/__init__.py25CODE
LOWpython/src/ossie/__init__.py25CODE
LOWpython/src/ossie/__init__.py25CODE
LOWpython/src/ossie/__init__.py25CODE
LOWpython/src/ossie/__init__.py25CODE
LOWpython/src/ossie/__init__.py25CODE
LOWcompliance/portability/grader/grade.py54CODE
LOWvalidation/validate.py74CODE
Deep Nesting12 hits · 7 pts
SeverityFileLineSnippetContext
LOWpython/tests/test_models.py579CODE
LOWpython/tests/test_serialization.py264CODE
LOWpython/src/ossie/_loading.py34CODE
LOWpython/src/ossie/models.py57CODE
LOWvalidation/validate.py319CODE
LOWvalidation/validate.py574CODE
LOWvalidation/validate.py642CODE
LOWvalidation/validate.py912CODE
LOWvalidation/validate.py1097CODE
LOWvalidation/validate.py1466CODE
LOWvalidation/validate.py1811CODE
LOWvalidation/validate.py1530CODE
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHcompliance/portability/grader/grade.py131except Exception:CODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMcompliance/portability/manifest.yaml30# passing); scoring stays a harness job (see #348).COMMENT
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWpython/tests/test_serialization.py369def _set_null(document: dict, path: str) -> None:CODE
LOWpython/src/ossie/__init__.py43__all__ = [CODE