Repository Analysis

ansible/awx

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.

24.1 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of ansible/awx, a Python project with 15,487 GitHub stars. SynthScan v2.0 examined 191,125 lines of code across 1362 source files, recording 3861 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 24.1 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).

24.1
Adjusted Score
24.1
Raw Score
100%
Time Factor
2026-07-10
Last Push
15.5K
Stars
Python
Language
191.1K
Lines of Code
1.4K
Files
3.9K
Pattern Hits
2026-07-14
Scan Date
0.05
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

Severity Breakdown

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.

CRITICAL 30HIGH 34MEDIUM 208LOW 3589

Directory Score Breakdown

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.

Pattern Findings

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

Hyper-Verbose Identifiers2349 hits · 2456 pts
SeverityFileLineSnippetContext
LOWawxkit/awxkit/ws.py146 def pending_project_update_stdout(self):CODE
LOWawxkit/awxkit/ws.py152 def pending_inventory_update_stdout(self):CODE
LOWawxkit/awxkit/ws.py164 def pending_system_job_events(self):CODE
LOWawxkit/awxkit/ws.py167 def subscribe_to_pending_events(self, events, jobs=[status_changed]):CODE
LOWawxkit/awxkit/utils/__init__.py303def set_payload_foreign_key_args(payload, fk_fields, kwargs):CODE
LOWawxkit/awxkit/utils/__init__.py385def seconds_since_date_string(date_str, fmt='%Y-%m-%dT%H:%M:%S.%fZ', default_tz=UTC()):CODE
LOWawxkit/awxkit/cli/format.py42def add_authentication_arguments(parser, env):CODE
LOWawxkit/awxkit/cli/format.py83def add_formatting_import_export(parser, env):CODE
LOWawxkit/awxkit/cli/format.py96def add_output_formatting_arguments(parser, env):CODE
LOWawxkit/awxkit/api/mixins/has_notifications.py10 def add_notification_template(self, notification_template, endpoint="notification_templates_success"):CODE
LOWawxkit/awxkit/api/mixins/has_notifications.py19 def remove_notification_template(self, notification_template, endpoint="notification_templates_success"):CODE
LOWawxkit/awxkit/api/mixins/has_create.py27def optional_dependency_graph(page, *provided_dependencies):CODE
LOWawxkit/awxkit/api/mixins/has_create.py101def all_instantiated_dependencies(*potential_parents):CODE
LOWawxkit/awxkit/api/mixins/has_create.py250 def create_and_update_dependencies(self, *provided_and_desired_dependencies):CODE
LOWawxkit/awxkit/api/mixins/has_instance_groups.py15 def remove_all_instance_groups(self):CODE
LOWawxkit/awxkit/api/pages/credentials.py106def kind_and_config_cred_from_credential_type(credential_type):CODE
LOWawxkit/awxkit/api/pages/credentials.py127def get_payload_field_and_value_from_kwargs_or_config_cred(field, kind, kwargs, config_cred):CODE
LOWawxkit/awxkit/api/pages/credentials.py281 def expected_passwords_needed_to_start(self):CODE
LOWawxkit/awxkit/api/pages/page.py332def exception_from_status_code(status_code):CODE
LOWawxkit/test/test_registry.py24def test_methodless_get_from_empty_registry(reg):CODE
LOWawxkit/test/test_registry.py28def test_method_get_from_empty_registry(reg):CODE
LOWawxkit/test/test_registry.py32def test_methodless_setdefault_methodless_get(reg):CODE
LOWawxkit/test/test_registry.py37def test_methodless_setdefault_method_get(reg):CODE
LOWawxkit/test/test_registry.py42def test_method_setdefault_methodless_get(reg):CODE
LOWawxkit/test/test_registry.py47def test_method_setdefault_matching_method_get(reg):CODE
LOWawxkit/test/test_registry.py52def test_method_setdefault_nonmatching_method_get(reg):CODE
LOWawxkit/test/test_registry.py57def test_multimethod_setdefault_matching_method_get(reg):CODE
LOWawxkit/test/test_registry.py63def test_multimethod_setdefault_nonmatching_method_get(reg):CODE
LOWawxkit/test/test_registry.py69def test_wildcard_setdefault_methodless_get(reg):CODE
LOWawxkit/test/test_registry.py74def test_wildcard_setdefault_method_get(reg):CODE
LOWawxkit/test/test_registry.py79def test_regex_method_setdefaults_over_wildcard_method_get(reg):CODE
LOWawxkit/test/test_registry.py86def test_methodless_registration_with_matching_path_methodless_get(reg):CODE
LOWawxkit/test/test_registry.py91def test_methodless_registraion_with_nonmatching_path_methodless_get(reg):CODE
LOWawxkit/test/test_registry.py96def test_methodless_registration_with_matching_path_nonmatching_method_get(reg):CODE
LOWawxkit/test/test_registry.py101def test_method_registration_with_matching_path_matching_method_get(reg):CODE
LOWawxkit/test/test_registry.py106def test_method_registration_with_matching_path_nonmatching_method_get(reg):CODE
LOWawxkit/test/test_registry.py111def test_multimethod_registration_with_matching_path_matching_method_get(reg):CODE
LOWawxkit/test/test_registry.py117def test_multimethod_registration_with_path_matching_method_get(reg):CODE
LOWawxkit/test/test_registry.py122def test_multipath_methodless_registration_with_matching_path_methodless_get(reg):CODE
LOWawxkit/test/test_registry.py128def test_multipath_methodless_registration_with_matching_path_nonmatching_method_get(reg):CODE
LOWawxkit/test/test_registry.py134def test_multipath_method_registration_with_matching_path_matching_method_get(reg):CODE
LOWawxkit/test/test_registry.py140def test_multipath_partial_method_registration_with_matching_path_matching_method_get(reg):CODE
LOWawxkit/test/test_registry.py146def test_wildcard_method_registration_with_methodless_get(reg):CODE
LOWawxkit/test/test_registry.py151def test_wildcard_method_registration_with_method_get(reg):CODE
LOWawxkit/test/test_registry.py156def test_wildcard_and_specific_method_registration_acts_as_default(reg):CODE
LOWawxkit/test/test_registry.py167def test_multiple_method_registrations_disallowed_for_single_path_single_registration(reg, method):CODE
LOWawxkit/test/test_registry.py174def test_multiple_method_registrations_disallowed_for_single_path_multiple_registrations(reg, method):CODE
LOWawxkit/test/test_registry.py181def test_paths_can_be_patterns(reg):CODE
LOWawxkit/test/test_registry.py186def test_mixed_form_single_registration(reg):CODE
LOWawxkit/test/test_registry.py205def test_mixed_form_single_registration_with_methodless_default(reg):CODE
LOWawxkit/test/test_registry.py225def test_mixed_form_single_registration_with_method_default(reg):CODE
LOWawxkit/test/test_utils.py74def test_load_valid_json_or_yaml(inp, out):CODE
LOWawxkit/test/test_utils.py79def test_load_invalid_json_or_yaml(inp):CODE
LOWawxkit/test/test_utils.py86def test_random_titles_are_unicode(non_ascii):CODE
LOWawxkit/test/test_utils.py92def test_random_titles_generates_correct_characters(non_ascii):CODE
LOWawxkit/test/test_utils.py161def test_filter_by_class_with_subclass_class():CODE
LOWawxkit/test/test_utils.py166def test_filter_by_class_with_subclass_instance():CODE
LOWawxkit/test/test_utils.py173def test_filter_by_class_no_arg_tuples():CODE
LOWawxkit/test/test_utils.py179def test_filter_by_class_with_arg_tuples_containing_class():CODE
LOWawxkit/test/test_utils.py186def test_filter_by_class_with_arg_tuples_containing_subclass():CODE
2289 more matches not shown…
Unused Imports488 hits · 458 pts
SeverityFileLineSnippetContext
LOWawxkit/awxkit/__init__.py1CODE
LOWawxkit/awxkit/__init__.py1CODE
LOWawxkit/awxkit/__init__.py1CODE
LOWawxkit/awxkit/__init__.py2CODE
LOWawxkit/awxkit/__init__.py3CODE
LOWawxkit/awxkit/__init__.py4CODE
LOWawxkit/awxkit/cli/client.py1CODE
LOWawxkit/awxkit/cli/client.py14CODE
LOWawxkit/awxkit/cli/client.py14CODE
LOWawxkit/awxkit/cli/client.py16CODE
LOWawxkit/awxkit/cli/utils.py1CODE
LOWawxkit/awxkit/cli/stdout.py2CODE
LOWawxkit/awxkit/scripts/basic_session.py3CODE
LOWawxkit/awxkit/scripts/basic_session.py7CODE
LOWawxkit/awxkit/scripts/basic_session.py7CODE
LOWawxkit/awxkit/scripts/basic_session.py8CODE
LOWawxkit/awxkit/scripts/basic_session.py8CODE
LOWawxkit/awxkit/scripts/basic_session.py8CODE
LOWawxkit/awxkit/api/__init__.py1CODE
LOWawxkit/awxkit/api/__init__.py2CODE
LOWawxkit/awxkit/api/mixins/__init__.py1CODE
LOWawxkit/awxkit/api/mixins/__init__.py2CODE
LOWawxkit/awxkit/api/mixins/__init__.py3CODE
LOWawxkit/awxkit/api/mixins/__init__.py4CODE
LOWawxkit/awxkit/api/mixins/__init__.py5CODE
LOWawxkit/awxkit/api/mixins/__init__.py6CODE
LOWawxkit/awxkit/api/mixins/__init__.py7CODE
LOWawxkit/awxkit/api/pages/__init__.py2CODE
LOWawxkit/awxkit/api/pages/__init__.py3CODE
LOWawxkit/awxkit/api/pages/__init__.py4CODE
LOWawxkit/awxkit/api/pages/__init__.py5CODE
LOWawxkit/awxkit/api/pages/__init__.py6CODE
LOWawxkit/awxkit/api/pages/__init__.py7CODE
LOWawxkit/awxkit/api/pages/__init__.py8CODE
LOWawxkit/awxkit/api/pages/__init__.py9CODE
LOWawxkit/awxkit/api/pages/__init__.py10CODE
LOWawxkit/awxkit/api/pages/__init__.py11CODE
LOWawxkit/awxkit/api/pages/__init__.py12CODE
LOWawxkit/awxkit/api/pages/__init__.py13CODE
LOWawxkit/awxkit/api/pages/__init__.py14CODE
LOWawxkit/awxkit/api/pages/__init__.py15CODE
LOWawxkit/awxkit/api/pages/__init__.py16CODE
LOWawxkit/awxkit/api/pages/__init__.py17CODE
LOWawxkit/awxkit/api/pages/__init__.py18CODE
LOWawxkit/awxkit/api/pages/__init__.py19CODE
LOWawxkit/awxkit/api/pages/__init__.py20CODE
LOWawxkit/awxkit/api/pages/__init__.py21CODE
LOWawxkit/awxkit/api/pages/__init__.py22CODE
LOWawxkit/awxkit/api/pages/__init__.py23CODE
LOWawxkit/awxkit/api/pages/__init__.py24CODE
LOWawxkit/awxkit/api/pages/__init__.py25CODE
LOWawxkit/awxkit/api/pages/__init__.py26CODE
LOWawxkit/awxkit/api/pages/__init__.py27CODE
LOWawxkit/awxkit/api/pages/__init__.py28CODE
LOWawxkit/awxkit/api/pages/__init__.py29CODE
LOWawxkit/awxkit/api/pages/__init__.py30CODE
LOWawxkit/awxkit/api/pages/__init__.py31CODE
LOWawxkit/awxkit/api/pages/__init__.py32CODE
LOWawxkit/awxkit/api/pages/__init__.py33CODE
LOWawxkit/awxkit/api/pages/__init__.py34CODE
428 more matches not shown…
Hallucination Indicators30 hits · 315 pts
SeverityFileLineSnippetContext
CRITICALawx/api/validators.py4from django.core.exceptions import ValidationErrorCODE
CRITICALawx/api/views/__init__.py23from django.core.exceptions import FieldError, ObjectDoesNotExistCODE
CRITICALawx/api/views/__init__.py2513 models.Host.groups.through.objects.filter(host__inventory_sources=inv_source).delete()CODE
CRITICALawx/api/views/__init__.py2539 models.Group.hosts.through.objects.filter(group__inventory_sources=inv_source).delete()CODE
CRITICALawx/main/validators.py10from django.core.exceptions import ValidationErrorCODE
CRITICALawx/main/tasks/callback.py12from django.core.exceptions import ValidationErrorCODE
CRITICALawx/main/tests/unit/test_validators.py1from django.core.exceptions import ValidationErrorCODE
CRITICALawx/main/tests/unit/test_fields.py5from django.core.exceptions import ValidationErrorCODE
CRITICALawx/main/tests/unit/utils/test_common.py22from django.core.exceptions import ValidationErrorCODE
CRITICALawx/main/tests/unit/models/test_inventory.py3from django.core.exceptions import ValidationErrorCODE
CRITICALawx/main/tests/unit/models/test_project.py6from django.core.exceptions import ValidationErrorCODE
CRITICALawx/main/tests/factories/fixtures.py4from django.core.exceptions import ValidationErrorCODE
CRITICALawx/main/tests/functional/test_credential.py5from django.core.exceptions import ValidationErrorCODE
CRITICALawx/main/tests/functional/test_fixture_factories.py66 assert objects.users.bob in objects.teams.team1.member_role.members.all()CODE
CRITICALawx/main/tests/functional/test_projects.py9from django.core.exceptions import ValidationErrorCODE
CRITICALawx/main/tests/functional/rbac/test_rbac_job.py115 normal_job.job_template.inventory.admin_role.members.add(rando)CODE
CRITICAL…/main/tests/functional/rbac/test_rbac_job_templates.py41 jt_linked.inventory.organization.execute_role.members.add(rando)CODE
CRITICALawx/main/tests/functional/models/test_workflow.py24from django.core.exceptions import ValidationErrorCODE
CRITICALawx/main/tests/functional/api/test_inventory.py6from django.core.exceptions import ValidationErrorCODE
CRITICALawx/main/tests/functional/api/test_workflow_node.py139 approval_node.workflow_job_template.organization.admin_role.members.add(alice)CODE
CRITICALawx/main/models/mixins.py13from django.core.exceptions import ValidationErrorCODE
CRITICALawx/main/models/jobs.py11from django.core.exceptions import ValidationErrorCODE
CRITICALawx/main/models/event_query.py1from django.core.exceptions import ValidationErrorCODE
CRITICALawx/main/models/projects.py17from django.core.exceptions import ValidationErrorCODE
CRITICALawx/main/models/ad_hoc_commands.py13from django.core.exceptions import ValidationErrorCODE
CRITICALawx/main/models/credential.py17from django.core.exceptions import ValidationErrorCODE
CRITICALawx/main/models/base.py6from django.core.exceptions import ValidationError, ObjectDoesNotExistCODE
CRITICALawx/main/models/inventory.py18from django.core.exceptions import ValidationErrorCODE
CRITICALawx/main/models/inventory.py1419 for instance_group in self.inventory_source.inventory.organization.instance_groups.all():CODE
CRITICALdocs/docsite/rst/rest_api/_swagger/swagger-ui.js1!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("prop-types")CODE
Deep Nesting295 hits · 258 pts
SeverityFileLineSnippetContext
LOWawxkit/awxkit/yaml_file.py20CODE
LOWawxkit/awxkit/awx/utils.py51CODE
LOWawxkit/awxkit/awx/utils.py73CODE
LOWawxkit/awxkit/utils/__init__.py303CODE
LOWawxkit/awxkit/utils/__init__.py53CODE
LOWawxkit/awxkit/utils/__init__.py84CODE
LOWawxkit/awxkit/cli/options.py162CODE
LOWawxkit/awxkit/cli/sphinx.py37CODE
LOWawxkit/awxkit/cli/client.py83CODE
LOWawxkit/awxkit/cli/client.py257CODE
LOWawxkit/awxkit/cli/resource.py144CODE
LOWawxkit/awxkit/cli/__init__.py19CODE
LOWawxkit/awxkit/api/registry.py118CODE
LOWawxkit/awxkit/api/client.py40CODE
LOWawxkit/awxkit/api/mixins/has_create.py52CODE
LOWawxkit/awxkit/api/mixins/has_create.py101CODE
LOWawxkit/awxkit/api/mixins/has_create.py222CODE
LOWawxkit/awxkit/api/mixins/has_create.py250CODE
LOWawxkit/awxkit/api/pages/unified_jobs.py105CODE
LOWawxkit/awxkit/api/pages/unified_jobs.py135CODE
LOWawxkit/awxkit/api/pages/credentials.py64CODE
LOWawxkit/awxkit/api/pages/credentials.py127CODE
LOWawxkit/awxkit/api/pages/credentials.py234CODE
LOWawxkit/awxkit/api/pages/page.py103CODE
LOWawxkit/awxkit/api/pages/page.py175CODE
LOWawxkit/awxkit/api/pages/api.py77CODE
LOWawxkit/awxkit/api/pages/api.py267CODE
LOWawxkit/awxkit/api/pages/api.py379CODE
LOWawxkit/awxkit/api/pages/notification_templates.py44CODE
LOWawxkit/awxkit/api/pages/projects.py50CODE
LOWawxkit/awxkit/api/pages/base.py58CODE
LOWtools/scripts/get_next_release.py36CODE
LOWtools/data_generators/rbac_dummy_data_generator.py203CODE
LOWawx/playbooks/library/indirect_instance_count.py173CODE
LOWawx/playbooks/action_plugins/project_archive.py22CODE
LOWawx/playbooks/action_plugins/insights.py71CODE
LOWawx/api/metadata.py35CODE
LOWawx/api/metadata.py188CODE
LOWawx/api/serializers.py279CODE
LOWawx/api/serializers.py344CODE
LOWawx/api/serializers.py424CODE
LOWawx/api/serializers.py486CODE
LOWawx/api/serializers.py630CODE
LOWawx/api/serializers.py778CODE
LOWawx/api/serializers.py870CODE
LOWawx/api/serializers.py916CODE
LOWawx/api/serializers.py992CODE
LOWawx/api/serializers.py1617CODE
LOWawx/api/serializers.py1860CODE
LOWawx/api/serializers.py2484CODE
LOWawx/api/serializers.py2717CODE
LOWawx/api/serializers.py4120CODE
LOWawx/api/serializers.py4676CODE
LOWawx/api/serializers.py4842CODE
LOWawx/api/serializers.py5031CODE
LOWawx/api/serializers.py5113CODE
LOWawx/api/serializers.py5133CODE
LOWawx/api/serializers.py5187CODE
LOWawx/api/serializers.py5386CODE
LOWawx/api/serializers.py5845CODE
235 more matches not shown…
Excessive Try-Catch Wrapping234 hits · 257 pts
SeverityFileLineSnippetContext
LOWawxkit/awxkit/awx/utils.py26 except Exception as e:CODE
LOWawxkit/awxkit/cli/options.py111 except Exception:CODE
LOWawxkit/awxkit/cli/options.py187 except Exception:CODE
LOWawxkit/awxkit/cli/options.py190 except Exception:CODE
LOWawxkit/awxkit/cli/client.py158 except Exception as e:CODE
LOWawxkit/awxkit/cli/__init__.py63 except Exception as e:CODE
LOWawxkit/awxkit/scripts/basic_session.py76 except Exception as e:CODE
LOWawxkit/awxkit/scripts/basic_session.py79 except Exception as e:CODE
LOWawxkit/awxkit/api/mixins/has_status.py92 except Exception as e:CODE
LOWawxkit/awxkit/api/pages/workflow_jobs.py36 except Exception as e:CODE
LOWtools/scripts/firehose.py115 except Exception as e:STRING
LOWtools/scripts/compilemessages.py61 except Exception:CODE
LOWawx/api/metadata.py151 except Exception:CODE
MEDIUMawx/api/serializers.py604def run_validation(self, data=fields.empty):CODE
MEDIUMawx/api/serializers.py3651def get_prompts(self, obj):CODE
LOWawx/api/serializers.py2142 except Exception as e:CODE
LOWawx/api/serializers.py2249 except Exception as e:CODE
LOWawx/api/serializers.py4498 except Exception:CODE
LOWawx/api/serializers.py5298 except Exception as exc:CODE
LOWawx/api/serializers.py5484 except Exception as e:CODE
LOWawx/api/serializers.py6215 except Exception:CODE
LOWawx/api/serializers.py6232 except Exception:CODE
LOWawx/api/serializers.py6247 except Exception:CODE
LOWawx/api/renderers.py83 except Exception:CODE
LOWawx/api/permissions.py126 except Exception as e:CODE
LOWawx/api/generics.py266 except Exception as e:CODE
LOWawx/api/schema.py99 except Exception:CODE
MEDIUMawx/api/views/__init__.py1933def list(self, *args, **kwargs):CODE
LOWawx/api/views/__init__.py1716 except Exception as exc:CODE
LOWawx/api/views/__init__.py1794 except Exception as exc:CODE
LOWawx/api/views/__init__.py1858 except Exception as exc:CODE
LOWawx/api/views/__init__.py1936 except Exception as e:CODE
LOWawx/api/views/analytics.py185 except Exception as e:CODE
LOWawx/api/views/analytics.py261 except Exception as e:CODE
MEDIUMawx/api/views/analytics.py152def _error_response_404(self, response):CODE
MEDIUMawx/api/views/analytics.py204def _send_to_analytics(self, request, method):CODE
LOWawx/api/views/webhooks.py98 except Exception:CODE
LOWawx/api/views/root.py236 except Exception as exc:CODE
LOWawx/api/views/root.py290 except Exception as exc:CODE
LOWawx/api/views/root.py383 except Exception:CODE
LOWawx/api/views/root.py395 except Exception:CODE
LOWawx/api/views/root.py401 except Exception:CODE
LOWawx/api/views/root.py408 except Exception:CODE
LOWawx/api/views/root.py431 except Exception:CODE
MEDIUMawx/api/views/root.py426def delete(self, request):CODE
LOWawx/main/fields.py88 except Exception as e:CODE
LOWawx/main/fields.py111 except Exception as e:CODE
LOWawx/main/fields.py337 except Exception as e:CODE
MEDIUMawx/main/fields.py334def format_url(value):CODE
LOWawx/main/consumers.py48 except Exception:CODE
LOWawx/main/consumers.py57 except Exception:CODE
LOWawx/main/consumers.py89 except Exception:CODE
MEDIUMawx/main/consumers.py42def verify_secret(cls, s, nonce_tolerance=300):CODE
MEDIUMawx/main/consumers.py86def connect(self):CODE
LOWawx/main/views.py35 except Exception:CODE
LOWawx/main/wsrelay.py102 except Exception as e:CODE
LOWawx/main/wsrelay.py213 except Exception:CODE
LOWawx/main/wsrelay.py270 except Exception as e:CODE
MEDIUMawx/main/wsrelay.py171def run_producer(self, name, websocket, group):CODE
LOWawx/main/tasks/signals.py58 except Exception as exc:CODE
174 more matches not shown…
Self-Referential Comments113 hits · 234 pts
SeverityFileLineSnippetContext
MEDIUMawxkit/awxkit/awx/inventory.py9 # Create an inventory scriptCOMMENT
MEDIUMawxkit/awxkit/cli/sphinx.py38 # This function is called by Sphinx when making the docs.COMMENT
MEDIUMtools/scripts/l18n/post_translation.sh6# Create a directory for api (locale)COMMENT
MEDIUMtools/scripts/l18n/post_translation.sh24# Create a directory for ui (locales)COMMENT
MEDIUMawx/settings/__init__.py21# Create a the standard DYNACONF instance which will come with DAB defaultsCOMMENT
MEDIUMawx/api/serializers.py654 # Create a new model instance or take the existing one if it exists,COMMENT
MEDIUMawx/api/serializers.py5077 # Create the node objectsCOMMENT
MEDIUMawx/api/generics.py704 # Create the sub object if an ID is not provided.COMMENT
MEDIUMawx/main/tasks/callback.py129 # This method is called once for *every event* emitted by AnsibleCOMMENT
MEDIUMawx/main/tasks/facts.py31 # Create the fact_cache directory inside artifacts_dirCOMMENT
MEDIUMawx/main/tasks/system.py428 """This method is intended to be called for every unified jobSTRING
MEDIUMawx/main/tasks/receptor.py448 # Create a socketpair. Where the left side will be used for writing our payloadCOMMENT
MEDIUMawx/main/tasks/jobs.py1110 # Create a directory for ControlPath sockets that is unique to each jobCOMMENT
MEDIUMawx/main/tests/unit/models/test_credential.py125 # Create an existing credential type with no descriptionCOMMENT
MEDIUMawx/main/tests/unit/api/test_schema.py35 # Create a mock model with verbose_name_pluralCOMMENT
MEDIUMawx/main/tests/unit/api/test_schema.py39 # Create a mock serializer with Meta.modelCOMMENT
MEDIUMawx/main/tests/unit/api/test_schema.py54 # Create a mock model with verbose_name_pluralCOMMENT
MEDIUMawx/main/tests/live/pytest.ini1# This file is needed to undo the pytest settings from the project rootCOMMENT
MEDIUMawx/main/tests/live/tests/conftest.py163 cmd = ['podman', 'build', '-f', '-'] # Create an image without a tagSTRING
MEDIUMawx/main/tests/live/tests/test_inventory_vars.py167 # Create the inventory source instance.COMMENT
MEDIUMawx/main/tests/functional/test_migrations.py200 # Create a CredentialType with the old, problematic 'namespace' valueCOMMENT
MEDIUMawx/main/tests/functional/test_jobs.py328 # Create a job with credentials using fixtureCOMMENT
MEDIUMawx/main/tests/functional/test_jobs.py356 # Create a job using fixtureCOMMENT
MEDIUMawx/main/tests/functional/test_jobs.py482 # Create a workload identity credential typeCOMMENT
MEDIUMawx/main/tests/functional/test_jobs.py506 # Create a job using fixtureCOMMENT
MEDIUMawx/main/tests/functional/test_jobs.py591 # Create a workload identity credential typeCOMMENT
MEDIUMawx/main/tests/functional/test_jobs.py615 # Create a job using fixtureCOMMENT
MEDIUMawx/main/tests/functional/test_jobs.py687 # Create a job using fixtureCOMMENT
MEDIUMawx/main/tests/functional/test_jobs.py735 # Create a job using fixtureCOMMENT
MEDIUMawx/main/tests/functional/test_policy.py607 # Create a job for testingCOMMENT
MEDIUM…/main/tests/functional/rbac/test_rbac_job_templates.py179 # Creating a JT should place the creator in the admin roleCOMMENT
MEDIUMawx/main/tests/functional/tasks/test_host_indirect.py340 # Create the expected job eventsCOMMENT
MEDIUM…ts/functional/task_management/test_container_groups.py54 # Create a second job that should not be scheduled at first, blocked by the otherCOMMENT
MEDIUM…ts/functional/task_management/test_container_groups.py75 # Create a second job that should not be scheduledCOMMENT
MEDIUMawx/main/tests/functional/models/test_job.py75 # Create an inventory with 4 nodesCOMMENT
MEDIUM…in/tests/functional/dab_rbac/test_consolidate_teams.py103 # Create a user and team with direct assignmentCOMMENT
MEDIUM…in/tests/functional/dab_rbac/test_consolidate_teams.py128 # Create a user assigned to team ACOMMENT
MEDIUM…in/tests/functional/dab_rbac/test_notification_rbac.py193 # Create a notification template as adminCOMMENT
MEDIUMawx/main/tests/functional/api/test_job.py222 # Create a job templateCOMMENT
MEDIUMawx/main/tests/functional/api/test_job.py228 # Create a job instanceCOMMENT
MEDIUM…/tests/functional/api/test_credential_input_sources.py333 # Create an input sourceCOMMENT
MEDIUM…/tests/functional/api/test_credential_input_sources.py359 # Create an input sourceCOMMENT
MEDIUMawx/main/tests/functional/api/test_credential_type.py487 # Create a credential type with empty dictCOMMENT
MEDIUMawx/main/tests/functional/api/test_credential_type.py507 # Create a credential type with invalid inputs typeCOMMENT
MEDIUMawx/main/tests/functional/analytics/test_core.py66 # Create a temporary file and yield its pathCOMMENT
MEDIUMawx/main/management/commands/create_preload_data.py27 # Create a default organization as the first superuser found.COMMENT
MEDIUM…nt/commands/register_default_execution_environments.py131 # Create the control plane execution environment that is used for project updates and system jobsSTRING
MEDIUMawx/main/scheduler/kubernetes.py113 # Create an image pull secret in namespaceCOMMENT
MEDIUMawx/main/models/events.py409 # This function is called by the callback receiver *once* for *everyCOMMENT
MEDIUMawx/main/models/events.py726 # This function is called by the callback receiver *once* for *everyCOMMENT
MEDIUMawx/main/models/jobs.py806 # This function handles only the defaults for a template w/o user specificationCOMMENT
MEDIUMawx/conf/conf.py9# Define a conf.py file within your app and register each setting similarly toCOMMENT
MEDIUMawx_collection/test/awx/test_inventory.py12 # Create an insights credentialCOMMENT
MEDIUMawx_collection/test/awx/test_instance_group.py28 # Create a new instance in the DBCOMMENT
MEDIUMawx_collection/plugins/module_utils/controller_api.py333 # This method is intended to be overriddenCOMMENT
MEDIUMawx_collection/plugins/modules/instance_group.py113 # Create a module for ourselvesSTRING
MEDIUMawx_collection/plugins/modules/instance_group.py147 # Create the data that gets sent for create and updateSTRING
MEDIUMawx_collection/plugins/modules/inventory_source.py214 # Create a module for ourselvesSTRING
MEDIUMawx_collection/plugins/modules/inventory_source.py275 # Create the data that gets sent for create and updateSTRING
MEDIUMawx_collection/plugins/modules/job_template.py450 # Create a module for ourselvesSTRING
53 more matches not shown…
Decorative Section Separators55 hits · 195 pts
SeverityFileLineSnippetContext
MEDIUMawxkit/test/cli/test_authentication.py16# ============================================================================COMMENT
MEDIUMawxkit/test/cli/test_authentication.py18# ============================================================================COMMENT
MEDIUMawx/settings/defaults.py573# ----------------COMMENT
MEDIUMawx/settings/defaults.py575# ----------------COMMENT
MEDIUMawx/settings/defaults.py581# ------------COMMENT
MEDIUMawx/settings/defaults.py583# ------------COMMENT
MEDIUMawx/settings/defaults.py591# -----------------COMMENT
MEDIUMawx/settings/defaults.py593# -----------------COMMENT
MEDIUMawx/settings/defaults.py597# ---------------------------COMMENT
MEDIUMawx/settings/defaults.py599# ---------------------------COMMENT
MEDIUMawx/settings/defaults.py605# --------------------------------------COMMENT
MEDIUMawx/settings/defaults.py607# --------------------------------------COMMENT
MEDIUMawx/settings/defaults.py613# ---------------------COMMENT
MEDIUMawx/settings/defaults.py615# ---------------------COMMENT
MEDIUMawx/settings/defaults.py621# ---------------------COMMENT
MEDIUMawx/settings/defaults.py623# ---------------------COMMENT
MEDIUMawx/settings/defaults.py629# ---------------------COMMENT
MEDIUMawx/settings/defaults.py631# ---------------------COMMENT
MEDIUMawx/settings/defaults.py637# ---------------------COMMENT
MEDIUMawx/settings/defaults.py639# ---------------------COMMENT
MEDIUMawx/settings/defaults.py646# ----------------COMMENT
MEDIUMawx/settings/defaults.py648# ----------------COMMENT
MEDIUMawx/settings/defaults.py654# ----------------COMMENT
MEDIUMawx/settings/defaults.py656# ----------------COMMENT
MEDIUMawx/settings/defaults.py662# ------------------------COMMENT
MEDIUMawx/settings/defaults.py664# ------------------------COMMENT
MEDIUMawx/settings/defaults.py667# ---------------------COMMENT
MEDIUMawx/settings/defaults.py669# ---------------------COMMENT
MEDIUMawx/settings/defaults.py675# ---------------------COMMENT
MEDIUMawx/settings/defaults.py677# ---------------------COMMENT
MEDIUMawx/settings/defaults.py683# ----------------COMMENT
MEDIUMawx/settings/defaults.py685# ----------------COMMENT
MEDIUMawx/settings/defaults.py690# ---------------------COMMENT
MEDIUMawx/settings/defaults.py692# ---------------------COMMENT
MEDIUM…tional/dab_rbac/test_filtered_queryset_optimization.py13# ---------------------------------------------------------------------------COMMENT
MEDIUM…tional/dab_rbac/test_filtered_queryset_optimization.py15# ---------------------------------------------------------------------------COMMENT
MEDIUMawx/main/management/commands/candlepin_cert.py123 # ------------------------------------------------------------------COMMENT
MEDIUMawx/main/management/commands/candlepin_cert.py125 # ------------------------------------------------------------------COMMENT
MEDIUMawx/main/management/commands/candlepin_cert.py224 # ------------------------------------------------------------------COMMENT
MEDIUMawx/main/management/commands/candlepin_cert.py226 # ------------------------------------------------------------------COMMENT
MEDIUMawx/main/utils/candlepin/client.py99 # ------------------------------------------------------------------COMMENT
MEDIUMawx/main/utils/candlepin/client.py101 # ------------------------------------------------------------------COMMENT
MEDIUMawx/main/utils/candlepin/lifecycle.py22# ---------------------------------------------------------------------------COMMENT
MEDIUMawx/main/utils/candlepin/lifecycle.py24# ---------------------------------------------------------------------------COMMENT
MEDIUMawx/main/utils/candlepin/lifecycle.py92# ---------------------------------------------------------------------------COMMENT
MEDIUMawx/main/utils/candlepin/lifecycle.py94# ---------------------------------------------------------------------------COMMENT
MEDIUMawx/main/models/rbac.py254 # =================================================COMMENT
MEDIUMawx/main/models/rbac.py267 # =================================================COMMENT
MEDIUMawx/main/models/rbac.py301 # =============COMMENT
MEDIUMawx_collection/test/awx/test_completeness.py13# -----------------------------------------------------------------------------------------------------------COMMENT
MEDIUMawx_collection/test/awx/test_completeness.py100# -----------------------------------------------------------------------------------------------------------COMMENT
MEDIUMawx_collection/plugins/module_utils/controller_api.py702 # ----------------------------------------------------------------COMMENT
MEDIUMawx_collection/plugins/module_utils/controller_api.py705 # ----------------------------------------------------------------COMMENT
MEDIUMawx_collection/plugins/module_utils/controller_api.py609 # ----------------------------------------------------------------COMMENT
MEDIUMawx_collection/plugins/module_utils/controller_api.py612 # ----------------------------------------------------------------COMMENT
Modern Structural Boilerplate100 hits · 101 pts
SeverityFileLineSnippetContext
LOWawxkit/awxkit/utils/toposort.py38__all__ = ['toposort', 'CircularDependencyError']CODE
LOWawxkit/awxkit/cli/utils.py12__all__ = ['CustomRegistryMeta', 'HelpfulArgumentParser', 'disable_color', 'color_enabled', 'colored', 'cprint', 'STATUSCODE
LOWtools/scripts/list_fields.py1__all__ = ['pretty_print_model_fields']CODE
LOWawx/__init__.py42__all__ = ['__version__']CODE
LOWawx/api/metrics.py10__all__ = ['urls']CODE
LOWawx/api/fields.py14__all__ = ['BooleanNullField', 'CharNullField', 'ChoiceNullField', 'VerbatimField']CODE
LOWawx/api/permissions.py18__all__ = [CODE
LOWawx/api/generics.py56__all__ = [CODE
LOWawx/api/urls/workflow_job_node.py28__all__ = ['urls']CODE
LOWawx/api/urls/instance_group.py24__all__ = ['urls']CODE
LOWawx/api/urls/inventory_source.py48__all__ = ['urls']CODE
LOWawx/api/urls/job_template.py59__all__ = ['urls']CODE
LOWawx/api/urls/instance.py28__all__ = ['urls']CODE
LOWawx/api/urls/user.py32__all__ = ['urls']CODE
LOWawx/api/urls/workflow_job.py28__all__ = ['urls']CODE
LOWawx/api/urls/job_host_summary.py10__all__ = ['urls']CODE
LOWawx/api/urls/system_job.py16__all__ = ['urls']CODE
LOWawx/api/urls/organization.py70__all__ = ['urls']CODE
LOWawx/api/urls/project_update.py26__all__ = ['urls']CODE
LOWawx/api/urls/host.py36__all__ = ['urls']CODE
LOWawx/api/urls/notification.py13__all__ = ['urls']CODE
LOWawx/api/urls/job.py38__all__ = ['urls']CODE
LOWawx/api/urls/ad_hoc_command_event.py12__all__ = ['urls']CODE
LOWawx/api/urls/activity_stream.py13__all__ = ['urls']CODE
LOWawx/api/urls/receptor_address.py16__all__ = ['urls']CODE
LOWawx/api/urls/workflow_job_template_node.py30__all__ = ['urls']CODE
LOWawx/api/urls/__init__.py7__all__ = ['urlpatterns', 'app_name']CODE
LOWawx/api/urls/credential_input_source.py13__all__ = ['urls']CODE
LOWawx/api/urls/role.py15__all__ = ['urls']CODE
LOWawx/api/urls/team.py30__all__ = ['urls']CODE
LOWawx/api/urls/credential_type.py16__all__ = ['urls']CODE
LOWawx/api/urls/execution_environments.py19__all__ = ['urls']CODE
LOWawx/api/urls/debug.py17__all__ = ['urls']CODE
LOWawx/api/urls/system_job_template.py40__all__ = ['urls']CODE
LOWawx/api/urls/workflow_approval.py15__all__ = ['urls']CODE
LOWawx/api/urls/workflow_approval_template.py13__all__ = ['urls']CODE
LOWawx/api/urls/label.py10__all__ = ['urls']CODE
LOWawx/api/urls/workflow_job_template.py61__all__ = ['urls']CODE
LOWawx/api/urls/group.py36__all__ = ['urls']CODE
LOWawx/api/urls/host_metric.py10__all__ = ['urls']CODE
LOWawx/api/urls/notification_template.py22__all__ = ['urls']CODE
LOWawx/api/urls/analytics.py30__all__ = ['urls']CODE
LOWawx/api/urls/schedule.py17__all__ = ['urls']CODE
LOWawx/api/urls/job_event.py13__all__ = ['urls']CODE
LOWawx/api/urls/credential.py32__all__ = ['urls']CODE
LOWawx/api/urls/inventory_update.py28__all__ = ['urls']CODE
LOWawx/api/urls/ad_hoc_command.py28__all__ = ['urls']CODE
LOWawx/api/urls/project.py54__all__ = ['urls']CODE
LOWawx/api/urls/inventory.py60__all__ = ['urls', 'constructed_inventory_urls']CODE
LOWawx/main/queue.py14__all__ = ['CallbackQueueDispatcher']CODE
LOWawx/main/signals.py62__all__ = []CODE
LOWawx/main/fields.py43__all__ = [CODE
LOWawx/main/constants.py8__all__ = [CODE
LOWawx/main/access.py78__all__ = [CODE
LOWawx/main/tasks/signals.py8__all__ = ['with_signal_handling', 'signal_callback']CODE
LOWawx/main/tasks/host_indirect.py21logger = logging.getLogger(__name__)CODE
LOWawx/main/tests/factories/__init__.py15__all__ = [CODE
LOWawx/main/tests/live/tests/conftest.py24logger = logging.getLogger(__name__)CODE
LOWawx/main/tests/live/tests/test_concurrent_fact_cache.py25logger = logging.getLogger(__name__)CODE
LOWawx/main/tests/data/sleep_task.py12logger = logging.getLogger(__name__)CODE
40 more matches not shown…
Over-Commented Block85 hits · 76 pts
SeverityFileLineSnippetContext
LOWawxkit/awxkit/utils/toposort.py1#######################################################################COMMENT
LOWawxkit/awxkit/utils/toposort.py21# Added unittests.COMMENT
LOWawxkit/awxkit/cli/docs/source/conf.py1# Configuration file for the Sphinx documentation builder.COMMENT
LOWtools/loki/local-config.yaml81query_range:COMMENT
LOWtools/scripts/firehose.py1#! /usr/bin/env awx-pythonCOMMENT
LOWawx/devonly.py1# Copyright (c) 2015 Ansible, Inc.COMMENT
LOWawx/ui/__init__.py1# Copyright (c) 2015 Ansible, Inc.COMMENT
LOWawx/settings/defaults.py61COMMENT
LOWawx/settings/defaults.py161# REMOTE_HOST_HEADERS header valuesCOMMENT
LOWawx/settings/defaults.py181# The awx-manage register_default_execution_environments command reads this setting and registers the EE(s)COMMENT
LOWawx/settings/defaults.py641SATELLITE6_ENABLED_VALUE = 'True'COMMENT
LOWawx/settings/defaults.py661COMMENT
LOWawx/settings/defaults.py841if logging_mode == 'file':COMMENT
LOWawx/settings/defaults.py981CLEANUP_HOST_METRICS_SOFT_THRESHOLD = 12 # monthsCOMMENT
LOWawx/playbooks/project_update.yml1---COMMENT
LOWawx/api/models.py1# Copyright (c) 2015 Ansible, Inc.COMMENT
LOWawx/api/serializers.py661 try:COMMENT
LOWawx/api/__init__.py1# Copyright (c) 2015 Ansible, Inc.COMMENT
LOWawx/api/generics.py221 Log warning for 400 requests. Add header with elapsed time.COMMENT
LOWawx/api/generics.py301COMMENT
LOWawx/api/generics.py321 #COMMENT
LOWawx/api/generics.py541 args = (self.parent_model, parent_access, parent, None)COMMENT
LOWawx/main/access.py2481 'unified_job_node__workflow_job',COMMENT
LOWawx/main/__init__.py1# Copyright (c) 2015 Ansible, Inc.COMMENT
LOWawx/main/middleware.py121 # if the name does *not* resolve to any actual resource,COMMENT
LOWawx/main/tasks/callback.py121 self.extra_update_fields['emitted_events'] = self.event_ctCOMMENT
LOWawx/main/tasks/receptor.py461 transmitter_future = executor.submit(self.transmit, sockin)COMMENT
LOWawx/main/tests/__init__.py1# Copyright (c) 2015 Ansible, Inc.COMMENT
LOW…s/functional/task_management/test_cancel_dependency.py1# Generated by Claude Opus 4.6 (claude-opus-4-6)COMMENT
LOWawx/main/management/__init__.py1# Copyright (c) 2015 Ansible, Inc.COMMENT
LOWawx/main/management/commands/__init__.py1# Copyright (c) 2015 Ansible, Inc.COMMENT
LOWawx/main/management/commands/run_wsrelay.py101 connection.close() # Because of async nature, main loop will use new connection, so close thisCOMMENT
LOWawx/main/utils/encryption.py61 return encrypt_field(TransientField(pk=pk, value=value), 'value', secret_key=secret_key)COMMENT
LOWawx/main/utils/encryption.py81 # $ setup.sh -kCOMMENT
LOWawx/main/utils/handlers.py41 # for any number of reasons, rsyslogd has gone to lunch;COMMENT
LOWawx/main/models/unified_jobs.py1161 return codecs.open(fd.name, 'r', encoding='utf-8')COMMENT
LOWawx/main/models/events.py141 # - playbook_on_not_import_for_host (not logged, not used for v2)COMMENT
LOWawx/main/models/events.py401 setattr(self, field, value)COMMENT
LOWawx/main/models/events.py721COMMENT
LOWawx/main/models/rbac.py261 # storing entries for each descendent relationship, we also store anCOMMENT
LOWawx/main/models/rbac.py281 #COMMENT
LOWawx/main/models/rbac.py301 # =============COMMENT
LOWawx/main/models/schedules.py201 # it requires them to perform DTSTART local -> UTC datetime coercion onCOMMENT
LOWawx/main/db/profiled_pg/base.py121COMMENT
LOWawx/conf/settings.py41# Cannot store None in cache; use a special value instead to indicate None.COMMENT
LOWawx/conf/settings.py261 self.__dict__['_awx_conf_memoizedcache_lock'] = threading.Lock()COMMENT
LOWrequirements/requirements.txt1adal==1.2.7COMMENT
LOWrequirements/requirements.txt21 # via -r /awx_devel/requirements/requirements.inCOMMENT
LOWrequirements/requirements.txt41autobahn==24.4.2COMMENT
LOWrequirements/requirements.txt61 # via -r /awx_devel/requirements/requirements.inCOMMENT
LOWrequirements/requirements.txt81cachetools==6.2.0COMMENT
LOWrequirements/requirements.txt101 # via requestsCOMMENT
LOWrequirements/requirements.txt121 # via -r /awx_devel/requirements/requirements.inCOMMENT
LOWrequirements/requirements.txt141 # via -r /awx_devel/requirements/requirements_git.txtCOMMENT
LOWrequirements/requirements.txt161 # viaCOMMENT
LOWrequirements/requirements.txt181 # aiohttpCOMMENT
LOWrequirements/requirements.txt201idna==3.10COMMENT
LOWrequirements/requirements.txt221 # azure-keyvault-keysCOMMENT
LOWrequirements/requirements.txt241jinja2==3.1.6COMMENT
LOWrequirements/requirements.txt261lockfile==0.12.2COMMENT
25 more matches not shown…
Cross-File Repetition11 hits · 55 pts
SeverityFileLineSnippetContext
HIGH…ts/data/projects/host_query/plugins/modules/example.py0--- module: example short_description: module for specific live tests version_added: "2.0.0" description: this module isSTRING
HIGH…/host_query_external_v3_0_0/plugins/modules/example.py0--- module: example short_description: module for specific live tests version_added: "2.0.0" description: this module isSTRING
HIGH…/host_query_external_v1_0_0/plugins/modules/example.py0--- module: example short_description: module for specific live tests version_added: "2.0.0" description: this module isSTRING
HIGH…/host_query_external_v1_5_0/plugins/modules/example.py0--- module: example short_description: module for specific live tests version_added: "2.0.0" description: this module isSTRING
HIGH…ts/data/projects/host_query/plugins/modules/example.py0direct_host_name: description: the name of the host, this will be collected with the feature. type: str returned: alwaysSTRING
HIGH…/host_query_external_v3_0_0/plugins/modules/example.py0direct_host_name: description: the name of the host, this will be collected with the feature. type: str returned: alwaysSTRING
HIGH…/host_query_external_v1_0_0/plugins/modules/example.py0direct_host_name: description: the name of the host, this will be collected with the feature. type: str returned: alwaysSTRING
HIGH…/host_query_external_v1_5_0/plugins/modules/example.py0direct_host_name: description: the name of the host, this will be collected with the feature. type: str returned: alwaysSTRING
HIGH…/host_query_external_v3_0_0/plugins/modules/example.py0- name: test with defaults demo.external.example: - name: test with custom host name demo.external.example: host_name: fSTRING
HIGH…/host_query_external_v1_0_0/plugins/modules/example.py0- name: test with defaults demo.external.example: - name: test with custom host name demo.external.example: host_name: fSTRING
HIGH…/host_query_external_v1_5_0/plugins/modules/example.py0- name: test with defaults demo.external.example: - name: test with custom host name demo.external.example: host_name: fSTRING
Synthetic Comment Markers13 hits · 42 pts
SeverityFileLineSnippetContext
HIGHawx/main/tests/live/tests/test_concurrent_fact_cache.py12Generated by Claude Opus 4.6 (claude-opus-4-6).STRING
HIGHawx/main/tests/live/tests/test_concurrent_fact_cache.py70 Generated by Claude Opus 4.6 (claude-opus-4-6).STRING
HIGHawx/main/tests/live/tests/test_concurrent_fact_cache.py135 Generated by Claude Opus 4.6 (claude-opus-4-6).STRING
HIGHawx/main/tests/live/tests/test_concurrent_fact_cache.py216 Generated by Claude Opus 4.6 (claude-opus-4-6).STRING
HIGHawx/main/tests/live/tests/test_concurrent_fact_cache.py266 Generated by Claude Opus 4.6 (claude-opus-4-6).STRING
HIGHawx/main/tests/data/projects/facts/gather_slow.yml2# Generated by Claude Opus 4.6 (claude-opus-4-6).COMMENT
HIGHawx/main/tests/functional/tasks/test_fact_cache.py8Generated by Claude Opus 4.6 (claude-opus-4-6).STRING
HIGHawx/main/tests/functional/tasks/test_fact_cache.py38 Generated by Claude Opus 4.6 (claude-opus-4-6).STRING
HIGHawx/main/tests/functional/tasks/test_fact_cache.py79 Generated by Claude Opus 4.6 (claude-opus-4-6).STRING
HIGHawx/main/tests/functional/tasks/test_fact_cache.py113 Generated by Claude Opus 4.6 (claude-opus-4-6).STRING
HIGHawx/main/tests/functional/tasks/test_fact_cache.py149 Generated by Claude Opus 4.6 (claude-opus-4-6).STRING
HIGHawx/main/tests/functional/tasks/test_fact_cache.py184 Generated by Claude Opus 4.6 (claude-opus-4-6).STRING
HIGH…s/functional/task_management/test_cancel_dependency.py1# Generated by Claude Opus 4.6 (claude-opus-4-6)COMMENT
Redundant / Tautological Comments21 hits · 28 pts
SeverityFileLineSnippetContext
LOWawxkit/awxkit/cli/client.py139 # Check if Basic auth is forced via environment variableCOMMENT
LOWawxkit/awxkit/cli/client.py277 # Check if this is resource-level help (no action specified)COMMENT
LOWawxkit/awxkit/api/pages/users.py35 # Check if API base path is set to controller, then use gateway endpointCOMMENT
LOWtools/data_generators/rbac_dummy_data_generator.py702 # Check if job already has events, for idempotenceCOMMENT
LOWawx/api/serializers.py1072 # Check if a password is too longCOMMENT
LOWawx/api/permissions.py108 # Check if view supports the request method before checking permissionCOMMENT
LOWawx/main/access.py1710 # Check if JT execute access (and related prompts) is sufficientCOMMENT
LOWawx/main/access.py2162 # Check if access to prompts to prevent relaunchCOMMENT
LOWawx/main/tasks/jobs.py341 # Verify if a mount path and SELinux context has been passedCOMMENT
LOW…in/tests/functional/dab_rbac/test_consolidate_teams.py42 # Assign users to teamsCOMMENT
LOWawx/main/management/commands/candlepin_cert.py259 # Check if renewal is needed (without force, just check cert expiry locally)COMMENT
LOWawx/main/management/commands/inventory_import.py1044 # Check if the license is valid.COMMENT
LOWawx/main/scheduler/kubernetes.py68 # Check if secret already existsCOMMENT
LOWawx/main/utils/candlepin/__init__.py43 # Check if we have valid dataCOMMENT
LOWawx/main/analytics/collectors.py83 # Check if full sync should be doneCOMMENT
LOW.github/workflows/spec-sync-on-merge.yml92 # Check if spec file exists in spec repoCOMMENT
LOW.github/workflows/sonarcloud_pr.yml144 # Check if coverage.xml exists and has contentCOMMENT
LOWawx_collection/plugins/modules/workflow_launch.py184 # Check if Either ask_variables_on_launch, or survey_enabled is enabled for use of extra vars.STRING
LOWawx_collection/plugins/modules/job_launch.py305 # Check if Either ask_variables_on_launch, or survey_enabled is enabled for use of extra vars.STRING
LOWawx_collection/plugins/modules/license.py104 # Check if Tower is already licensedSTRING
LOWawx_collection/plugins/modules/project.py241 # Set Changed to correct value depending on if hash changed Also output refspec comparisionSTRING
AI Slop Vocabulary16 hits · 26 pts
SeverityFileLineSnippetContext
MEDIUMtools/sosreport/controller.py12 "awx-manage dispatcherctl status", # controller dispatch comprehensive statusCODE
LOWawx/playbooks/library/indirect_instance_count.py39# this plugin, just set ANSIBLE_LOG_PATH as an environment variableSTRING
MEDIUMawx/api/serializers.py552 # Note: This logic works in conjunction withCOMMENT
LOWawx/api/views/analytics.py232 # subscriptions credentials are not valid for basic auth, so just return 401COMMENT
MEDIUMawx/main/tasks/system.py435 # a refresh now is formally robustSTRING
LOWawx/main/dispatch/worker/callback.py302 # just use them to report `summary` websocket events as anCOMMENT
MEDIUMawx/main/tests/functional/models/test_job.py21 # Representation should be robust to deleted related itemsCOMMENT
MEDIUM…main/tests/functional/models/test_job_launch_config.py65 assert set(JobTemplate.get_ask_mapping().keys()) - set(r.keys()) == set() # make fixture comprehensiveCODE
LOWawx/main/tests/functional/api/test_generic.py29 # should just pass throughCOMMENT
LOWawx/main/models/rbac.py278 # in what order, we simply use the termination condition of stoppingCOMMENT
LOWawx/main/models/rbac.py788 # anyways so just returnSTRING
MEDIUMawx/main/analytics/broadcast_websocket.py119 # TODO: More robust replacementCOMMENT
LOWawx_collection/plugins/module_utils/controller_api.py484 # If we get a value error, then we didn't have an integer so we can just pass and fall down to the fCOMMENT
LOWawx_collection/plugins/modules/settings.py68 # If our value is already None we can just return directlySTRING
LOWawx_collection/plugins/modules/settings.py151 # If we were using a name we will just add a value of a string, otherwise we will return an array in valuesSTRING
LOWawx_collection/plugins/modules/credential.py305 # NOTE: We can't just add these on a modification because they are never returned from a GET so it would always causSTRING
Docstring Block Structure5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHtools/scripts/pk_to_named_url.py105Main function for generating and printing named URL of a resource object given its pk. Args: username: StriSTRING
HIGHawx/api/views/__init__.py1651Validate job template ID and return the JobTemplate instance. Args: job_template_id: The job templaSTRING
HIGHawx/api/views/__init__.py1673 Handle OIDC workload identity token generation for external credential test endpoints. This method shoSTRING
HIGHawx/main/utils/candlepin/client.py104POST /consumers?owner={org} — register a new AAP consumer with basic auth. Uses the customer's Red Hat subscripSTRING
HIGHawx/main/utils/candlepin/lifecycle.py98Perform check-in and, if needed, proactive cert renewal. Called once per gather run. Returns ``(cert_pem, key_pem)`STRING
Cross-Language Confusion4 hits · 22 pts
SeverityFileLineSnippetContext
HIGHawxkit/test/test_utils.py46 ["{'null': null}", {"null": None}],CODE
HIGHawx/api/serializers.py1346 # prevent changing organization of ee. Unsetting (change to null) is allowedCOMMENT
HIGH…/serializers/test_notification_template_serializers.py53 {'started': {'message': '{{ undefined }}'}},CODE
HIGH…/serializers/test_notification_template_serializers.py54 {'started': {'message': '{{ job.undefined }}'}},CODE
AI Structural Patterns18 hits · 16 pts
SeverityFileLineSnippetContext
LOWawxkit/awxkit/ws.py52CODE
LOWawxkit/awxkit/cli/custom.py144CODE
LOWawxkit/awxkit/cli/custom.py164CODE
LOWawxkit/awxkit/api/pages/execution_environments.py26CODE
LOWtools/scripts/pk_to_named_url.py33CODE
LOWawx/api/serializers.py1517CODE
LOWawx/api/serializers.py3286CODE
LOWawx/api/serializers.py3554CODE
LOWawx/api/serializers.py3740CODE
LOWawx/api/views/analytics.py202CODE
LOWawx/main/consumers.py166CODE
LOWawx/main/tasks/policy.py24CODE
LOWawx/main/tests/factories/fixtures.py151CODE
LOWawx/main/tests/factories/fixtures.py164CODE
LOWawx/main/tests/functional/models/test_events.py188CODE
LOWawx/main/utils/plugins.py87CODE
LOWawx/conf/settings.py154CODE
LOWawx_collection/test/awx/conftest.py255CODE
Verbosity Indicators5 hits · 10 pts
SeverityFileLineSnippetContext
LOWawx/main/tests/live/tests/test_inventory_vars.py158 # exist. If this behaviour changes, uncomment the following code blockCOMMENT
LOWawx/main/utils/candlepin/lifecycle.py121 # Step 1: Inspect cert metadata for diagnostics and renewal decision.COMMENT
LOWawx/main/utils/candlepin/lifecycle.py130 # Step 2: Check-in (best-effort, never raises).COMMENT
LOWawx/main/utils/candlepin/lifecycle.py139 # Step 3: Compare local cert serial with server's serial.COMMENT
LOWawx/main/utils/candlepin/lifecycle.py179 # Step 4: Proactive renewal if within the renewal window (or already expired).COMMENT
Structural Annotation Overuse4 hits · 8 pts
SeverityFileLineSnippetContext
LOWawx/main/utils/candlepin/lifecycle.py121 # Step 1: Inspect cert metadata for diagnostics and renewal decision.COMMENT
LOWawx/main/utils/candlepin/lifecycle.py130 # Step 2: Check-in (best-effort, never raises).COMMENT
LOWawx/main/utils/candlepin/lifecycle.py139 # Step 3: Compare local cert serial with server's serial.COMMENT
LOWawx/main/utils/candlepin/lifecycle.py179 # Step 4: Proactive renewal if within the renewal window (or already expired).COMMENT
Fake / Example Data8 hits · 8 pts
SeverityFileLineSnippetContext
LOWawx/api/metadata.py61 placeholder = getattr(field, 'placeholder', serializers.empty)CODE
LOWawx/api/metadata.py63 field_info['placeholder'] = placeholderCODE
LOWawx/api/metadata.py226 attrs_to_remove = ('required', 'read_only', 'default', 'min_length', 'max_length', 'placeholder')CODE
LOW…in/tests/functional/api/test_notification_templates.py26 'username': 'user@example.com',CODE
LOW…in/tests/functional/api/test_notification_templates.py49 'username': 'user@example.com',CODE
LOW…in/tests/functional/api/test_notification_templates.py79 'username': 'user@example.com',CODE
LOWawx/conf/registry.py127 placeholder = field_kwargs.pop('placeholder', empty)CODE
LOWdocs/docsite/rst/rest_api/_swagger/swagger-ui.js1!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("prop-types")CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHawx/main/tests/functional/api/test_workflow_node.py403 # okay, now I will add the new oneCOMMENT
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMawxkit/awxkit/api/pages/projects.py54 credential = None # ignore incompatible credential from HasCreate dependency injectionCODE
MEDIUMawx/main/utils/candlepin/lifecycle.py93# Lifecycle orchestrationCOMMENT
Slop Phrases3 hits · 5 pts
SeverityFileLineSnippetContext
LOWtools/scripts/firehose.py20# Also, a billion events is a *lot* of data; make sure you'veCOMMENT
MEDIUMawx/main/db/profiled_pg/base.py135 # it's worth noting that this property is wrapped w/ @memoize becauseCOMMENT
LOWawx_collection/plugins/modules/inventory.py215 # We need to perform a check to make sure you are not trying to convert a regular inventory into a smart one.STRING
TODO Padding1 hit · 1 pts
SeverityFileLineSnippetContext
LOWawx/api/serializers.py3484 job_events=self.reverse('api:job_job_events_list', kwargs={'pk': obj.pk}), # TODO: consider adding job_CODE