Repository Analysis

kubeflow/spark-operator

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

44.8 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of kubeflow/spark-operator, a Python project with 3,136 GitHub stars. SynthScan v2.0 examined 185,730 lines of code across 726 source files, recording 2718 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 44.8 places this repository in the Strong 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).

44.8
Adjusted Score
44.8
Raw Score
100%
Time Factor
2026-07-13
Last Push
3.1K
Stars
Python
Language
185.7K
Lines of Code
726
Files
2.7K
Pattern Hits
2026-07-14
Scan Date
1.97
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 0HIGH 1429MEDIUM 28LOW 1261

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 2718 distinct pattern matches across 12 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.

Cross-File Repetition1427 hits · 7135 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
1367 more matches not shown…
Unused Imports1071 hits · 904 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
1011 more matches not shown…
Over-Commented Block149 hits · 138 pts
SeverityFileLineSnippetContext
LOWcmd/operator/webhook/start.go221 CertName: webhookCertName,COMMENT
LOWcmd/operator/controller/start.go321 LeaseDuration: &leaderElectionLeaseDuration,COMMENT
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.go501 assert.NotNil(t, modifiedPod.Spec.Volumes[0].ConfigMap)COMMENT
LOWinternal/webhook/sparkpod_defaulter_test.go521// PortName: &appPortName,COMMENT
LOWinternal/webhook/sparkpod_defaulter_test.go541// Name: common.SparkDriverContainerName,COMMENT
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// +kubebuilder:rbac:groups="",resources=events,verbs=create;update;patchCOMMENT
LOWinternal/controller/sparkapplication/controller.go141// State Machine for SparkApplication:COMMENT
LOWinternal/controller/sparkapplication/controller.go161// | | New +---------> Submitted+----------> Running +-----------> Failing +----------> Failed | COMMENT
LOWinternal/controller/sparkapplication/submission_test.go701 assert.False(t, hasExecutorTemplate, "should not include executor pod template conf")COMMENT
LOWinternal/controller/sparkapplication/submission_test.go721// "github.com/kubeflow/spark-operator/v2/pkg/util"COMMENT
LOWinternal/controller/sparkapplication/submission_test.go741// },COMMENT
LOWinternal/controller/sparkapplication/submission_test.go761// SparkPodSpec: v1beta2.SparkPodSpec{COMMENT
LOWinternal/controller/sparkapplication/submission_test.go781// volumes := []corev1.Volume{COMMENT
LOWinternal/controller/sparkapplication/submission_test.go801// Name: "spark-test",COMMENT
LOWinternal/controller/sparkapplication/submission_test.go821// assert.Equal(t, 2, len(localDirOptions))COMMENT
LOWinternal/controller/sparkapplication/submission_test.go841// },COMMENT
LOWinternal/controller/sparkapplication/submission_test.go861// },COMMENT
LOWinternal/controller/sparkapplication/submission_test.go881// assert.Equal(t, fmt.Sprintf(VolumeMountOptionPathTemplate, "driver", "hostPath", volumes[0].Name, "path", volumes[0]COMMENT
LOWinternal/controller/sparkapplication/submission_test.go901// },COMMENT
LOWinternal/controller/sparkapplication/submission_test.go921// Volumes: volumes,COMMENT
LOWinternal/controller/sparkapplication/submission_test.go941// assert.Equal(t, fmt.Sprintf(VolumeMountOptionPathTemplate, "driver", "hostPath", volumes[1].Name, "path", volumes[1]COMMENT
LOWinternal/controller/sparkapplication/submission_test.go961// }COMMENT
LOWinternal/controller/sparkapplication/submission_test.go981// }COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1001// Name: "test-volume",COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1021// app := &v1beta2.SparkApplication{COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1041// localDirOptions, err := addLocalDirConfOptions(app)COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1061// VolumeSource: corev1.VolumeSource{COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1081// Spec: v1beta2.SparkApplicationSpec{COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1101// assert.Equal(t, 0, len(app.Spec.Volumes))COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1121// )COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1141// },COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1161// if !reflect.DeepEqual(expectedDriverLabels, driverOptions) {COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1181// t.Errorf("Executor labels: wanted %+q got %+q", expectedExecutorLabels, executorOptions)COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1201// Labels: map[string]string{AppLabelKey: AppLabelValue},COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1221// }COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1241// sort.Strings(executorOptions)COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1261// UID: "spark-test-1",COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1281// },COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1301// t.Fatal(err)COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1321// if err != nil {COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1341// }COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1361// want: "k8s://https://[::1]:6443",COMMENT
LOWinternal/controller/sparkapplication/submission_test.go1381// }COMMENT
LOWinternal/controller/sparkapplication/event_filter.go261// isWebhookPatchedFieldsOnlyChange checks if the spec changes only involve fieldsCOMMENT
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.yaml161 # - hosts:COMMENT
LOWcharts/spark-operator-chart/values.yaml241 # whenUnsatisfiable: ScheduleAnywayCOMMENT
89 more matches not shown…
Modern AI Meta-Vocabulary25 hits · 80 pts
SeverityFileLineSnippetContext
MEDIUMcmd/operator/webhook/start.go59 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMcmd/operator/webhook/start.go235 // In the default scaffold provided, the program ends immediately afterCOMMENT
MEDIUMcmd/operator/webhook/start.go341 // +kubebuilder:scaffold:builderCOMMENT
MEDIUMcmd/operator/controller/start.go73 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMcmd/operator/controller/start.go330 // In the default scaffold provided, the program ends immediately afterCOMMENT
MEDIUMcmd/operator/controller/start.go416 // +kubebuilder:scaffold:builderCOMMENT
MEDIUMtest/e2e/suite_test.go56 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMtest/e2e/suite_test.go132 // +kubebuilder:scaffold:schemeCOMMENT
MEDIUMconfig/crd/kustomization.yaml8# +kubebuilder:scaffold:crdkustomizeresourceCOMMENT
MEDIUMconfig/crd/kustomization.yaml16# +kubebuilder:scaffold:crdkustomizewebhookpatchCOMMENT
MEDIUMconfig/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.yaml214 # Create a tmp directory to write Spark artifacts to for deployed Spark apps.COMMENT
MEDIUMcharts/spark-operator-chart/values.yaml427 # 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
Structural Annotation Overuse2 hits · 3 pts
SeverityFileLineSnippetContext
LOWdocs/website/user-guide/notebooks-spark-operator.md36## Step 1: Deploy Enterprise GatewayCOMMENT
LOWdocs/website/user-guide/notebooks-spark-operator.md83## Step 2: Configure the Notebook to connect to the Jupyter GatewayCOMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWinternal/webhook/scheduledsparkapplication_validator.go92 // TODO: implement validate logicCOMMENT
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOWhack/generate-changelog.py20except Exception:CODE