AI Slop Code RIsk Monitor

kubeflow/spark-operator

Kubernetes operator for managing the lifecycle of Apache Spark applications on Kubernetes.

43.3 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for kubeflow/spark-operator, a Python project with 3,153 GitHub stars. SynthScan examined 192,637 lines of code across 756 source files, recording 2724 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 43.3 (High pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

43.3
Adjusted Signal
43.3
Raw Pattern Score
100%
Time Factor
2026-10-07
Last Push
3.2K
Stars
Python
Language
192.6K
Lines of Code
756
Files
2.7K
Pattern Hits
2026-10-12
Scan Date
1.90
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 6.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 21.1/100 · LOW

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

Agent Over-Engineering Ratio 84.5/100 · CRITICAL

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

PR Review Velocity Impact 92.4/100 · CRITICAL

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

What These Metrics Mean

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

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 1433MEDIUM 28LOW 1263

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 2724 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Cross-File Repetition1431 hits · 7155 pts
SeverityFileLineSnippetContext
HIGH…/crd/bases/sparkoperator.k8s.io_sparkapplications.yaml0type: string resourcefieldref: description: |- selects a resource of the container: only resources limits and requests (STRING
HIGH…s/sparkoperator.k8s.io_scheduledsparkapplications.yaml0type: string resourcefieldref: description: |- selects a resource of the container: only resources limits and requests (STRING
HIGH…chart/crds/sparkoperator.k8s.io_sparkapplications.yaml0type: string resourcefieldref: description: |- selects a resource of the container: only resources limits and requests (STRING
HIGH…s/sparkoperator.k8s.io_scheduledsparkapplications.yaml0type: string resourcefieldref: description: |- selects a resource of the container: only resources limits and requests (STRING
HIGH…k8s_api_core_v1_storage_os_persistent_volume_source.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…spark_api/models/io_k8s_api_core_v1_endpoint_subset.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…/models/io_k8s_api_core_v1_persistent_volume_status.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…_api/models/io_k8s_api_core_v1_pod_security_context.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…pi_networking_v1_ingress_class_parameters_reference.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…spark_api/models/io_k8s_api_core_v1_env_from_source.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…io_k8s_apimachinery_pkg_apis_meta_v1_internal_event.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…park_api/models/io_k8s_api_core_v1_secret_reference.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…io_k8s_api_core_v1_replication_controller_condition.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…/models/io_k8s_api_networking_v1_ingress_class_spec.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…hinery_pkg_apis_meta_v1_group_version_for_discovery.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…_spark_api/models/io_k8s_api_core_v1_node_condition.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…nery_pkg_apis_meta_v1_server_address_by_client_cidr.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…ark_api/models/io_k8s_api_core_v1_csi_volume_source.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…o_k8s_api_networking_v1_network_policy_ingress_rule.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…pimachinery_pkg_apis_meta_v1_group_version_resource.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…imachinery_pkg_apis_meta_v1_table_column_definition.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…dels/io_k8s_apimachinery_pkg_apis_meta_v1_api_group.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…ow_spark_api/models/io_k8s_api_core_v1_event_series.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…spark_api/models/io_k8s_api_core_v1_config_map_list.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…low_spark_api/models/io_k8s_api_core_v1_http_header.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…ls/io_k8s_api_core_v1_node_runtime_handler_features.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…/models/io_k8s_api_core_v1_persistent_volume_source.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…ls/io_k8s_apimachinery_pkg_apis_meta_v1_get_options.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…k_api/models/io_k8s_api_core_v1_resource_quota_spec.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…odels/io_k8s_api_core_v1_downward_api_volume_source.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…/io_k8s_apimachinery_pkg_apis_meta_v1_table_options.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…io_k8s_api_core_v1_persistent_volume_claim_template.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…dels/io_k8s_apimachinery_pkg_apis_meta_v1_timestamp.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…_spark_api/models/io_k8s_api_core_v1_pod_dns_config.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…rk_api/models/io_k8s_api_core_v1_node_proxy_options.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…api/models/io_k8s_api_networking_v1_ingress_backend.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…io_k8s_apimachinery_pkg_apis_meta_v1_update_options.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…/models/io_k8s_apimachinery_pkg_apis_meta_v1_status.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…models/io_k8s_api_networking_v1_network_policy_list.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…s_api_core_v1_aws_elastic_block_store_volume_source.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…ark_api/models/io_k8s_api_core_v1_pod_template_list.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…ow_spark_api/models/io_k8s_api_core_v1_capabilities.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…i/models/io_k8s_api_core_v1_session_affinity_config.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…ark_api/models/spark_v1beta2_spark_application_spec.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…odels/io_k8s_api_core_v1_topology_spread_constraint.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…io_k8s_apimachinery_pkg_apis_meta_v1_create_options.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…io_k8s_api_core_v1_service_account_token_projection.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…ls/io_k8s_apimachinery_pkg_apis_meta_v1_watch_event.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…park_api/models/io_k8s_api_core_v1_limit_range_list.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…io_k8s_apimachinery_pkg_apis_meta_v1_delete_options.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…w_spark_api/models/io_k8s_api_core_v1_pod_condition.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…_api/models/io_k8s_apimachinery_pkg_runtime_unknown.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…dels/io_k8s_api_core_v1_replication_controller_spec.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…_spark_api/models/io_k8s_api_core_v1_namespace_spec.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…pi/models/io_k8s_apimachinery_pkg_runtime_type_meta.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…k8s_api_core_v1_topology_selector_label_requirement.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…i/models/io_k8s_api_core_v1_container_resize_policy.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…api/models/io_k8s_api_core_v1_ceph_fs_volume_source.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…i/models/io_k8s_api_core_v1_downward_api_projection.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
HIGH…els/io_k8s_api_core_v1_typed_local_object_reference.py0kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapitSTRING
1371 more matches not shown…
Unused Imports1074 hits · 906 pts
SeverityFileLineSnippetContext
LOW…k8s_api_core_v1_storage_os_persistent_volume_source.py15CODE
LOW…k8s_api_core_v1_storage_os_persistent_volume_source.py17CODE
LOW…spark_api/models/io_k8s_api_core_v1_endpoint_subset.py15CODE
LOW…spark_api/models/io_k8s_api_core_v1_endpoint_subset.py17CODE
LOW…/models/io_k8s_api_core_v1_persistent_volume_status.py15CODE
LOW…/models/io_k8s_api_core_v1_persistent_volume_status.py17CODE
LOW…_api/models/io_k8s_api_core_v1_pod_security_context.py15CODE
LOW…_api/models/io_k8s_api_core_v1_pod_security_context.py17CODE
LOW…pi_networking_v1_ingress_class_parameters_reference.py15CODE
LOW…pi_networking_v1_ingress_class_parameters_reference.py17CODE
LOW…spark_api/models/io_k8s_api_core_v1_env_from_source.py15CODE
LOW…spark_api/models/io_k8s_api_core_v1_env_from_source.py17CODE
LOW…io_k8s_apimachinery_pkg_apis_meta_v1_internal_event.py15CODE
LOW…io_k8s_apimachinery_pkg_apis_meta_v1_internal_event.py17CODE
LOW…park_api/models/io_k8s_api_core_v1_secret_reference.py15CODE
LOW…park_api/models/io_k8s_api_core_v1_secret_reference.py17CODE
LOW…io_k8s_api_core_v1_replication_controller_condition.py15CODE
LOW…io_k8s_api_core_v1_replication_controller_condition.py17CODE
LOW…/models/io_k8s_api_networking_v1_ingress_class_spec.py15CODE
LOW…/models/io_k8s_api_networking_v1_ingress_class_spec.py17CODE
LOW…hinery_pkg_apis_meta_v1_group_version_for_discovery.py15CODE
LOW…hinery_pkg_apis_meta_v1_group_version_for_discovery.py17CODE
LOW…_spark_api/models/io_k8s_api_core_v1_node_condition.py15CODE
LOW…_spark_api/models/io_k8s_api_core_v1_node_condition.py17CODE
LOW…nery_pkg_apis_meta_v1_server_address_by_client_cidr.py15CODE
LOW…nery_pkg_apis_meta_v1_server_address_by_client_cidr.py17CODE
LOW…ark_api/models/io_k8s_api_core_v1_csi_volume_source.py15CODE
LOW…ark_api/models/io_k8s_api_core_v1_csi_volume_source.py17CODE
LOW…o_k8s_api_networking_v1_network_policy_ingress_rule.py15CODE
LOW…o_k8s_api_networking_v1_network_policy_ingress_rule.py17CODE
LOW…pimachinery_pkg_apis_meta_v1_group_version_resource.py15CODE
LOW…pimachinery_pkg_apis_meta_v1_group_version_resource.py17CODE
LOW…imachinery_pkg_apis_meta_v1_table_column_definition.py15CODE
LOW…imachinery_pkg_apis_meta_v1_table_column_definition.py17CODE
LOW…dels/io_k8s_apimachinery_pkg_apis_meta_v1_api_group.py15CODE
LOW…dels/io_k8s_apimachinery_pkg_apis_meta_v1_api_group.py17CODE
LOW…ow_spark_api/models/io_k8s_api_core_v1_event_series.py15CODE
LOW…ow_spark_api/models/io_k8s_api_core_v1_event_series.py17CODE
LOW…spark_api/models/io_k8s_api_core_v1_config_map_list.py15CODE
LOW…spark_api/models/io_k8s_api_core_v1_config_map_list.py17CODE
LOW…low_spark_api/models/io_k8s_api_core_v1_http_header.py15CODE
LOW…low_spark_api/models/io_k8s_api_core_v1_http_header.py17CODE
LOW…ls/io_k8s_api_core_v1_node_runtime_handler_features.py15CODE
LOW…ls/io_k8s_api_core_v1_node_runtime_handler_features.py17CODE
LOW…/models/io_k8s_api_core_v1_persistent_volume_source.py15CODE
LOW…/models/io_k8s_api_core_v1_persistent_volume_source.py17CODE
LOW…ls/io_k8s_apimachinery_pkg_apis_meta_v1_get_options.py15CODE
LOW…ls/io_k8s_apimachinery_pkg_apis_meta_v1_get_options.py17CODE
LOW…k_api/models/io_k8s_api_core_v1_resource_quota_spec.py15CODE
LOW…k_api/models/io_k8s_api_core_v1_resource_quota_spec.py17CODE
LOW…odels/io_k8s_api_core_v1_downward_api_volume_source.py15CODE
LOW…odels/io_k8s_api_core_v1_downward_api_volume_source.py17CODE
LOW…/io_k8s_apimachinery_pkg_apis_meta_v1_table_options.py15CODE
LOW…/io_k8s_apimachinery_pkg_apis_meta_v1_table_options.py17CODE
LOW…io_k8s_api_core_v1_persistent_volume_claim_template.py15CODE
LOW…io_k8s_api_core_v1_persistent_volume_claim_template.py17CODE
LOW…dels/io_k8s_apimachinery_pkg_apis_meta_v1_timestamp.py15CODE
LOW…dels/io_k8s_apimachinery_pkg_apis_meta_v1_timestamp.py17CODE
LOW…_spark_api/models/io_k8s_api_core_v1_pod_dns_config.py15CODE
LOW…_spark_api/models/io_k8s_api_core_v1_pod_dns_config.py17CODE
1014 more matches not shown…
Over-Commented Block151 hits · 142 pts
SeverityFileLineSnippetContext
LOWtest/drift/drift-check-values.yaml1#COMMENT
LOWtest/e2e/bad_examples/fail-submission.yaml1#COMMENT
LOWtest/e2e/bad_examples/fail-application.yaml1#COMMENT
LOWconfig/spark-rbac/kustomization.yaml1# Spark Application RBACCOMMENT
LOWconfig/spark-rbac/spark-application-rbac.yaml1#COMMENT
LOWinternal/webhook/sparkpod_defaulter_test.go701// ObjectMeta: metav1.ObjectMeta{COMMENT
LOWinternal/webhook/sparkpod_defaulter_test.go721// Name: "spark-driver",COMMENT
LOWinternal/webhook/sparkpod_defaulter_test.go741COMMENT
LOWinternal/controller/doc.go21//COMMENT
LOWinternal/controller/sparkapplication/rest_submission.go21// # ContractCOMMENT
LOWinternal/controller/sparkapplication/rest_submission.go41//COMMENT
LOWinternal/controller/sparkapplication/rest_submission.go61// {COMMENT
LOWinternal/controller/sparkapplication/rest_submission.go81// Neither asserts the driver was scheduled, started, or succeeded.COMMENT
LOWinternal/controller/sparkapplication/controller.go121 registry: registry,COMMENT
LOWinternal/controller/sparkapplication/controller.go141// TODO(user): Modify the Reconcile function to compare the state specified byCOMMENT
LOWinternal/controller/sparkapplication/controller.go161// | | +----> Failed +----+------------------------------------------------------------------+ | COMMENT
LOWinternal/controller/sparkapplication/controller.go181// | |Invalidating| | <-------+ | | | | COMMENT
LOWinternal/controller/sparkapplication/submission_test.go701// import (COMMENT
LOWinternal/controller/sparkapplication/submission_test.go721// VolumeMountPathTemplate = "spark.kubernetes.%s.volumes.%s.%s.mount.path=%s"COMMENT
LOWinternal/controller/sparkapplication/submission_test.go741COMMENT
LOWinternal/controller/sparkapplication/submission_test.go761// },COMMENT
LOWinternal/controller/sparkapplication/submission_test.go781// PersistentVolumeClaim: &corev1.PersistentVolumeClaimVolumeSource{COMMENT
LOWinternal/controller/sparkapplication/submission_test.go801// Volumes: volumes,COMMENT
LOWinternal/controller/sparkapplication/submission_test.go821COMMENT
LOWinternal/controller/sparkapplication/submission_test.go841COMMENT
LOWinternal/controller/sparkapplication/submission_test.go861// SparkPodSpec: v1beta2.SparkPodSpec{COMMENT
LOWinternal/controller/sparkapplication/submission_test.go881// volumes := []corev1.Volume{COMMENT
LOWinternal/controller/sparkapplication/submission_test.go901// {COMMENT
LOWinternal/controller/sparkapplication/submission_test.go921// },COMMENT
LOWinternal/controller/sparkapplication/submission_test.go941// volumes := []corev1.Volume{COMMENT
LOWinternal/controller/sparkapplication/submission_test.go961// Name: "spark-test",COMMENT
LOWinternal/controller/sparkapplication/submission_test.go981// assert.Equal(t, 2, len(localDirOptions))COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1001// },COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1021// },COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1041COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1061// },COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1081// VolumeMounts: volumeMounts,COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1101// assert.Equal(t, fmt.Sprintf(VolumeMountPathTemplate, "driver", "emptyDir", volumes[0].Name, volumeMounts[0].MountPatCOMMENT
LOWinternal/controller/sparkapplication/submission_test.go1121// Name: "spark-test",COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1141// driverOptions, err := addDriverConfOptions(app, submissionID)COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1161// executorOptions, err := addExecutorConfOptions(app, submissionID)COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1181// func TestPopulateLabelsOverride_Driver_Executor(t *testing.T) {COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1201// SparkPodSpec: v1beta2.SparkPodSpec{COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1221// fmt.Sprintf(SparkDriverLabelTemplate, AppLabelKey, DriverAppLabelOverride),COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1241// fmt.Sprintf(SparkExecutorLabelTemplate, ExecutorLabelKey, ExecutorLabelValue),COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1261// options := addDynamicAllocationConfOptions(app)COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1281// assert.Equal(t, 6, len(options))COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1301// }COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1321// assert.Equal(t, "--master", args[0])COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1341// host stringCOMMENT
LOWinternal/controller/sparkapplication/submission_test.go1361// name: "should throw an error when the host is empty",COMMENT
LOWinternal/controller/sparkapplication/event_filter.go281// - PriorityClassNameCOMMENT
LOWinternal/controller/sparkapplication/driver_pdb.go61}COMMENT
LOW…nal/controller/scheduledsparkapplication/controller.go101 clock: clock,COMMENT
LOWcharts/spark-operator-chart/Chart.yaml1#COMMENT
LOWcharts/spark-operator-chart/values.yaml1#COMMENT
LOWcharts/spark-operator-chart/values.yaml121 logEncoder: consoleCOMMENT
LOWcharts/spark-operator-chart/values.yaml141COMMENT
LOWcharts/spark-operator-chart/values.yaml161 uiService:COMMENT
LOWcharts/spark-operator-chart/values.yaml181 # key1: value1COMMENT
91 more matches not shown…
Modern AI Meta-Vocabulary25 hits · 80 pts
SeverityFileLineSnippetContext
MEDIUMcmd/operator/webhook/start.go59 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMcmd/operator/webhook/start.go239 // In the default scaffold provided, the program ends immediately afterCOMMENT
MEDIUMcmd/operator/webhook/start.go345 // +kubebuilder:scaffold:builderCOMMENT
MEDIUMcmd/operator/controller/start.go76 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMcmd/operator/controller/start.go378 // In the default scaffold provided, the program ends immediately afterCOMMENT
MEDIUMcmd/operator/controller/start.go464 // +kubebuilder:scaffold:builderCOMMENT
MEDIUMtest/e2e/suite_test.go57 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMtest/e2e/suite_test.go133 // +kubebuilder:scaffold:schemeCOMMENT
MEDIUM⚡config/crd/kustomization.yaml8# +kubebuilder:scaffold:crdkustomizeresourceCOMMENT
MEDIUM⚡config/crd/kustomization.yaml16# +kubebuilder:scaffold:crdkustomizewebhookpatchCOMMENT
MEDIUM⚡config/crd/kustomization.yaml23# +kubebuilder:scaffold:crdkustomizecainjectionpatchCOMMENT
MEDIUMconfig/samples/kustomization.yaml5# +kubebuilder:scaffold:manifestskustomizesamplesCOMMENT
MEDIUMinternal/webhook/suite_test.go41 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMinternal/webhook/suite_test.go86 // +kubebuilder:scaffold:schemeCOMMENT
MEDIUMinternal/webhook/suite_test.go106 // +kubebuilder:scaffold:webhookCOMMENT
MEDIUMinternal/controller/sparkconnect/suite_test.go36 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMinternal/controller/sparkconnect/suite_test.go77 // +kubebuilder:scaffold:schemeCOMMENT
MEDIUMinternal/controller/sparkapplication/suite_test.go37 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMinternal/controller/sparkapplication/suite_test.go82 // +kubebuilder:scaffold:schemeCOMMENT
MEDIUM…nal/controller/scheduledsparkapplication/suite_test.go36 // +kubebuilder:scaffold:importsCOMMENT
MEDIUM…nal/controller/scheduledsparkapplication/suite_test.go78 // +kubebuilder:scaffold:schemeCOMMENT
MEDIUMpkg/scheme/scheme.go40 // +kubebuilder:scaffold:schemeCOMMENT
MEDIUMpkg/scheme/scheme.go46 // +kubebuilder:scaffold:schemeCOMMENT
MEDIUMpkg/certificate/suite_test.go36 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMpkg/certificate/suite_test.go78 // +kubebuilder:scaffold:schemeCOMMENT
Hyper-Verbose Identifiers35 hits · 38 pts
SeverityFileLineSnippetContext
LOW…_api/models/io_k8s_api_core_v1_pod_security_context.py50 def fs_group_change_policy_validate_enum(cls, value):CODE
LOW…_api/models/io_k8s_api_core_v1_pod_security_context.py60 def supplemental_groups_policy_validate_enum(cls, value):CODE
LOW⚡…odels/io_k8s_api_core_v1_topology_spread_constraint.py41 def node_affinity_policy_validate_enum(cls, value):CODE
LOW⚡…odels/io_k8s_api_core_v1_topology_spread_constraint.py51 def node_taints_policy_validate_enum(cls, value):CODE
LOW⚡…odels/io_k8s_api_core_v1_topology_spread_constraint.py61 def when_unsatisfiable_validate_enum(cls, value):CODE
LOW…park_api/models/io_k8s_api_core_v1_container_status.py53 def stop_signal_validate_enum(cls, value):CODE
LOW…els/io_k8s_api_core_v1_persistent_volume_claim_spec.py45 def access_modes_validate_enum(cls, value):CODE
LOW…els/io_k8s_api_core_v1_persistent_volume_claim_spec.py56 def volume_mode_validate_enum(cls, value):CODE
LOW…/models/io_k8s_api_core_v1_azure_disk_volume_source.py38 def caching_mode_validate_enum(cls, value):CODE
LOW…models/io_k8s_api_networking_v1_network_policy_spec.py39 def policy_types_validate_enum(cls, value):CODE
LOW…odels/io_k8s_api_core_v1_ephemeral_container_common.py68 def image_pull_policy_validate_enum(cls, value):CODE
LOW…odels/io_k8s_api_core_v1_ephemeral_container_common.py78 def termination_message_policy_validate_enum(cls, value):CODE
LOW…s/io_k8s_apimachinery_pkg_util_intstr_int_or_string.py54 def actual_instance_must_validate_oneof(cls, v):CODE
LOW…odels/io_k8s_apimachinery_pkg_api_resource_quantity.py54 def actual_instance_must_validate_oneof(cls, v):CODE
LOW…beflow_spark_api/models/io_k8s_api_core_v1_pod_spec.py101 def preemption_policy_validate_enum(cls, value):CODE
LOW…beflow_spark_api/models/io_k8s_api_core_v1_pod_spec.py111 def restart_policy_validate_enum(cls, value):CODE
LOW…s/io_k8s_api_core_v1_persistent_volume_claim_status.py43 def access_modes_validate_enum(cls, value):CODE
LOW…s/io_k8s_api_core_v1_persistent_volume_claim_status.py54 def allocated_resource_statuses_validate_enum(cls, value):CODE
LOW…pi/models/io_k8s_api_core_v1_persistent_volume_spec.py88 def access_modes_validate_enum(cls, value):CODE
LOW…pi/models/io_k8s_api_core_v1_persistent_volume_spec.py99 def persistent_volume_reclaim_policy_validate_enum(cls, value):CODE
LOW…pi/models/io_k8s_api_core_v1_persistent_volume_spec.py109 def volume_mode_validate_enum(cls, value):CODE
LOW…eflow_spark_api/models/io_k8s_api_core_v1_lifecycle.py36 def stop_signal_validate_enum(cls, value):CODE
LOW…ark_api/models/spark_v1beta2_spark_ui_configuration.py40 def service_type_validate_enum(cls, value):CODE
LOW…ow_spark_api/models/io_k8s_api_core_v1_volume_mount.py39 def mount_propagation_validate_enum(cls, value):CODE
LOW…eflow_spark_api/models/io_k8s_api_core_v1_container.py68 def image_pull_policy_validate_enum(cls, value):CODE
LOW…eflow_spark_api/models/io_k8s_api_core_v1_container.py78 def termination_message_policy_validate_enum(cls, value):CODE
LOW…i/models/spark_v1beta2_driver_ingress_configuration.py41 def service_type_validate_enum(cls, value):CODE
LOW…k_api/models/io_k8s_api_core_v1_image_volume_source.py34 def pull_policy_validate_enum(cls, value):CODE
LOW⚡…ow_spark_api/models/io_k8s_api_core_v1_service_spec.py54 def external_traffic_policy_validate_enum(cls, value):CODE
LOW⚡…ow_spark_api/models/io_k8s_api_core_v1_service_spec.py64 def internal_traffic_policy_validate_enum(cls, value):CODE
LOW⚡…ow_spark_api/models/io_k8s_api_core_v1_service_spec.py74 def ip_families_validate_enum(cls, value):CODE
LOW…ow_spark_api/models/io_k8s_api_core_v1_service_spec.py85 def ip_family_policy_validate_enum(cls, value):CODE
LOW…ow_spark_api/models/io_k8s_api_core_v1_service_spec.py95 def session_affinity_validate_enum(cls, value):CODE
LOW…k_api/models/io_k8s_api_core_v1_ephemeral_container.py69 def image_pull_policy_validate_enum(cls, value):CODE
LOW…k_api/models/io_k8s_api_core_v1_ephemeral_container.py79 def termination_message_policy_validate_enum(cls, value):CODE
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMconfig/crd/kustomizeconfig.yaml1# This file is for teaching kustomize how to substitute name and namespace reference in CRDCOMMENT
MEDIUMcharts/spark-operator-chart/values.yaml229 # Create a tmp directory to write Spark artifacts to for deployed Spark apps.COMMENT
MEDIUMcharts/spark-operator-chart/values.yaml448 # Create a dir for the webhook to generate its certificates in.COMMENT
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHdocs/website/contributor-guide/index.md151If you have updated the API definition, then you also need to update the auto-generated code. To update the auto-generatCODE
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…ark_api/models/io_k8s_api_core_v1_pod_affinity_term.py30 label_selector: Optional[IoK8sApimachineryPkgApisMetaV1LabelSelector] = Field(default=None, description="A label queCODE
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWconfig/overlays/driver-pdb/kustomization.yaml3# Usage:COMMENT
LOWconfig/default/kustomization.yaml3# Usage:COMMENT
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOWhack/generate-changelog.py20except Exception:CODE