Repository Analysis

emissary-ingress/emissary

open source Kubernetes-native API gateway for microservices built on the Envoy Proxy

5.6 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of emissary-ingress/emissary, a Python project with 4,518 GitHub stars. SynthScan v2.0 examined 177,584 lines of code across 789 source files, recording 845 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 5.6 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

5.6
Adjusted Score
5.6
Raw Score
100%
Time Factor
2026-08-09
Last Push
4.5K
Stars
Python
Language
177.6K
Lines of Code
789
Files
845
Pattern Hits
2026-08-09
Scan Date
0.03
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

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

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 2HIGH 24MEDIUM 47LOW 772

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 845 distinct pattern matches across 20 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.

Over-Commented Block372 hits · 348 pts
SeverityFileLineSnippetContext
LOWmake-gorel.py1#!/usr/bin/env python3COMMENT
LOW.golangci.yml41 - linters: [depguard]COMMENT
LOW.golangci.yml61# * flag.PrintDefaults()COMMENT
LOW.golangci.yml81# * flag.DurationVar()COMMENT
LOW.golangci.yml101# - errcheckCOMMENT
LOW.golangci.yml121# - errors # use "github.com/pkg/errors"COMMENT
LOWcmd/entrypoint/env.go261COMMENT
LOWcmd/entrypoint/entrypoint.go21 "github.com/emissary-ingress/emissary/v3/pkg/busy"COMMENT
LOWcmd/entrypoint/entrypoint.go41// Kubernetes WatchesCOMMENT
LOWcmd/entrypoint/entrypoint.go61// envoyCOMMENT
LOWcmd/entrypoint/fswatcher.go21// The core of an FSWatcher is fsnotify/fsnotify, but we wrap someCOMMENT
LOWcmd/entrypoint/interesting_types.go61 endpointFs += fmt.Sprintf(",%s", fs)COMMENT
LOWcmd/entrypoint/testutil_fake_test.go21 "github.com/emissary-ingress/emissary/v3/pkg/ambex"COMMENT
LOWcmd/entrypoint/testutil_fake_test.go41// all the way through a real kubernetes API server and/or a real consul deployment. This is notCOMMENT
LOWcmd/entrypoint/istiocert.go41 // channel to hear about new Istio stuff.COMMENT
LOWcmd/entrypoint/istiocert.go201COMMENT
LOWcmd/entrypoint/istiocert.go281COMMENT
LOWcmd/entrypoint/testutil_fake_hello_test.go21COMMENT
LOWcmd/entrypoint/testutil_fake_hello_test.go41// be skipped.COMMENT
LOWcmd/entrypoint/testutil_fake_hello_test.go61 // doing a `kubectl apply` to a real kubernetes API server, however apply uses fancy mergeCOMMENT
LOWcmd/entrypoint/testutil_fake_hello_test.go121// of secrets to be different.COMMENT
LOWcmd/entrypoint/testutil_fake_hello_test.go341// This test will cover how to exercise the consul portion of the control plane. In principal it isCOMMENT
LOWcmd/entrypoint/testutil_fake_hello_test.go361 // watcher doesn't process every snapshot it constructs, it can discard various snapshots forCOMMENT
LOWcmd/entrypoint/watcher.go141//COMMENT
LOWcmd/entrypoint/watcher.go161// source.COMMENT
LOWcmd/entrypoint/watcher.go201 //COMMENT
LOWcmd/entrypoint/watcher.go421 // times (it's probably unlikely to cause trouble, but you just know eventually it'llCOMMENT
LOWcmd/entrypoint/testdata/Collision1.yaml101# metadata:COMMENT
LOWbuild-aux/copyright-boilerplate.go.txt1// Copyright 2021 Ambassador Labs. All rights reservedCOMMENT
LOWbuild-aux/docs/conventions.md1# Conventions for use in build-auxCOMMENT
LOWtools/src/tap-driver.sh1#!/usr/bin/env bashCOMMENT
LOWtools/src/tap-driver.sh21# - I considered writing it in Python, but decided against itCOMMENT
LOWtools/src/py-list-deps.py1#!/usr/bin/env python3COMMENT
LOWtools/src/py-list-deps.py21#COMMENT
LOWtools/src/write-dockertagfile.sh1#!/usr/bin/env bashCOMMENT
LOWtools/src/write-ifchanged.sh1#!/usr/bin/env bashCOMMENT
LOWtools/src/testcert-gen/main.go1// Command testcert-gen generates TLS certificates and keys for use in the Emissary test suite. TheCOMMENT
LOWtools/src/dsum/main.go1// Command dsum (short for d-summarize) helps keep good developer UX while running a command withCOMMENT
LOWtools/src/flock/main.go1// Copyright 2018 Datawire. All rights reserved.COMMENT
LOWdocker/test-stats/requirements.txt1#COMMENT
LOWdocker/test-stats/stats-test.py1import sysCOMMENT
LOWdocker/test-stats/stats-test.py101 # envoy.cluster.cluster_http___statsdtest_http.upstream_rq_200:310|cCOMMENT
LOWdocker/test-stats/stats-web.py1#!/usr/bin/env python3COMMENT
LOWdocker/test-stats/entrypoint.sh1#!/bin/shCOMMENT
LOWdocker/test-shadow/requirements.txt1#COMMENT
LOWdocker/test-shadow/shadow.py1#!/usr/bin/env pythonCOMMENT
LOWdocker/test-shadow/entrypoint.sh1#!/bin/bashCOMMENT
LOWdocker/test-auth/auth.py1#!/usr/bin/env pythonCOMMENT
LOWdocker/test-auth/requirements.txt1#COMMENT
LOWdocker/test-auth/entrypoint.sh1#!/bin/bashCOMMENT
LOWpython/start-for-telepresence.sh1# Copyright 2018 Datawire. All rights reserved.COMMENT
LOWpython/entrypoint.sh1#!/bin/bashCOMMENT
LOW…ests/integration/manifests/knative_serving_0.18.0.yaml1---COMMENT
LOW…ests/integration/manifests/knative_serving_0.18.0.yaml21 labels:COMMENT
LOW…ests/integration/manifests/knative_serving_0.18.0.yaml61---COMMENT
LOW…ests/integration/manifests/knative_serving_0.18.0.yaml121---COMMENT
LOW…ests/integration/manifests/knative_serving_0.18.0.yaml201 resources:COMMENT
LOW…ests/integration/manifests/knative_serving_0.18.0.yaml261#COMMENT
LOW…ests/integration/manifests/knative_serving_0.18.0.yaml301 # this is a work around so we don't need to flush out theCOMMENT
LOW…ests/integration/manifests/knative_serving_0.18.0.yaml361 scope: NamespacedCOMMENT
312 more matches not shown…
Hyper-Verbose Identifiers148 hits · 128 pts
SeverityFileLineSnippetContext
LOWpython/tests/src/tests/kubeutils.py6def meta_action_kube_artifacts(namespace, artifacts, action, retries=0):CODE
LOWpython/tests/src/tests/utils.py22def zipkin_tracing_service_manifest():CODE
LOWpython/tests/src/tests/utils.py37def default_listener_manifests():STRING
LOWpython/tests/src/tests/utils.py89def default_udp_listener_manifest():STRING
LOWpython/tests/src/tests/utils.py109def default_tcp_listener_manifest():STRING
LOWpython/tests/src/tests/utils.py129def module_and_mapping_manifests(module_confs, mapping_confs):STRING
LOWpython/tests/src/tests/utils.py252def econf_foreach_listener_chain(CODE
LOWpython/tests/src/tests/utils.py320def assert_valid_envoy_config(config_dict, extra_dirs=[]):CODE
LOWpython/tests/src/tests/utils.py379def generate_istio_cert_delta(delta_type="update"):CODE
LOWpython/tests/src/tests/unit/test_ready.py28def _validate_ready_listener_config(econf: EnvoyConfig, expectedPort: int, readyLogEnabled: bool):CODE
LOWpython/tests/src/tests/unit/test_ready.py50def test_ready_listener_custom():CODE
LOWpython/tests/src/tests/unit/test_ready.py62def test_ready_listener_default():CODE
LOWpython/tests/src/tests/unit/test_ready.py72def test_ready_listener_high_port():CODE
LOWpython/tests/src/tests/unit/test_ready.py84def test_ready_listener_invalid_logs():CODE
LOWpython/tests/src/tests/unit/test_ready.py95def test_ready_listener_invalid_port():CODE
LOWpython/tests/src/tests/unit/test_ready.py108def test_ready_listener_zero_port():CODE
LOWpython/tests/src/tests/unit/test_error_response.py21def _status_code_filter_eq_obj(status_code):CODE
LOWpython/tests/src/tests/unit/test_error_response.py53def _ambassador_module_config():CODE
LOWpython/tests/src/tests/unit/test_error_response.py63def _ambassador_module_onemapper(status_code, body_kind, body_value, content_type=None):STRING
LOWpython/tests/src/tests/unit/test_error_response.py159def _test_errorresponse_onemapper(yaml, expected_filter, expected_body_format_override, fail=False):STRING
LOWpython/tests/src/tests/unit/test_error_response.py165def _test_errorresponse_twomappers(yaml, expectation1, expectation2, fail=False):STRING
LOWpython/tests/src/tests/unit/test_error_response.py169def _test_errorresponse_onemapper_onstatuscode_textformat(status_code, text_format, fail=False):STRING
LOWpython/tests/src/tests/unit/test_error_response.py178def _test_errorresponse_onemapper_onstatuscode_textformat_contenttype(STRING
LOWpython/tests/src/tests/unit/test_error_response.py190def _test_errorresponse_onemapper_onstatuscode_textformat_datasource(STRING
LOWpython/tests/src/tests/unit/test_error_response.py219def _test_errorresponse_onemapper_onstatuscode_jsonformat(status_code, json_format):STRING
LOWpython/tests/src/tests/unit/test_error_response.py230def _test_errorresponse_twomappers_onstatuscode_textformat(code1, text1, code2, text2, fail=False):STRING
LOWpython/tests/src/tests/unit/test_error_response.py252def _test_errorresponse_invalid_configs(yaml):STRING
LOWpython/tests/src/tests/unit/test_error_response.py257def test_errorresponse_twomappers_onstatuscode_textformat():STRING
LOWpython/tests/src/tests/unit/test_error_response.py265def test_errorresponse_onemapper_onstatuscode_textformat():STRING
LOWpython/tests/src/tests/unit/test_error_response.py275def test_errorresponse_invalid_envoy_operator():STRING
LOWpython/tests/src/tests/unit/test_error_response.py280def test_errorresponse_onemapper_onstatuscode_textformat_contenttype():STRING
LOWpython/tests/src/tests/unit/test_error_response.py293def test_errorresponse_onemapper_onstatuscode_jsonformat():STRING
LOWpython/tests/src/tests/unit/test_error_response.py327def test_errorresponse_onemapper_onstatuscode_textformatsource(tmp_path: Path):STRING
LOWpython/tests/src/tests/unit/test_error_response.py346def test_errorresponse_invalid_configs():STRING
LOW…ts/src/tests/unit/test_common_http_protocol_options.py10def _test_common_http_protocol_options(yaml, expectations={}):CODE
LOW…ts/src/tests/unit/test_common_http_protocol_options.py27def test_cluster_max_connection_lifetime_ms_missing():CODE
LOW…ts/src/tests/unit/test_common_http_protocol_options.py34def test_cluster_max_connection_lifetime_ms_module_only():CODE
LOW…ts/src/tests/unit/test_common_http_protocol_options.py41def test_cluster_max_connection_lifetime_ms_mapping_only():CODE
LOW…ts/src/tests/unit/test_common_http_protocol_options.py48def test_cluster_max_connection_lifetime_ms_mapping_override():CODE
LOW…ts/src/tests/unit/test_common_http_protocol_options.py58def test_cluster_idle_timeout_ms_missing():CODE
LOW…ts/src/tests/unit/test_common_http_protocol_options.py65def test_cluster_idle_timeout_ms_module_only():CODE
LOW…ts/src/tests/unit/test_common_http_protocol_options.py72def test_cluster_idle_timeout_ms_mapping_only():CODE
LOW…ts/src/tests/unit/test_common_http_protocol_options.py79def test_cluster_idle_timeout_ms_mapping_override():CODE
LOW…ts/src/tests/unit/test_common_http_protocol_options.py114def test_both_one_module_one_mapping():CODE
LOWpython/tests/src/tests/unit/test_irlogservice.py51def _get_logfilter_http_default_conf():CODE
LOWpython/tests/src/tests/unit/test_irlogservice.py69def _get_logfilter_tcp_default_conf():CODE
LOWpython/tests/src/tests/unit/test_irlogservice.py88def test_irlogservice_http_defaults():CODE
LOWpython/tests/src/tests/unit/test_irlogservice.py125def test_irlogservice_http_default_overrides():STRING
LOWpython/tests/src/tests/unit/test_irlogservice.py264def test_irlogservice_tcp_defaults():STRING
LOWpython/tests/src/tests/unit/test_irlogservice.py301def test_irlogservice_tcp_default_overrides():STRING
LOWpython/tests/src/tests/unit/test_buffer_limit_bytes.py36def test_setting_buffer_limit():CODE
LOWpython/tests/src/tests/unit/test_buffer_limit_bytes.py123def test_default_buffer_limit():STRING
LOWpython/tests/src/tests/unit/test_buffer_limit_bytes.py174def test_buffer_limit_no_listener():STRING
LOWpython/tests/src/tests/unit/test_irratelimit.py48def _get_ratelimit_default_conf():CODE
LOWpython/tests/src/tests/unit/test_irratelimit.py66def test_irratelimit_defaults():CODE
LOWpython/tests/src/tests/unit/test_irratelimit.py115def test_irratelimit_cluster_fields():STRING
LOWpython/tests/src/tests/unit/test_irratelimit.py199def test_irratelimit_overrides():STRING
LOW…thon/tests/src/tests/unit/test_mapping_canary_group.py32def test_mapping_canary_group_selectors(test_case):CODE
LOWpython/tests/src/tests/unit/test_irauth.py21def _assert_ext_auth_disabled(route):CODE
LOWpython/tests/src/tests/unit/test_irauth.py149def test_irauth_grpcservice_version_default():STRING
88 more matches not shown…
Unused Imports103 hits · 103 pts
SeverityFileLineSnippetContext
LOWmake-gorel.py22CODE
LOWmake-gorel.py26CODE
LOWdocker/test-stats/stats-test.py1CODE
LOWdocker/test-stats/stats-web.py17CODE
LOWdocker/test-stats/stats-web.py31CODE
LOWdocker/test-shadow/shadow.py20CODE
LOWdocker/test-auth/auth.py25CODE
LOWpython/tests/src/tests/integration/test_tracing.py28CODE
LOWpython/tests/src/tests/integration/test_shadow.py24CODE
LOWpython/ambassador/src/ambassador/VERSION.py15CODE
LOWpython/ambassador/src/ambassador/__init__.py15CODE
LOWpython/ambassador/src/ambassador/__init__.py16CODE
LOWpython/ambassador/src/ambassador/__init__.py17CODE
LOWpython/ambassador/src/ambassador/__init__.py18CODE
LOWpython/ambassador/src/ambassador/__init__.py19CODE
LOWpython/ambassador/src/ambassador/__init__.py20CODE
LOWpython/ambassador/src/ambassador/__init__.py20CODE
LOWpython/ambassador/src/ambassador/utils.py39CODE
LOWpython/ambassador/src/ambassador/utils.py40CODE
LOWpython/ambassador/src/ambassador/config/config.py38CODE
LOWpython/ambassador/src/ambassador/config/__init__.py15CODE
LOWpython/ambassador/src/ambassador/config/__init__.py16CODE
LOWpython/ambassador/src/ambassador/config/__init__.py17CODE
LOWpython/ambassador/src/ambassador/config/__init__.py18CODE
LOW…thon/ambassador/src/ambassador/ir/irserviceresolver.py8CODE
LOW…thon/ambassador/src/ambassador/ir/irserviceresolver.py9CODE
LOW…thon/ambassador/src/ambassador/ir/irserviceresolver.py10CODE
LOWpython/ambassador/src/ambassador/ir/ircluster.py27CODE
LOWpython/ambassador/src/ambassador/ir/ircluster.py28CODE
LOWpython/ambassador/src/ambassador/ir/irambassador.py16CODE
LOWpython/ambassador/src/ambassador/ir/irhealthchecks.py8CODE
LOWpython/ambassador/src/ambassador/ir/irtlscontext.py10CODE
LOWpython/ambassador/src/ambassador/ir/irtlscontext.py11CODE
LOW…hon/ambassador/src/ambassador/ir/irbasemappinggroup.py8CODE
LOWpython/ambassador/src/ambassador/ir/irtls.py22CODE
LOWpython/ambassador/src/ambassador/ir/irlistener.py11CODE
LOWpython/ambassador/src/ambassador/ir/irbuffer.py8CODE
LOWpython/ambassador/src/ambassador/ir/__init__.py15CODE
LOWpython/ambassador/src/ambassador/ir/__init__.py16CODE
LOW…hon/ambassador/src/ambassador/ir/irhttpmappinggroup.py13CODE
LOWpython/ambassador/src/ambassador/ir/ir.py34CODE
LOWpython/ambassador/src/ambassador/ir/irfilter.py7CODE
LOWpython/ambassador/src/ambassador/ir/iripallowdeny.py9CODE
LOWpython/ambassador/src/ambassador/ir/irretrypolicy.py7CODE
LOWpython/ambassador/src/ambassador/ir/irratelimit.py9CODE
LOWpython/ambassador/src/ambassador/ir/irhost.py10CODE
LOWpython/ambassador/src/ambassador/ir/irhost.py11CODE
LOWpython/ambassador/src/ambassador/ir/irtracing.py9CODE
LOWpython/ambassador/src/ambassador/ir/irhttpmapping.py17CODE
LOWpython/ambassador/src/ambassador/ir/irerrorresponse.py7CODE
LOWpython/ambassador/src/ambassador/ir/irerrorresponse.py8CODE
LOWpython/ambassador/src/ambassador/ir/irauth.py11CODE
LOW…thon/ambassador/src/ambassador/ir/irtcpmappinggroup.py10CODE
LOWpython/ambassador/src/ambassador/ir/irgzip.py7CODE
LOWpython/ambassador/src/ambassador/ir/irbasemapping.py13CODE
LOWpython/ambassador/src/ambassador/ir/irlogservice.py8CODE
LOWpython/ambassador/src/ambassador/ir/ircors.py8CODE
LOWpython/ambassador/src/ambassador/ir/irtcpmapping.py10CODE
LOWpython/ambassador/src/ambassador/ir/irresource.py10CODE
LOWpython/ambassador/src/ambassador/ir/irmappingfactory.py9CODE
43 more matches not shown…
Cross-File Repetition18 hits · 90 pts
SeverityFileLineSnippetContext
HIGHpython/tests/src/tests/utils.py0--- apiversion: getambassador.io/v3alpha1 kind: module metadata: name: ambassador namespace: default spec: config: grpc_STRING
HIGH…ts/src/tests/integration/test_header_case_overrides.py0--- apiversion: getambassador.io/v3alpha1 kind: module metadata: name: ambassador namespace: default spec: config: grpc_STRING
HIGH…ts/src/tests/unit/test_ambassador_module_validation.py0--- apiversion: getambassador.io/v3alpha1 kind: module metadata: name: ambassador namespace: default spec: config: grpc_STRING
HIGHpython/tests/src/tests/unit/test_error_response.py0--- apiversion: getambassador.io/v3alpha1 kind: module name: ambassador config: {}STRING
HIGHpython/tests/src/tests/unit/test_qualify_service.py0--- apiversion: getambassador.io/v3alpha1 kind: module name: ambassador config: {}STRING
HIGHpython/tests/src/tests/kat/t_plain.py0--- apiversion: getambassador.io/v3alpha1 kind: module name: ambassador config: {}STRING
HIGHpython/tests/src/tests/kat/t_grpc_web.py0--- apiversion: getambassador.io/v3alpha1 kind: mapping grpc: true hostname: "*" prefix: /echo.echoservice/ rewrite: /ecSTRING
HIGHpython/tests/src/tests/kat/t_grpc_stats.py0--- apiversion: getambassador.io/v3alpha1 kind: mapping grpc: true hostname: "*" prefix: /echo.echoservice/ rewrite: /ecSTRING
HIGHpython/tests/src/tests/kat/t_grpc_bridge.py0--- apiversion: getambassador.io/v3alpha1 kind: mapping grpc: true hostname: "*" prefix: /echo.echoservice/ rewrite: /ecSTRING
HIGHpython/tests/src/tests/kat/t_gzip.py0--- apiversion: getambassador.io/v3alpha1 kind: mapping name: tracing_target_mapping_longclustername hostname: "*" prefiSTRING
HIGHpython/tests/src/tests/kat/t_extauth.py0--- apiversion: getambassador.io/v3alpha1 kind: mapping name: tracing_target_mapping_longclustername hostname: "*" prefiSTRING
HIGHpython/tests/src/tests/kat/t_tls.py0--- apiversion: getambassador.io/v3alpha1 kind: mapping name: tracing_target_mapping_longclustername hostname: "*" prefiSTRING
HIGHpython/tests/src/tests/kat/t_logservice.py0--- apiversion: getambassador.io/v3alpha1 kind: mapping name: tracing_target_mapping_longclustername hostname: "*" prefiSTRING
HIGHpython/tests/src/tests/kat/t_tracing.py0--- apiversion: getambassador.io/v3alpha1 kind: mapping name: tracing_target_mapping_longclustername hostname: "*" prefiSTRING
HIGHpython/tests/src/tests/kat/t_tls.py0--- apiversion: getambassador.io/v3alpha1 kind: mapping name: {self.name} hostname: "*" prefix: /{self.name}/ service: hSTRING
HIGHpython/tests/src/tests/kat/t_headerrouting.py0--- apiversion: getambassador.io/v3alpha1 kind: mapping name: {self.name} hostname: "*" prefix: /{self.name}/ service: hSTRING
HIGHpython/tests/src/tests/kat/t_max_req_header_kb.py0--- apiversion: getambassador.io/v3alpha1 kind: mapping name: {self.name} hostname: "*" prefix: /{self.name}/ service: hSTRING
HIGHpython/tests/src/tests/kat/t_mappingtests_plain.py0--- apiversion: getambassador.io/v3alpha1 kind: mapping name: {self.name} hostname: "*" prefix: /{self.name}/ service: hSTRING
Deep Nesting71 hits · 70 pts
SeverityFileLineSnippetContext
LOWmake-gorel.py85CODE
LOWtools/src/py-list-deps.py221CODE
LOWtools/src/py-list-deps.py253CODE
LOWpython/tests/src/tests/unit/test_irlogservice.py22CODE
LOWpython/tests/src/tests/unit/test_irratelimit.py23CODE
LOWpython/tests/src/tests/unit/test_irauth.py28CODE
LOWpython/tests/src/tests/unit/test_healthchecks.py48CODE
LOWpython/tests/src/tests/unit/test_listener.py316CODE
LOWpython/tests/src/tests/unit/test_listener.py322CODE
LOW…ts/src/tests/integration/test_header_case_overrides.py132CODE
LOWpython/tests/src/tests/integration/test_shadow.py41CODE
LOWpython/tests/src/tests/integration/utils.py24CODE
LOWpython/tests/src/tests/kat/t_circuitbreaker.py99CODE
LOWpython/tests/src/tests/kat/t_listeneridletimeout.py48CODE
LOWpython/tests/src/tests/kat/abstract_tests.py195CODE
LOWpython/tests/src/tests/kat/abstract_tests.py368CODE
LOWpython/tests/src/tests/kat/t_shadow.py144CODE
LOWpython/ambassador/src/ambassador/cache.py109CODE
LOWpython/ambassador/src/ambassador/cache.py200CODE
LOWpython/ambassador/src/ambassador/utils.py104CODE
LOWpython/ambassador/src/ambassador/ir/ircluster.py40CODE
LOWpython/ambassador/src/ambassador/ir/irambassador.py174CODE
LOWpython/ambassador/src/ambassador/ir/irhealthchecks.py60CODE
LOWpython/ambassador/src/ambassador/ir/irtlscontext.py179CODE
LOWpython/ambassador/src/ambassador/ir/irtlscontext.py399CODE
LOWpython/ambassador/src/ambassador/ir/irlistener.py94CODE
LOW…hon/ambassador/src/ambassador/ir/irhttpmappinggroup.py160CODE
LOW…hon/ambassador/src/ambassador/ir/irhttpmappinggroup.py340CODE
LOWpython/ambassador/src/ambassador/ir/ir.py121CODE
LOWpython/ambassador/src/ambassador/ir/ir.py938CODE
LOWpython/ambassador/src/ambassador/ir/irhost.py69CODE
LOWpython/ambassador/src/ambassador/ir/irhost.py399CODE
LOWpython/ambassador/src/ambassador/ir/irhttpmapping.py138CODE
LOWpython/ambassador/src/ambassador/ir/irhttpmapping.py483CODE
LOWpython/ambassador/src/ambassador/ir/irhttpmapping.py510CODE
LOWpython/ambassador/src/ambassador/ir/irerrorresponse.py167CODE
LOWpython/ambassador/src/ambassador/ir/irbasemapping.py233CODE
LOWpython/ambassador/src/ambassador/ir/irlogservice.py115CODE
LOWpython/ambassador/src/ambassador/ir/irresource.py228CODE
LOWpython/ambassador/src/ambassador/envoy/v3/v3ready.py107CODE
LOWpython/ambassador/src/ambassador/envoy/v3/v3cluster.py27CODE
LOWpython/ambassador/src/ambassador/envoy/v3/v3listener.py849CODE
LOWpython/ambassador/src/ambassador/envoy/v3/v3listener.py992CODE
LOWpython/ambassador/src/ambassador/envoy/v3/v3listener.py1253CODE
LOWpython/ambassador/src/ambassador/envoy/v3/v3route.py36CODE
LOWpython/ambassador/src/ambassador/envoy/v3/v3route.py269CODE
LOWpython/ambassador/src/ambassador/envoy/v3/v3route.py686CODE
LOWpython/ambassador/src/ambassador/envoy/v3/v3route.py758CODE
LOWpython/ambassador/src/ambassador/envoy/v3/v3tracing.py25CODE
LOW…mbassador/src/ambassador/envoy/v3/v3ratelimitaction.py33CODE
LOWpython/ambassador/src/ambassador/fetch/service.py226CODE
LOWpython/ambassador/src/ambassador/fetch/ingress.py122CODE
LOWpython/ambassador/src/ambassador/fetch/fetcher.py109CODE
LOWpython/ambassador/src/ambassador/fetch/fetcher.py175CODE
LOWpython/ambassador/src/ambassador/fetch/fetcher.py206CODE
LOW…n/ambassador/src/ambassador/diagnostics/diagnostics.py706CODE
LOWpython/kat/src/kat/harness.py226CODE
LOWpython/kat/src/kat/harness.py292CODE
LOWpython/kat/src/kat/harness.py635CODE
LOWpython/kat/src/kat/harness.py1026CODE
11 more matches not shown…
AI Slop Vocabulary32 hits · 50 pts
SeverityFileLineSnippetContext
MEDIUMtools/src/py-list-deps.py46# modify meant that we can leverage it to be useful without Bazel.COMMENT
MEDIUMtools/src/flock/main.go16// opposite of robust.COMMENT
MEDIUM…ests/integration/manifests/knative_serving_0.18.0.yaml45 # Labeled to facilitate aggregated cluster roles that act on Addressables.COMMENT
MEDIUM…ests/integration/manifests/knative_serving_0.18.0.yaml195 # Labeled to facilitate aggregated cluster roles that act on PodSpecables.COMMENT
MEDIUM…ests/integration/manifests/knative_serving_0.18.0.yaml1869 # of Routes and Configuration. This is used in conjunction with theCOMMENT
MEDIUMpython/tests/src/tests/kat/t_grpc.py76 # XXX Ew. If self.results[2].json is empty, the harness won't convert it to a response.COMMENT
MEDIUMpython/tests/src/tests/kat/t_grpc.py156 # XXX Ew. If self.results[2].json is empty, the harness won't convert it to a response.COMMENT
MEDIUMpython/tests/src/tests/kat/t_tls.py999 # XXX Ew. If self.results[0].json is empty, the harness won't convert it to a response.STRING
MEDIUMpython/tests/src/tests/kat/t_tls.py1315 # XXX Ew. If self.results[0].json is empty, the harness won't convert it to a response.STRING
MEDIUMpython/tests/src/tests/kat/t_redirect.py112 # XXX Ew. If self.results[1].json is empty, the harness won't convert it to a response.STRING
MEDIUMpython/tests/src/tests/kat/t_redirect.py177 # # XXX Ew. If self.results[1].json is empty, the harness won't convert it to a response.STRING
MEDIUMpython/tests/src/tests/kat/t_redirect.py248 # # XXX Ew. If self.results[1].json is empty, the harness won't convert it to a response.STRING
MEDIUMpython/tests/src/tests/kat/t_redirect.py351 # XXX Ew. If self.results[2].json is empty, the harness won't convert it to a response.STRING
MEDIUMpython/tests/src/tests/kat/t_plain.py89 # XXX Ew. If self.results[0].json is empty, the harness won't convert it to a response.STRING
LOWpython/tests/src/tests/kat/t_tcpmapping.py74# In most real-world cases, we'd just use a single wildcard Host insteadCOMMENT
MEDIUMpython/tests/src/tests/kat/t_hosts.py1079 # XXX Ew. If self.results[0].json is empty, the harness won't convert it to a response.STRING
MEDIUMpython/tests/src/tests/kat/t_hosts.py1389 # XXX Ew. If self.results[0].json is empty, the harness won't convert it to a response.STRING
MEDIUMpython/tests/src/tests/kat/t_hosts.py1695 # XXX Ew. If self.results[0].json is empty, the harness won't convert it to a response.STRING
MEDIUMpython/tests/src/tests/kat/t_hosts.py3021 # XXX If self.results[0].json is empty, the harness won't convert it to a response.STRING
MEDIUMpython/tests/src/tests/kat/t_hosts.py3235 # XXX If self.results[0].json is empty, the harness won't convert it to a response.STRING
MEDIUMpython/tests/src/tests/kat/t_basics.py40 # XXX Ew. If self.results[0].json is empty, the harness won't convert it to a response.STRING
MEDIUMpython/tests/src/tests/kat/t_basics.py266 # XXX Ew. If self.results[0].json is empty, the harness won't convert it to a response.STRING
MEDIUMpython/tests/src/tests/kat/t_shadow.py145 # XXX Ew. If self.results[0].json is empty, the harness won't convert it to a response.STRING
LOWpython/ambassador/src/ambassador/utils.py359 # If we're already stopped, just return the same thing as theCOMMENT
LOWpython/ambassador/src/ambassador/utils.py983 # If serialization is None or empty, we'll just return None.COMMENT
LOWpython/ambassador/src/ambassador/utils.py1140 # If serialization is None or empty, we'll just return None.COMMENT
LOW…hon/ambassador/src/ambassador/envoy/v3/v3httpfilter.py374 # If not, there must be some Mapping config for it, so we'll just returnSTRING
LOWpython/ambassador/src/ambassador/envoy/v3/v3listener.py785 # so just add this immediately as a "*" chain.COMMENT
LOWpython/ambassador/src/ambassador/envoy/v3/v3listener.py962 # # Rather than try to route to some existing cluster we can just return aCOMMENT
LOWpython/ambassador/src/ambassador/fetch/service.py393 # account, or just use the service name if we don't have that.COMMENT
LOWpython/ambassador/src/ambassador/fetch/service.py398 # OK! If we have no target addresses, just use service routing.COMMENT
MEDIUMreleng/lib/uiutil.py226 """Use "myindent.input()" instead of "input()" in order to nest wellSTRING
Modern AI Meta-Vocabulary10 hits · 39 pts
SeverityFileLineSnippetContext
MEDIUMpkg/api/getambassador.io/v1/handwritten.conversion.go4// make $PWD/pkg/api/getambassador.io/v1/handwritten.conversion.scaffold.goCOMMENT
MEDIUMpkg/api/getambassador.io/v1/handwritten.conversion.go6// You can then diff `handwritten.conversion.go` and `handwritten.conversion.scaffold.go` to makeCOMMENT
MEDIUMpkg/api/getambassador.io/v1/handwritten.conversion.go37// The remaining functions are all filled out from `handwritten.conversion.scaffold.go` (see theCOMMENT
MEDIUMpkg/api/getambassador.io/v1/handwritten.conversion.go39// `handwritten.conversion.scaffold.go` has, so that I can (1) compare the comments and the code,COMMENT
MEDIUMpkg/api/getambassador.io/v1/handwritten.conversion.go41// `handwritten.conversion.scaffold.go` to make sure all the comments are there.COMMENT
MEDIUMpkg/api/getambassador.io/v2/handwritten.conversion.go4// make $PWD/pkg/api/getambassador.io/v2/handwritten.conversion.scaffold.goCOMMENT
MEDIUMpkg/api/getambassador.io/v2/handwritten.conversion.go6// You can then diff `handwritten.conversion.go` and `handwritten.conversion.scaffold.go` to makeCOMMENT
MEDIUMpkg/api/getambassador.io/v2/handwritten.conversion.go258// The remaining functions are all filled out from `handwritten.conversion.scaffold.go` (see theCOMMENT
MEDIUMpkg/api/getambassador.io/v2/handwritten.conversion.go260// `handwritten.conversion.scaffold.go` has, so that I can (1) compare the comments and the code,COMMENT
MEDIUMpkg/api/getambassador.io/v2/handwritten.conversion.go262// `handwritten.conversion.scaffold.go` to make sure all the comments are there.COMMENT
Excessive Try-Catch Wrapping30 hits · 30 pts
SeverityFileLineSnippetContext
LOW…ts/src/tests/integration/test_header_case_overrides.py433 except Exception as e:STRING
MEDIUM…ts/src/tests/integration/test_header_case_overrides.py434 print(f"Error: {e}")STRING
LOWpython/tests/src/tests/integration/utils.py196 except Exception as e:STRING
LOWpython/tests/src/tests/integration/test_watt_scaling.py146 except Exception as e:STRING
MEDIUMpython/tests/src/tests/integration/test_watt_scaling.py147 print(f"Error: {e}")STRING
LOWpython/tests/src/tests/kat/abstract_tests.py283 except Exception as e:STRING
LOWpython/ambassador/src/ambassador/utils.py131 except Exception as e:CODE
LOWpython/ambassador/src/ambassador/utils.py200 except Exception:CODE
LOWpython/ambassador/src/ambassador/config/config.py448 except Exception:CODE
LOWpython/ambassador/src/ambassador/fetch/ingress.py241 except Exception:CODE
LOWpython/ambassador/src/ambassador/fetch/resource.py176 except Exception as e:CODE
LOW…n/ambassador/src/ambassador/diagnostics/envoy_stats.py187 except Exception as e:CODE
LOW…n/ambassador/src/ambassador/diagnostics/envoy_stats.py456 except Exception as e:CODE
MEDIUM…n/ambassador/src/ambassador/diagnostics/envoy_stats.py191def _fetch_envoy_stats(self) -> Optional[str]:CODE
LOWpython/kat/src/kat/harness.py901 except Exception:CODE
LOWpython/kat/src/kat/harness.py1049 except Exception:CODE
LOWpython/kat/src/kat/harness.py1151 except Exception as e:CODE
LOWpython/kat/src/kat/utils.py42 except Exception:STRING
MEDIUMpython/kat/src/kat/utils.py38def status(self) -> bool:CODE
LOWpython/ambassador-diag/src/ambassador_diag/diagd.py481 except Exception as e:CODE
LOWpython/ambassador-diag/src/ambassador_diag/diagd.py581 except Exception as e:CODE
LOWpython/ambassador-diag/src/ambassador_diag/diagd.py640 except Exception as e:CODE
LOWpython/ambassador-diag/src/ambassador_diag/diagd.py735 except Exception as error:CODE
LOWpython/ambassador-diag/src/ambassador_diag/diagd.py1021 except Exception as e:CODE
LOWpython/ambassador-diag/src/ambassador_diag/diagd.py1426 except Exception as e:CODE
LOWpython/ambassador-diag/src/ambassador_diag/diagd.py1438 except Exception as e:CODE
LOWpython/ambassador-diag/src/ambassador_diag/diagd.py1447 except Exception as e:CODE
LOWpython/ambassador-diag/src/ambassador_diag/diagd.py1711 except Exception as e:CODE
LOWreleng/lib/uiutil.py345 except Exception as err:CODE
LOWreleng/lib/check_artifacts.py65 except Exception as err:CODE
Cross-Language Confusion6 hits · 28 pts
SeverityFileLineSnippetContext
HIGHpython/tests/src/tests/unit/test_fetch.py211 with lm.push(filename="test", ocount=2) as loc:CODE
HIGHpython/tests/src/tests/unit/test_fetch.py487 ("null", '{"Kubernetes": {}, "Deltas": null}', []),STRING
HIGHpython/ambassador/src/ambassador/ir/irhttpmapping.py567 len_headers += hdr.length()CODE
HIGHpython/ambassador/src/ambassador/ir/irhttpmapping.py570 len_query_parameters += query_parameter.length()CODE
HIGHpython/ambassador/src/ambassador/fetch/location.py54 return self.push(filename=self.current.filename)CODE
HIGHpython/ambassador/src/ambassador/fetch/fetcher.py191 with self.manager.locations.push(filename=filename):CODE
Structural Annotation Overuse14 hits · 21 pts
SeverityFileLineSnippetContext
LOWDevDocumentation/CONTRIBUTING.md83### Step 1: Install Build DependenciesCOMMENT
LOWDevDocumentation/CONTRIBUTING.md102### Step 2: Clone ProjectCOMMENT
LOWDevDocumentation/CONTRIBUTING.md114### Step 3: ConfigurationCOMMENT
LOWDevDocumentation/CONTRIBUTING.md135### Step 4: BuildingCOMMENT
LOWDevDocumentation/CONTRIBUTING.md160### Step 5: PushCOMMENT
LOWDevDocumentation/CONTRIBUTING.md181### Step 6: DeployCOMMENT
LOWDevDocumentation/CONTRIBUTING.md196### Step 7: Dev-loopCOMMENT
LOW.github/CONTRIBUTING.md83### Step 1: Install Build DependenciesCOMMENT
LOW.github/CONTRIBUTING.md102### Step 2: Clone ProjectCOMMENT
LOW.github/CONTRIBUTING.md114### Step 3: ConfigurationCOMMENT
LOW.github/CONTRIBUTING.md135### Step 4: BuildingCOMMENT
LOW.github/CONTRIBUTING.md160### Step 5: PushCOMMENT
LOW.github/CONTRIBUTING.md181### Step 6: DeployCOMMENT
LOW.github/CONTRIBUTING.md196### Step 7: Dev-loopCOMMENT
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICALpython/ambassador/src/ambassador/envoy/v3/v3listener.py436 if self.config.ir.ambassador_module.envoy_log_type.lower() == "json":CODE
CRITICALpython/ambassador/src/ambassador/envoy/v3/v3listener.py450 elif self.config.ir.ambassador_module.envoy_log_type.lower() == "typed_json":CODE
Modern Structural Boilerplate14 hits · 16 pts
SeverityFileLineSnippetContext
LOWpython/ambassador/src/ambassador/ir/irhealthchecks.py43 def _setup(self, ir: "IR", aconf: Config) -> None:CODE
LOWpython/ambassador/src/ambassador/ir/irtlscontext.py375 def set_secret_name(self, secret_name: str) -> None:CODE
LOWpython/ambassador/src/ambassador/ir/irerrorresponse.py140 def _setup(self, ir: "IR", aconf: Config) -> None:CODE
LOWpython/ambassador/src/ambassador/ir/irresource.py194 def set_active(self, active: bool) -> None:CODE
LOWpython/ambassador/src/ambassador/envoy/v3/v3tls.py84 def update_cert_zero(self, key: str, value: str) -> None:CODE
LOWpython/ambassador/src/ambassador/envoy/v3/v3tls.py93 def update_alpn(self, key: str, value: str) -> None:CODE
LOWpython/ambassador/src/ambassador/envoy/v3/v3tls.py97 def update_tls_version(self, key: str, value: str) -> None:CODE
LOWpython/ambassador/src/ambassador/envoy/v3/v3tls.py103 def update_tls_cipher(self, key: str, value: List[str]) -> None:CODE
LOWpython/ambassador/src/ambassador/envoy/v3/v3tls.py108 def update_validation(self, key: str, value: str) -> None:CODE
LOWpython/ambassador/src/ambassador/fetch/ingress.py85 def _update_status(self, obj: KubernetesObject) -> None:CODE
LOWpython/ambassador/src/ambassador/fetch/knative.py146 def _update_status(self, obj: KubernetesObject) -> None:CODE
LOW…n/ambassador/src/ambassador/diagnostics/diagnostics.py42 def update_health(self, other: dict) -> None:CODE
LOW…n/ambassador/src/ambassador/diagnostics/envoy_stats.py283 def update_envoy_stats(self, last_attempt: float) -> None:CODE
LOWpython/ambassador-diag/src/ambassador_diag/diagd.py1410 def update_estats(self) -> None:CODE
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMpython/tests/src/tests/unit/test_cache.py488 # Create a cache for Mappings whose cluster names are too longCOMMENT
MEDIUMpython/ambassador/src/ambassador/fetch/dependency.py144 # This method implements Kahn's algorithm. SeeCOMMENT
MEDIUMpython/ambassador/src/ambassador/fetch/dependency.py148 # Create a copy of the counts of each inbound edge so we can mutateCOMMENT
MEDIUMpython/ambassador-diag/src/ambassador_diag/diagd.py2270 # Create the application itself.COMMENT
Decorative Section Separators3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM…ests/integration/manifests/knative_serving_0.18.0.yaml1589 # ---------------------------------------COMMENT
MEDIUM…ests/integration/manifests/knative_serving_0.18.0.yaml1591 # ---------------------------------------COMMENT
MEDIUMpython/ambassador/src/ambassador/ir/irhost.py234 # -----------------------------------------------------------------------------------COMMENT
Slop Phrases4 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMtools/src/py-list-deps.py43# script that you can modify.COMMENT
MEDIUMpython/tests/src/tests/kat/t_tcpmapping.py265 # you can add a keyword argument debug=True to any Query() call and theSTRING
MEDIUMpython/ambassador/src/ambassador/ir/ir.py69## IR is the basis for everything else: you can use it to configure an EnvoyCOMMENT
LOWpkg/acp/envoy.go91 // Don't forget to close the body once done.COMMENT
AI Structural Patterns8 hits · 8 pts
SeverityFileLineSnippetContext
LOWpython/ambassador/src/ambassador/config/acresource.py99CODE
LOWpython/ambassador/src/ambassador/config/acmapping.py45CODE
LOWpython/ambassador/src/ambassador/ir/ircluster.py40CODE
LOWpython/ambassador/src/ambassador/fetch/resource.py26CODE
LOWpython/kat/src/kat/harness.py509CODE
LOWpython/kat/src/kat/harness.py743CODE
LOWpython/ambassador-diag/src/ambassador_diag/diagd.py2203CODE
LOWpython/ambassador-diag/src/ambassador_diag/diagd.py194CODE
Redundant / Tautological Comments2 hits · 2 pts
SeverityFileLineSnippetContext
LOWpython/tests/src/tests/kat/t_tracing.py845 # Check if the egress span contains expected tags.STRING
LOWcharts/emissary-crds/values.yaml4# Set enableLegacyVersions to true to include the conversion webhook and theCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtools/src/tap-driver.sh116# Usage:COMMENT
TODO Padding2 hits · 1 pts
SeverityFileLineSnippetContext
LOWpython/tests/src/tests/kat/t_tcpmapping.py1299# TODO: Add tests for all of the config knobs for the upstream connection:STRING
LOWpython/tests/src/tests/kat/t_tcpmapping.py1306# TODO: Add tests for the config knobs for stats:STRING
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpython/ambassador/src/ambassador/utils.py1092 "fake-user-key",CODE