Repository Analysis

yugabyte/yugabyte-db

YugabyteDB - the cloud native distributed SQL database for mission-critical applications.

2.5 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of yugabyte/yugabyte-db, a C project with 10,408 GitHub stars. SynthScan v2.0 examined 6,171,382 lines of code across 23767 source files, recording 10578 pattern matches distributed across 26 syntactic categories. The overall adjusted score of 2.5 places this repository in the Likely human-written 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).

2.5
Adjusted Score
2.5
Raw Score
100%
Time Factor
2026-07-14
Last Push
10.4K
Stars
C
Language
6.2M
Lines of Code
23.8K
Files
10.6K
Pattern Hits
2026-07-14
Scan Date
0.02
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 212HIGH 370MEDIUM 535LOW 9461

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 10578 distinct pattern matches across 26 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 Block7337 hits · 7166 pts
SeverityFileLineSnippetContext
LOWyb_build.sh1#!/usr/bin/env bashCOMMENT
LOWCMakeLists.txt1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWCMakeLists.txt21#COMMENT
LOWCMakeLists.txt461endif()COMMENT
LOWCMakeLists.txt481# For CMAKE_BUILD_TYPE=ReleaseCOMMENT
LOWCMakeLists.txt761COMMENT
LOWCMakeLists.txt941endforeach()COMMENT
LOWCMakeLists.txt981COMMENT
LOWtox.ini1# Copyright (c) YugabyteDB, Inc.COMMENT
LOWcodecheck.ini1# Copyright (c) YugabyteDB, Inc.COMMENT
LOW.ycm_extra_conf.py1# This is free and unencumbered software released into the public domain.COMMENT
LOW.ycm_extra_conf.py21# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE ORCOMMENT
LOWmanaged/devspace.yaml1# Copyright 2023 YugabyteDB, Inc. and ContributorsCOMMENT
LOW…/features/universe/universe-form/form/UniverseForm.tsx21import { api, QUERY_KEY } from '../utils/api';COMMENT
LOW…verse-form/form/fields/TimeSyncField/TimeSyncField.tsx61//shown only for aws, gcp, azuCOMMENT
LOWmanaged/byoc-api-proxy/systemd/install.sh1#!/usr/bin/env bashCOMMENT
LOWmanaged/devops/python3_requirements.txt1# Copyright 2019 YugabyteDB, Inc. and ContributorsCOMMENT
LOWmanaged/devops/pex/build_pex.sh21# Currently targets manylinux_2_28 and Python versions listed in common.shCOMMENT
LOWmanaged/devops/vars/cloud/oci.yml1# Copyright 2019 YugabyteDB, Inc. and ContributorsCOMMENT
LOWmanaged/devops/bin/common.sh1#@IgnoreInspection BashAddShebangCOMMENT
LOWmanaged/devops/bin/install_ybops.sh1#!/usr/bin/env bashCOMMENT
LOWmanaged/devops/bin/run_in_virtualenv.sh1#!/usr/bin/env bashCOMMENT
LOWmanaged/devops/bin/node_utils.sh1#!/bin/bashCOMMENT
LOWmanaged/devops/bin/node_utils.sh61 elseCOMMENT
LOWmanaged/devops/bin/ybcloud.sh1#!/bin/bashCOMMENT
LOWmanaged/devops/bin/install_ansible_requirements.sh1#!/bin/bashCOMMENT
LOWmanaged/devops/opscli/ybops/cloud/oci/__init__.py1#!/usr/bin/env pythonCOMMENT
LOWmanaged/devops/opscli/ybops/scripts/ybcloud.py1#!/usr/bin/env pythonCOMMENT
LOWmanaged/devops/opscli/ybops/data/configure_nic.sh21# and primary for management interface, just to be compatible with previously installed nodesCOMMENT
LOWmanaged/devops/opscli/ybops/data/preflight_checks.sh1#!/bin/bashCOMMENT
LOW…t/java/com/yugabyte/yw/controllers/SwaggerGenTest.java261 // https://github.com/dwickern/swagger-play/commit/b04e4a2e145a277592d29c09d482ccb92138fa14#diff-a74181fef5ee291b8ecCOMMENT
LOW…aged/api-examples/python-simple/resize-node-upgrade.py1#!/usr/bin/env python3COMMENT
LOWmanaged/yba-installer/integrationtests/workflow.go1package integrationtestsCOMMENT
LOWmanaged/yba-installer/pkg/common/directory_manager.go201COMMENT
LOWmanaged/yba-installer/pkg/common/shell/run.go41 output.ExitCode = cmd.ProcessState.ExitCode()COMMENT
LOWmanaged/yba-cli/cmd/util/constants.go141 // YBAAllowEditProviderMinVersion specifies minimum versionCOMMENT
LOWmanaged/yba-cli/cmd/util/util.go541 seconds := millis / 1000COMMENT
LOWmanaged/yba-cli/cmd/util/telemetryprovider.go41 // Log GroupCOMMENT
LOWmanaged/yba-cli/cmd/util/telemetryprovider.go621COMMENT
LOW…ed/yba-cli/cmd/universe/edit/ysqlconfigure_universe.go201 logrus.Debugf("Setting connection-pooling to %t\n", enableConnectionPooling)COMMENT
LOW…aged/yba-cli/internal/formatter/tabwriter/tabwriter.go1// Copyright 2009 The Go Authors. All rights reserved.COMMENT
LOW…aged/yba-cli/internal/formatter/tabwriter/tabwriter.go41// of cells terminated by horizontal ('\t') or vertical ('\v') tabs,COMMENT
LOW…aged/yba-cli/internal/formatter/tabwriter/tabwriter.go61// terminating tab, nor would the column be contiguous).COMMENT
LOW…aged/yba-cli/internal/formatter/tabwriter/tabwriter.go81// are passed through as well. For the purpose of formatting, theCOMMENT
LOW…aged/yba-cli/internal/formatter/tabwriter/tabwriter.go141 b.buf = b.buf[:0]COMMENT
LOW…aged/yba-cli/internal/formatter/tabwriter/tabwriter.go161// - the widths list is a temporary list with current widths used duringCOMMENT
LOW…aged/yba-cli/internal/formatter/tabwriter/tabwriter.go201// specifies the filter output. The remaining parameters control the formatting:COMMENT
LOWmanaged/node-agent/resources/preflight_check.sh1#!/bin/bashCOMMENT
LOWmanaged/node-agent/resources/node-agent-provision.yaml21 no_proxy_list: []COMMENT
LOWmanaged/node-agent/resources/node-agent-provision.yaml61 # The UUID of the customer in Yugabyte Anywhere.COMMENT
LOWmanaged/node-agent/cmux/cmux.go1// Copyright 2016 The CMux Authors. All rights reserved.COMMENT
LOWmanaged/node-agent/cmux/matchers.go1// Copyright 2016 The CMux Authors. All rights reserved.COMMENT
LOWmanaged/client/java/pom.xml1<?xml version="1.0" encoding="UTF-8"?>COMMENT
LOWmanaged/client/java/pom.xml21// The following only applies to changes made to this file as part of YugabyteDB development.COMMENT
LOW…java/com/yugabyte/yw/common/PlacementInfoUtilTest.java1961 @TestCOMMENT
LOW…java/com/yugabyte/yw/common/PlacementInfoUtilTest.java1981 // rf=7, 3 zones, 14-7-7 -> masters 3-2-2COMMENT
LOW…java/com/yugabyte/yw/common/PlacementInfoUtilTest.java2081 // rf=5, 6 zones in 2 regions, r1:5-4-3, r2:2-2-1 -> 1-1-1, 1-1-0COMMENT
LOW…java/com/yugabyte/yw/common/PlacementInfoUtilTest.java2621 // where zone mod = region - zone - modifier,COMMENT
LOW…src/test/java/com/yugabyte/yw/common/ModelFactory.java861 certificate,COMMENT
LOW…main/java/com/yugabyte/yw/models/AttachDetachSpec.java1// Copyright (c) YugabyteDB, Inc.COMMENT
7277 more matches not shown…
Hallucination Indicators212 hits · 2355 pts
SeverityFileLineSnippetContext
CRITICAL…rseRegionLocationPanel/UniverseRegionLocationPanel.jsx28 selectedProviders: this.props.cloud.providers.data.map((provider) => provider.code)CODE
CRITICAL…src/main/java/com/yugabyte/ByocApiProxy/AppConfig.java45 ApiClient defaultClient = com.yugabyte.aeon.client.Configuration.getDefaultApiClient();CODE
CRITICALmanaged/devops/opscli/ybops/cloud/azure/cloud.py24from azure.core.exceptions import ClientAuthenticationErrorCODE
CRITICALmanaged/devops/opscli/ybops/cloud/azure/utils.py10from azure.core.exceptions import HttpResponseErrorCODE
CRITICAL…t/java/com/yugabyte/yw/controllers/SwaggerGenTest.java276 Field mapperField = io.swagger.util.Json.class.getDeclaredField("mapper");CODE
CRITICAL…gration/default_/common/R__Sync_System_Roles_Test.java116 com.yugabyte.yw.models.migrations.V383.Role.get(testCustomer1.getUuid(), "Admin");CODE
CRITICAL…est/java/com/yugabyte/yw/common/AccessManagerTest.java521 + com.yugabyte.yw.common.utils.FileUtils.getFileName(configName),CODE
CRITICAL…ged/src/test/java/com/yugabyte/yw/common/UtilTest.java476 org.apache.commons.io.FileUtils.deleteQuietly(new File(tmpFilePath.toString()));CODE
CRITICAL…t/java/com/yugabyte/yw/common/NodeAgentClientTest.java248 com.google.inject.util.Providers.of(mock(NodeAgentPoller.class)),CODE
CRITICAL…t/java/com/yugabyte/yw/common/NodeAgentClientTest.java329 com.google.inject.util.Providers.of(mock(NodeAgentPoller.class)),CODE
CRITICAL…t/java/com/yugabyte/yw/common/NodeAgentClientTest.java349 com.google.inject.util.Providers.of(mock(NodeAgentPoller.class)),CODE
CRITICAL…src/test/java/com/yugabyte/yw/common/LdapUtilTest.java480 com.yugabyte.yw.models.rbac.Role.get(testCustomer.getUuid(), newLdapRole.name())CODE
CRITICAL…src/test/java/com/yugabyte/yw/common/LdapUtilTest.java735 com.yugabyte.yw.models.rbac.Role.get(testCustomer.getUuid(), "Admin").getRoleUUID(),CODE
CRITICAL…src/test/java/com/yugabyte/yw/common/LdapUtilTest.java801 com.yugabyte.yw.models.rbac.Role.get(testCustomer.getUuid(), ldapMapping.getRoleUUID())CODE
CRITICAL…src/test/java/com/yugabyte/yw/common/LdapUtilTest.java823 com.yugabyte.yw.models.rbac.Role.get(testCustomer.getUuid(), "Admin").getRoleUUID(),CODE
CRITICAL…src/test/java/com/yugabyte/yw/common/LdapUtilTest.java859 com.yugabyte.yw.models.rbac.Role.get(testCustomer.getUuid(), ldapMapping.getRoleUUID())CODE
CRITICAL…src/test/java/com/yugabyte/yw/common/ModelFactory.java1255 new io.yugabyte.operator.v1alpha1.ybuniversespec.DeviceInfo();CODE
CRITICAL…/test/java/com/yugabyte/yw/common/ha/PlatformTest.java129 com.yugabyte.yw.common.utils.FileUtils.listFiles(CODE
CRITICAL…/yw/common/export/ExportTelemetryConfigMapperTest.java32 new com.yugabyte.yw.models.helpers.exporters.audit.UniverseLogsExporterConfig();CODE
CRITICAL…/yw/common/export/ExportTelemetryConfigMapperTest.java52 new com.yugabyte.yw.models.helpers.exporters.query.UniverseQueryLogsExporterConfig();CODE
CRITICAL…/yw/common/export/ExportTelemetryConfigMapperTest.java74 new com.yugabyte.yw.models.helpers.exporters.metrics.UniverseMetricsExporterConfig();CODE
CRITICAL…ugabyte/yw/common/operator/DrConfigReconcilerTest.java395 .when(() -> com.yugabyte.yw.models.DrConfig.maybeGet(modelUuid))CODE
CRITICAL…ugabyte/yw/common/operator/DrConfigReconcilerTest.java437 .when(() -> com.yugabyte.yw.models.DrConfig.maybeGet(modelUuid))CODE
CRITICAL…ugabyte/yw/common/operator/DrConfigReconcilerTest.java470 .when(() -> com.yugabyte.yw.models.DrConfig.maybeGet(modelUuid))CODE
CRITICAL…yugabyte/yw/common/operator/ReleaseReconcilerTest.java131 new io.yugabyte.operator.v1alpha1.releasespec.config.downloadconfig.gcs.Paths();CODE
CRITICAL…yugabyte/yw/common/operator/ReleaseReconcilerTest.java149 com.yugabyte.yw.models.Release.create(RELEASE_VERSION, "LTS");CODE
CRITICAL…yugabyte/yw/common/operator/ReleaseReconcilerTest.java334 com.yugabyte.yw.models.Release.create(RELEASE_VERSION, "LTS");CODE
CRITICAL…abyte/yw/common/operator/YBUniverseReconcilerTest.java742 new io.yugabyte.operator.v1alpha1.ybuniversespec.TserverVolume();CODE
CRITICAL…abyte/yw/common/operator/YBUniverseReconcilerTest.java822 new io.yugabyte.operator.v1alpha1.ybuniversespec.MasterVolume();CODE
CRITICAL…abyte/yw/common/operator/YBUniverseReconcilerTest.java910 new io.yugabyte.operator.v1alpha1.ybuniversespec.TserverVolume();CODE
CRITICAL…abyte/yw/common/operator/YBUniverseReconcilerTest.java919 new io.yugabyte.operator.v1alpha1.ybuniversespec.tservervolume.PerAZ();CODE
CRITICAL…abyte/yw/common/operator/YBUniverseReconcilerTest.java925 new io.yugabyte.operator.v1alpha1.ybuniversespec.tservervolume.PerAZ();CODE
CRITICAL…abyte/yw/common/operator/YBUniverseReconcilerTest.java1035 new io.yugabyte.operator.v1alpha1.ybuniversespec.TserverVolume();CODE
CRITICAL…abyte/yw/common/operator/YBUniverseReconcilerTest.java1154 new io.yugabyte.operator.v1alpha1.ybuniversespec.MasterVolume();CODE
CRITICAL…abyte/yw/common/operator/YBUniverseReconcilerTest.java1163 new io.yugabyte.operator.v1alpha1.ybuniversespec.mastervolume.PerAZ();CODE
CRITICAL…abyte/yw/common/operator/YBUniverseReconcilerTest.java1302 new io.yugabyte.operator.v1alpha1.ybuniversespec.TserverVolume();CODE
CRITICAL…abyte/yw/common/operator/YBUniverseReconcilerTest.java1361 new io.yugabyte.operator.v1alpha1.ybuniversespec.TserverVolume();CODE
CRITICAL…abyte/yw/common/operator/YBUniverseReconcilerTest.java1368 new io.yugabyte.operator.v1alpha1.ybuniversespec.tservervolume.PerAZ();CODE
CRITICAL…abyte/yw/common/operator/YBUniverseReconcilerTest.java1498 new io.yugabyte.operator.v1alpha1.ybuniversespec.TserverVolume();CODE
CRITICAL…abyte/yw/common/operator/YBUniverseReconcilerTest.java1505 new io.yugabyte.operator.v1alpha1.ybuniversespec.tservervolume.PerAZ();CODE
CRITICAL…abyte/yw/common/operator/YBUniverseReconcilerTest.java1510 new io.yugabyte.operator.v1alpha1.ybuniversespec.tservervolume.PerAZ();CODE
CRITICAL…abyte/yw/common/operator/YBUniverseReconcilerTest.java1599 new io.yugabyte.operator.v1alpha1.ybuniversespec.TserverVolume();CODE
CRITICAL…abyte/yw/common/operator/YBUniverseReconcilerTest.java1606 new io.yugabyte.operator.v1alpha1.ybuniversespec.tservervolume.PerAZ();CODE
CRITICAL…abyte/yw/common/operator/YBUniverseReconcilerTest.java1611 new io.yugabyte.operator.v1alpha1.ybuniversespec.tservervolume.PerAZ();CODE
CRITICAL…gabyte/yw/common/operator/utils/OperatorUtilsTest.java526 com.yugabyte.yw.models.ReleaseLocalFile.create("/tmp/k8s-artifact.tgz");CODE
CRITICAL…gabyte/yw/common/operator/utils/OperatorUtilsTest.java528 com.yugabyte.yw.models.ReleaseLocalFile.create("/tmp/x86_64-artifact.tgz");CODE
CRITICAL…t/java/com/yugabyte/yw/cloud/aws/AWSCloudImplTest.java257 software.amazon.awssdk.services.ec2.model.DescribeInstancesResponse.builder().build());CODE
CRITICAL…t/java/com/yugabyte/yw/cloud/aws/AWSCloudImplTest.java317 software.amazon.awssdk.services.ec2.model.DescribeInstanceTypesResponse.builder()CODE
CRITICAL…/yugabyte/yw/api/v2/UniverseApiControllerEditTest.java219 n.cloudInfo = new com.yugabyte.yw.models.helpers.CloudSpecificInfo();CODE
CRITICAL…test/java/com/yugabyte/yw/api/v2/UniverseTestBase.java1352 com.yugabyte.yw.cloud.UniverseResourceDetails.create(CODE
CRITICAL…v2/UniverseApiControllerExportTelemetryConfigTest.java77 com.yugabyte.yw.common.export.TelemetryConfig.of(auditConfig, null, null));CODE
CRITICAL…v2/UniverseApiControllerExportTelemetryConfigTest.java112 com.yugabyte.yw.common.export.TelemetryConfig.of(null, queryConfig, null));CODE
CRITICAL…com/yugabyte/yw/api/v2/JobSchedulerControllerTest.java88 com.yugabyte.yw.models.JobSchedule.getAll().forEach(j -> j.delete());CODE
CRITICAL…com/yugabyte/yw/api/v2/JobSchedulerControllerTest.java99 return com.yugabyte.yw.models.JobSchedule.getOrBadRequest(CODE
CRITICAL…com/yugabyte/yw/api/v2/JobSchedulerControllerTest.java105 com.yugabyte.yw.models.JobSchedule.getOrBadRequest(jobScheduleUuid);CODE
CRITICAL…com/yugabyte/yw/api/v2/JobSchedulerControllerTest.java174 com.yugabyte.yw.models.JobSchedule.getOrBadRequest(jobSchedule.getUuid());CODE
CRITICAL…com/yugabyte/yw/api/v2/JobSchedulerControllerTest.java180 com.yugabyte.yw.models.JobSchedule.getOrBadRequest(jobSchedules.get(1).getUuid());CODE
CRITICAL…com/yugabyte/yw/api/v2/JobSchedulerControllerTest.java203 com.yugabyte.yw.models.JobSchedule.getOrBadRequest(jobSchedule.getUuid());CODE
CRITICAL…com/yugabyte/yw/api/v2/JobSchedulerControllerTest.java212 com.yugabyte.yw.models.JobSchedule.getOrBadRequest(jobSchedules.get(1).getUuid());CODE
CRITICAL…/yugabyte/yw/api/v2/mappers/ImageBundleMapperTest.java34 new com.yugabyte.yw.models.ImageBundle.Metadata();CODE
152 more matches not shown…
Cross-File Repetition297 hits · 1485 pts
SeverityFileLineSnippetContext
HIGHmanaged/devops/opscli/ybops/cloud/azure/cloud.py0override for superclass method to detect if current instance has cloud access credentials.STRING
HIGHmanaged/devops/opscli/ybops/cloud/gcp/cloud.py0override for superclass method to detect if current instance has cloud access credentials.STRING
HIGHmanaged/devops/opscli/ybops/cloud/aws/cloud.py0override for superclass method to detect if current instance has cloud access credentials.STRING
HIGHmanaged/devops/opscli/ybops/cloud/onprem/cloud.py0override to setup the cloud-specific instances of the subcommands.STRING
HIGHmanaged/devops/opscli/ybops/cloud/gcp/cloud.py0override to setup the cloud-specific instances of the subcommands.STRING
HIGHmanaged/devops/opscli/ybops/cloud/aws/cloud.py0override to setup the cloud-specific instances of the subcommands.STRING
HIGH…thon/ai/rag_agent/tests/test_pipeline_comprehensive.py0test reading a large local file with small chunk size.STRING
HIGHpython/ai/rag_agent/tests/test_pipeline_final.py0test reading a large local file with small chunk size.STRING
HIGHpython/ai/rag_agent/tests/test_pipeline_simple.py0test reading a large local file with small chunk size.STRING
HIGH…thon/ai/rag_agent/tests/test_pipeline_comprehensive.py0test cases for stream_partition_and_chunk function.STRING
HIGHpython/ai/rag_agent/tests/test_pipeline_final.py0test cases for stream_partition_and_chunk function.STRING
HIGHpython/ai/rag_agent/tests/test_pipeline_simple.py0test cases for stream_partition_and_chunk function.STRING
HIGH…thon/ai/rag_agent/tests/test_pipeline_comprehensive.py0first paragraph. with multiple lines. second paragraph. also with content. third paragraph.STRING
HIGHpython/ai/rag_agent/tests/test_pipeline_final.py0first paragraph. with multiple lines. second paragraph. also with content. third paragraph.STRING
HIGHpython/ai/rag_agent/tests/test_pipeline_simple.py0first paragraph. with multiple lines. second paragraph. also with content. third paragraph.STRING
HIGH…thon/ai/rag_agent/tests/test_pipeline_comprehensive.py0first paragraph. second paragraph. third paragraph.STRING
HIGHpython/ai/rag_agent/tests/test_pipeline_final.py0first paragraph. second paragraph. third paragraph.STRING
HIGHpython/ai/rag_agent/tests/test_pipeline_simple.py0first paragraph. second paragraph. third paragraph.STRING
HIGHpython/ai/rag_agent/models/__init__.py0data models for the rag preprocessor. this module contains standard data classes used across different document processoSTRING
HIGH…thon/ai/rag_agent/source_location_crawlers/__init__.py0data models for the rag preprocessor. this module contains standard data classes used across different document processoSTRING
HIGHpython/ai/rag_agent/work_queue/__init__.py0data models for the rag preprocessor. this module contains standard data classes used across different document processoSTRING
HIGH…pi/ysql/datatypes/type_array/literals/array-of-rows.md0","2005-01-20 12:10:05",f) (6,"\\","2006-01-20 12:10:05",) ``` the `int` field and the `timestamp` field are unremarkablSTRING
HIGH…pi/ysql/datatypes/type_array/literals/array-of-rows.md0","2005-01-20 12:10:05",f) (6,"\\","2006-01-20 12:10:05",) ``` the `int` field and the `timestamp` field are unremarkablSTRING
HIGH…pi/ysql/datatypes/type_array/literals/array-of-rows.md0","2005-01-20 12:10:05",f) (6,"\\","2006-01-20 12:10:05",) ``` the `int` field and the `timestamp` field are unremarkablSTRING
HIGH…pi/ysql/datatypes/type_array/literals/array-of-rows.md0","2005-01-20 12:10:05",f) (6,"\\","2006-01-20 12:10:05",) ``` the `int` field and the `timestamp` field are unremarkablSTRING
HIGH…pi/ysql/datatypes/type_array/literals/array-of-rows.md0","2005-01-20 12:10:05",f) (6,"\\","2006-01-20 12:10:05",) ``` the `int` field and the `timestamp` field are unremarkablSTRING
HIGH…/v2025.2/api/ysql/datatypes/type_array/literals/row.md0","\\",) ``` this is rather hard (for the human) to parse. to make the rules easier to see, the syntactically significanSTRING
HIGH…t/stable/api/ysql/datatypes/type_array/literals/row.md0","\\",) ``` this is rather hard (for the human) to parse. to make the rules easier to see, the syntactically significanSTRING
HIGH…/v2025.1/api/ysql/datatypes/type_array/literals/row.md0","\\",) ``` this is rather hard (for the human) to parse. to make the rules easier to see, the syntactically significanSTRING
HIGH…nt/v2.20/api/ysql/datatypes/type_array/literals/row.md0","\\",) ``` this is rather hard (for the human) to parse. to make the rules easier to see, the syntactically significanSTRING
HIGH…/v2024.2/api/ysql/datatypes/type_array/literals/row.md0","\\",) ``` this is rather hard (for the human) to parse. to make the rules easier to see, the syntactically significanSTRING
HIGH…/content/v2025.2/reference/configuration/yb-tserver.md0``` to set the flag, join the fields using a comma (`,`) and enclose the final flag value in single quotes (`'`): ```sh STRING
HIGH…s/content/v2025.2/reference/configuration/yb-master.md0``` to set the flag, join the fields using a comma (`,`) and enclose the final flag value in single quotes (`'`): ```sh STRING
HIGH…s/content/stable/reference/configuration/yb-tserver.md0``` to set the flag, join the fields using a comma (`,`) and enclose the final flag value in single quotes (`'`): ```sh STRING
HIGH…cs/content/stable/reference/configuration/yb-master.md0``` to set the flag, join the fields using a comma (`,`) and enclose the final flag value in single quotes (`'`): ```sh STRING
HIGH…/content/v2025.1/reference/configuration/yb-tserver.md0``` to set the flag, join the fields using a comma (`,`) and enclose the final flag value in single quotes (`'`): ```sh STRING
HIGH…cs/content/v2.20/reference/configuration/yb-tserver.md0``` to set the flag, join the fields using a comma (`,`) and enclose the final flag value in single quotes (`'`): ```sh STRING
HIGH…/content/v2024.2/reference/configuration/yb-tserver.md0``` to set the flag, join the fields using a comma (`,`) and enclose the final flag value in single quotes (`'`): ```sh STRING
HIGH…table/develop/drivers-orms/python/yugabyte-psycopg3.md0create table employee (id int primary key, name varchar, age int, language varchar)STRING
HIGH…table/develop/drivers-orms/python/yugabyte-psycopg2.md0create table employee (id int primary key, name varchar, age int, language varchar)STRING
HIGH…table/develop/drivers-orms/python/postgres-psycopg2.md0create table employee (id int primary key, name varchar, age int, language varchar)STRING
HIGH…ty-extensions/pg_partman/test/test-time-id-subpart.sql0, 'check time_taptest_table_p'||to_char(current_timestamp-'3 days'::interval, 'yyyy_mm_dd')||'_p100 was removed from parSTRING
HIGH…st/test_native/yb.port.test-time-id-subpart-native.sql0, 'check time_taptest_table_p'||to_char(current_timestamp-'3 days'::interval, 'yyyy_mm_dd')||'_p100 was removed from parSTRING
HIGH…t_native/yb.port.test-time-epoch-id-subpart-native.sql0, 'check time_taptest_table_p'||to_char(current_timestamp-'3 days'::interval, 'yyyy_mm_dd')||'_p100 was removed from parSTRING
HIGH…test/test_native/test-time-epoch-id-subpart-native.sql0, 'check time_taptest_table_p'||to_char(current_timestamp-'3 days'::interval, 'yyyy_mm_dd')||'_p100 was removed from parSTRING
HIGH…rtman/test/test_native/test-time-id-subpart-native.sql0, 'check time_taptest_table_p'||to_char(current_timestamp-'3 days'::interval, 'yyyy_mm_dd')||'_p100 was removed from parSTRING
HIGH…ty-extensions/pg_partman/test/test-time-id-subpart.sql0, 'check time_taptest_table_p'||to_char(current_timestamp-'4 days'::interval, 'yyyy_mm_dd')||'_p100 was removed from parSTRING
HIGH…st/test_native/yb.port.test-time-id-subpart-native.sql0, 'check time_taptest_table_p'||to_char(current_timestamp-'4 days'::interval, 'yyyy_mm_dd')||'_p100 was removed from parSTRING
HIGH…t_native/yb.port.test-time-epoch-id-subpart-native.sql0, 'check time_taptest_table_p'||to_char(current_timestamp-'4 days'::interval, 'yyyy_mm_dd')||'_p100 was removed from parSTRING
HIGH…test/test_native/test-time-epoch-id-subpart-native.sql0, 'check time_taptest_table_p'||to_char(current_timestamp-'4 days'::interval, 'yyyy_mm_dd')||'_p100 was removed from parSTRING
HIGH…rtman/test/test_native/test-time-id-subpart-native.sql0, 'check time_taptest_table_p'||to_char(current_timestamp-'4 days'::interval, 'yyyy_mm_dd')||'_p100 was removed from parSTRING
HIGH…ty-extensions/pg_partman/test/test-id-time-subpart.sql0, 'check that partman_test.id_taptest_table_p0 was removed from part_config'); select is_empty('select parent_table fromSTRING
HIGH…test_upsert/test-id-time-subpart-upsert-do-nothing.sql0, 'check that partman_test.id_taptest_table_p0 was removed from part_config'); select is_empty('select parent_table fromSTRING
HIGH…rtman/test/test_native/test-id-time-subpart-native.sql0, 'check that partman_test.id_taptest_table_p0 was removed from part_config'); select is_empty('select parent_table fromSTRING
HIGH…e/yb.port.test-id-time-subpart-custom-start-native.sql0, 'check that partman_test.id_taptest_table_p0 was removed from part_config'); select is_empty('select parent_table fromSTRING
HIGH…st_native/test-id-time-subpart-custom-start-native.sql0, 'check that partman_test.id_taptest_table_p0 was removed from part_config'); select is_empty('select parent_table fromSTRING
HIGH…st/test_native/yb.port.test-id-time-subpart-native.sql0, 'check that partman_test.id_taptest_table_p0 was removed from part_config'); select is_empty('select parent_table fromSTRING
HIGH…ty-extensions/pg_partman/test/test-id-time-subpart.sql0, 'check that partman_test.id_taptest_table_p20 was removed from part_config'); select is_empty('select parent_table froSTRING
HIGH…test_upsert/test-id-time-subpart-upsert-do-nothing.sql0, 'check that partman_test.id_taptest_table_p20 was removed from part_config'); select is_empty('select parent_table froSTRING
HIGH…rtman/test/test_native/test-id-time-subpart-native.sql0, 'check that partman_test.id_taptest_table_p20 was removed from part_config'); select is_empty('select parent_table froSTRING
237 more matches not shown…
Decorative Section Separators337 hits · 1099 pts
SeverityFileLineSnippetContext
MEDIUMyb_build.sh605# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMyb_build.sh607# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMyb_build.sh646# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMyb_build.sh648# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMyb_build.sh834# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMyb_build.sh836# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMyb_build.sh866# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMyb_build.sh868# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMyb_build.sh885# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMyb_build.sh891# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMyb_build.sh919# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMyb_build.sh921# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMyb_build.sh947# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMyb_build.sh949# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt854# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt856# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt866# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt987# ------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt989# ------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt999# ------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt1001# ------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt217# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt219# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt234# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt315# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt317# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt758# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt830# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt832# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt895# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt897# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-flag-reader.py30# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-flag-reader.py32# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-flag-reader.py59# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-flag-reader.py61# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-flag-reader.py117# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-flag-reader.py119# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-flag-reader.py166# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-flag-reader.py168# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-flag-reader.py343# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-flag-reader.py345# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-flag-reader.py356# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-flag-reader.py358# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-log-finder.py293# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-log-finder.py295# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-log-finder.py349# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-log-finder.py351# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-log-finder.py27# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-log-finder.py29# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-log-finder.py48# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-log-finder.py50# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-log-finder.py61# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-log-finder.py63# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-log-finder.py77# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-log-finder.py79# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-log-finder.py158# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-log-finder.py160# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-log-finder.py196# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-log-finder.py198# ---------------------------------------------------------------------------COMMENT
MEDIUMyb-bundle-log-finder.py270# ---------------------------------------------------------------------------COMMENT
277 more matches not shown…
Hyper-Verbose Identifiers675 hits · 676 pts
SeverityFileLineSnippetContext
LOWyb-bundle-log-finder.py298def _first_last_chunks_from_gz(gz_bytes: bytes) -> Tuple[bytes, bytes]:CODE
LOWyb-bundle-log-finder.py249def extract_date_from_filename(filename: str) -> Optional[datetime.datetime]:CODE
LOWmanaged/ui/src/utils/ObjectUtils.js64export function sortByLengthOfArrayProperty(array, propertyName) {CODE
LOWmanaged/ui/src/utils/ObjectUtils.js284export function insertSpacesFromCamelCase(string) {CODE
LOWmanaged/ui/src/utils/ObjectUtils.js302export function isYAxisGreaterThanThousand(dataArray) {CODE
LOWmanaged/ui/src/utils/tableUtils.ts51export function getTableTotalStorageBytes(table: TableWithSstAndWalBytes): number | undefined {CODE
LOWmanaged/ui/src/utils/tableUtils.ts76export function compareTotalStorageBytesForSort(CODE
LOWmanaged/ui/src/utils/tableUtils.ts98export function getXClusterReplicationTableTotalStorageBytes(CODE
LOW…ter/sharedComponents/tableSelect/ConfigTableSelect.tsx449function getSelectionOptionsFromTables(CODE
LOW…nts/panels/UniverseDisplayPanel/universeDisplaySort.ts9export function compareUniversesForDashboardDisplay(CODE
LOW…ommon/forms/RollingUpgradeForm/EncryptionInTransit.jsx38function disableUniverseEncryption(values, inputName, currentValue, setFieldValue) {CODE
LOWmanaged/ui/src/components/users/UserAuth/OIDCApi.ts27export function deleteOIDCMappingByGroupName(groupName: string) {CODE
LOW…/components/backupv2/components/BackupRestoreModal.tsx400function RestoreChooseUniverseForm({CODE
LOW…s/UniverseSupportBundle/UniverseSupportBundleModal.jsx239export function fetchEstimatedSupportBundleSize(universeUUID, supportBundle) {CODE
LOW…ponents/configRedesign/providerRedesign/forms/utils.ts234export function useIsProviderValidationEnabled(CODE
LOW…n/components/linuxVersionCatalog/LinuxVersionUtils.tsx269export function IsImgBundleInUseEditEnabled() {CODE
LOW…esign/features/rbac/policy/RolesAndResourceMapping.tsx121function isBuiltInRoleSelectionForbidden(CODE
LOW…eatures/tasks/components/drawerComp/SubTaskDetails.tsx245function getSubTaskGroupTotalTimeMs(tasks: SubTaskInfo[]): number | null {CODE
LOW…e-actions/edit-multi-tenancy/multiTenancyQosDbCount.ts9export function clampMultiTenancyQosMaxDbCpuPercent(value: unknown): number {CODE
LOW…e-actions/edit-multi-tenancy/multiTenancyQosDbCount.ts25export function clampMultiTenancyQosMaxDbCount(value: unknown): number {CODE
LOW…e-actions/edit-multi-tenancy/EditMultiTenancyModal.tsx104function getMultiTenancyFormDefaults(CODE
LOW…form/form/fields/AZOverridesField/AZOverridesModal.tsx62function stripMasterFromAzOverrides(overrides: Record<string, AZOverridePerAZ>): void {CODE
LOW…ures-v2/universe/edit-universe/editUniverseTabUtils.ts5export function parseEditUniverseTabFromPath(tab?: string): EditUniverseTabs {CODE
LOW…ures-v2/universe/edit-universe/editUniverseTabUtils.ts16export function getEditUniverseSettingsRoute(CODE
LOW…rse/edit-universe/__fixtures__/editUniverseFixtures.ts177export function makeNonGeoUniverseWithDedicatedNodeDetails(): Universe {CODE
LOW…rse/edit-universe/__fixtures__/editUniverseFixtures.ts232export function makeReadReplicaClusterPlacementSpecOnly() {CODE
LOW…rse/edit-universe/__fixtures__/editUniverseFixtures.ts255export function makeReadReplicaClusterWithPartitionsSpec() {CODE
LOW…rse/edit-universe/__fixtures__/editUniverseFixtures.ts300export function makeNonGeoUniverseWithReadReplicaPlacementSpec(): Universe {CODE
LOW…rse/edit-universe/__fixtures__/editUniverseFixtures.ts310export function makeNonGeoUniverseWithReadReplicaPartitions(): Universe {CODE
LOW…rse/edit-universe/__fixtures__/editUniverseFixtures.ts378export function makeSingleGeoPartitionUniverse(): Universe {CODE
LOW…rse/edit-universe/__fixtures__/editUniverseFixtures.ts403export function makeGeoUniverseWithDedicatedNodeDetails(): Universe {CODE
LOW…rse/edit-universe/__fixtures__/editUniverseFixtures.ts417export function makeGeoUniverseWithReadReplicaPartitions(): Universe {CODE
LOW…rse/edit-universe/__fixtures__/editUniverseFixtures.ts429export function makeGeoUniverseWithReadReplicaPlacementSpecOnly(): Universe {CODE
LOW…t-placement/normalizeEditPlacementNodesAvailability.ts61function flattenZonesInRegionOrder(CODE
LOW…t-placement/normalizeEditPlacementNodesAvailability.ts102function overlayExistingOntoExpected(CODE
LOW…t-placement/normalizeEditPlacementNodesAvailability.ts177export function needsEditPlacementNodesNormalization(CODE
LOW…t-placement/normalizeEditPlacementNodesAvailability.ts213export function normalizeEditPlacementNodesAvailability(CODE
LOW…universe/CreateUniverseUtils.replicationFactor.test.ts126function expectValidPerAzReplication(CODE
LOW…niverse/create-universe/utils/resilienceReplication.ts17export function getGuidedNodesStepReplicationFactor(CODE
LOW…niverse/create-universe/utils/resilienceReplication.ts28export function getEffectiveReplicationFactorForResilience(CODE
LOW…erse/create-universe/utils/placementAndAvailability.ts207function expertMultiRegionRfAndAzCount(regionCount: number): { rf: number; azCount: number } | null {CODE
LOW…erse/create-universe/utils/placementAndAvailability.ts252function distributeNodesUntilTotalAtLeastRf(CODE
LOW…erse/create-universe/utils/placementAndAvailability.ts283export function reduceExpertNodeCountsToAtMostRf(CODE
LOW…erse/create-universe/utils/placementAndAvailability.ts357export function getExpertNodesStepDefaultPlacement(CODE
LOW…erse/create-universe/utils/placementAndAvailability.ts432export function distributeReplicationFactorAcrossAzs(CODE
LOW…te-universe/steps/general-settings/ValidationSchema.ts13 async function validateUniqueUniverseName(this: Yup.TestContext, value: string | null | undefined) {CODE
LOW…eps/nodes-availability/NodesAvailabilityMapSection.tsx16export function NodesAvailabilityMapSection({CODE
LOW…e/steps/nodes-availability/useNodesAvailabilityStep.ts46function getGuidedPlacementSyncSignature(r: ResilienceAndRegionsProps): string {CODE
LOW…e/steps/nodes-availability/useNodesAvailabilityStep.ts57function regionCodesMatchAvailabilityZones(CODE
LOW…e/steps/nodes-availability/useNodesAvailabilityStep.ts75export function applyNodesStepPlacementFromResilience(CODE
LOW…/nodes-availability/NodesAvailabilityGuidedLayouts.tsx27export function GuidedNodesAvailabilityDefaultLayout({CODE
LOW…/nodes-availability/NodesAvailabilityGuidedLayouts.tsx46export function GuidedNodesAvailabilityGeoLayout({CODE
LOW…/nodes-availability/NodesAvailabilityExpertLayouts.tsx26export function ExpertNodesAvailabilityDefaultLayout({CODE
LOW…/nodes-availability/NodesAvailabilityExpertLayouts.tsx43export function ExpertNodesAvailabilityGeoLayout({CODE
LOW…s/nodes-availability/ExpertNodesReplicationSection.tsx34function ExpertNodesRequirementHint({CODE
LOW…s/nodes-availability/ExpertNodesReplicationSection.tsx101export function ExpertNodesReplicationSection({CODE
LOW…s/nodes-availability/NodesAvailability_guided.test.tsx74function makeAvailabilityZonesWithNodeCount(CODE
LOW…s/nodes-availability/NodesAvailability_guided.test.tsx104function makeValidAvailabilityZonesForRegion(CODE
LOW…s/nodes-availability/NodesAvailability_guided.test.tsx119function makeAvailabilityZonesThreeRegionsPreferredGap(): NodeAvailabilityProps['availabilityZones'] {CODE
LOW…s/nodes-availability/NodesAvailability_guided.test.tsx165function renderNodesAndTriggerNext(contextValue: ReturnType<typeof getContextValue>) {CODE
615 more matches not shown…
Structural Annotation Overuse227 hits · 367 pts
SeverityFileLineSnippetContext
LOW…taller/pkg/secretstore/internal/filestore/filestore.go77// NOTE: This method should only be called while holding fs.mu write lockCOMMENT
LOW…yte/yw/commissioner/tasks/local/XClusterLocalTest.java721 // Step 1: Create a new xCluster replication between source and target universes.COMMENT
LOW…yte/yw/commissioner/tasks/local/XClusterLocalTest.java770 // Step 2: Drop a table from the source universe and validate the status change.COMMENT
LOW…yte/yw/commissioner/tasks/local/XClusterLocalTest.java791 // Step 3: Re-add the table to the source universe (it will have a new table ID).COMMENT
LOW…yte/yw/commissioner/tasks/local/XClusterLocalTest.java836 // Step 4: Remove the dropped table from the existing replication.COMMENT
LOW…yte/yw/commissioner/tasks/local/XClusterLocalTest.java860 // Step 5: Add the re-added table to the existing replication.COMMENT
LOW…yte/yw/commissioner/tasks/local/XClusterLocalTest.java872 // Step 6: Validate the final status is "Running".COMMENT
LOW…com/yugabyte/yw/common/kms/util/OciEARServiceUtil.java438 // Step 1: fail fast on blank fields not already covered by getCredentials().COMMENT
LOW…com/yugabyte/yw/common/kms/util/OciEARServiceUtil.java449 // Step 2: parse region locally no network call, catches completely invalid strings early.COMMENT
LOW…com/yugabyte/yw/common/kms/util/OciEARServiceUtil.java486 // Step 4: validate vault credentials are confirmed valid at this point, so a failure hereCOMMENT
LOW…com/yugabyte/yw/common/kms/util/OciEARServiceUtil.java508 // Step 5: validate the key by name (the single source of truth).COMMENT
LOW…/yugabyte/yw/common/operator/YBUniverseReconciler.java1908 // Step 0: for the new cluster create case, merge universe-level helm overrides into the baseCOMMENT
LOW…/yugabyte/yw/common/operator/YBUniverseReconciler.java1916 // Step 1: collect perAZ-derived overrides per server type, and remember which server typesCOMMENT
LOW…/yugabyte/yw/common/operator/YBUniverseReconciler.java1945 // Step 2: start from the existing userIntentOverrides (clone so we don't mutate state weCOMMENT
LOW…/yugabyte/yw/common/operator/YBUniverseReconciler.java1953 // Step 3: for server types that have perAZ in spec, remove any existing entries for thoseCOMMENT
LOW…/yugabyte/yw/common/operator/YBUniverseReconciler.java1960 // Step 4: add perAZ-derived entries for the server types that have perAZ in spec.COMMENT
LOW…/yugabyte/yw/common/operator/YBUniverseReconciler.java1966 // Step 5: for the server types that did not specify perAZ, run the standard fallbackCOMMENT
LOW…sioner/tasks/upgrade/CertsRotateKubernetesUpgrade.java89 // Step 1: Create temporary multi-cert with old cert first, new cert laterCOMMENT
LOW…sioner/tasks/upgrade/CertsRotateKubernetesUpgrade.java97 // Step 2: Reverse the cert order - new cert first, old cert laterCOMMENT
LOW…sioner/tasks/upgrade/CertsRotateKubernetesUpgrade.java105 // Step 3: Reset to use only the new rootCACOMMENT
LOW.claude/commands/backport-commit.md33### Step 1: Run the backport script with all branches at onceCOMMENT
LOW.claude/commands/backport-commit.md50### Step 2: Resolve conflicts (only if exit code 2)COMMENT
LOW.claude/commands/backport-commit.md101### Step 3: Capture PR URLsCOMMENT
LOW.claude/commands/backport-commit.md105### Step 4: Annotate the PR body for every branch where a conflict was resolved by handCOMMENT
LOW.claude/commands/backport-commit.md134### Step 5: Trigger Jenkins on every PRCOMMENT
LOW.claude/commands/backport-commit.md142### Step 6: Report back to the userCOMMENT
LOW.claude/skills/create-issue/SKILL.md68### Step 1: Decide the tracker — GitHub vs JIRACOMMENT
LOW.claude/skills/create-issue/SKILL.md79### Step 2: Gather title metadataCOMMENT
LOW.claude/skills/create-issue/SKILL.md155### Step 4: Report backCOMMENT
LOW.claude/skills/create-diff/SKILL.md83### Step 1: Commit pending changesCOMMENT
LOW.claude/skills/create-diff/SKILL.md99### Step 2: Run linter and confirm no lint errorsCOMMENT
LOW.claude/skills/create-diff/SKILL.md110### Step 3: Determine tracker referenceCOMMENT
LOW.claude/skills/create-diff/SKILL.md153### Step 4: Build the titleCOMMENT
LOW.claude/skills/create-diff/SKILL.md165### Step 5: Determine subscribersCOMMENT
LOW.claude/skills/create-diff/SKILL.md177### Step 6: Create the diff with `arc diff --create`COMMENT
LOW.claude/skills/create-diff/SKILL.md220### Step 7: Post a "trigger jenkins" commentCOMMENT
LOW.claude/skills/create-diff/SKILL.md237### Step 8: Report back to the userCOMMENT
LOW.claude/skills/review-backport/SKILL.md43### Step 1: Fetch the backport revisionCOMMENT
LOW.claude/skills/review-backport/SKILL.md58### Step 2: Parse the summary for referencesCOMMENT
LOW.claude/skills/review-backport/SKILL.md75### Step 3: Fetch the original revisionCOMMENT
LOW.claude/skills/review-backport/SKILL.md84### Step 4: Get the latest diff ID for each revisionCOMMENT
LOW.claude/skills/review-backport/SKILL.md100### Step 5: Get raw diffsCOMMENT
LOW.claude/skills/review-backport/SKILL.md114### Step 6: Fetch additional referenced diffs (if any)COMMENT
LOW.claude/skills/review-backport/SKILL.md124### Step 7: Compare and reviewCOMMENT
LOW.claude/skills/review-backport/SKILL.md149### Step 8: Trace unexplained differences back to their origin on masterCOMMENT
LOW.claude/skills/review-backport/SKILL.md182### Step 9: Produce the review reportCOMMENT
LOW.claude/skills/create-pr/SKILL.md46### Step 1: Commit pending changesCOMMENT
LOW.claude/skills/create-pr/SKILL.md58### Step 2: Base branchCOMMENT
LOW.claude/skills/create-pr/SKILL.md62### Step 3: Gather PR metadataCOMMENT
LOW.claude/skills/create-pr/SKILL.md91### Step 4: Build the titleCOMMENT
LOW.claude/skills/create-pr/SKILL.md110### Step 5: Run `create-pr.sh` to rebase, lint, push, and open the PRCOMMENT
LOW.claude/skills/create-pr/SKILL.md155### Step 6: Report back to the userCOMMENT
LOW…/java/org/yb/yugabyted/TestYugabytedBackupRestore.java195// // Step 3: Setup necessary directories for backupCOMMENT
LOW…/java/org/yb/yugabyted/TestYugabytedBackupRestore.java204// // // Step 4: Run the backup commandCOMMENT
LOW…/java/org/yb/yugabyted/TestYugabytedBackupRestore.java208// // // Step 5: Check the backup status until completionCOMMENT
LOW…sql/src/test/java/org/yb/pgsql/TestPgListenNotify.java1316 // Step 1: LISTEN to trigger replication slot creation.COMMENT
LOW…sql/src/test/java/org/yb/pgsql/TestPgListenNotify.java1321 // Step 2: Verify the notifications replication slot exists.COMMENT
LOW…sql/src/test/java/org/yb/pgsql/TestPgListenNotify.java1328 // Step 3: Crash tserver 0 and restart it.COMMENT
LOW…sql/src/test/java/org/yb/pgsql/TestPgListenNotify.java1332 // Step 4: Poll a surviving tserver until the old slot is gone.COMMENT
LOW…sql/src/test/java/org/yb/pgsql/TestPgListenNotify.java1369 // Step 1: LISTEN to trigger replication slot creation.COMMENT
167 more matches not shown…
Excessive Try-Catch Wrapping321 hits · 326 pts
SeverityFileLineSnippetContext
LOWyb-bundle-flag-reader.py107 except Exception:CODE
LOWyb-bundle-flag-reader.py229 except Exception:CODE
LOWyb-bundle-flag-reader.py415 except Exception:STRING
MEDIUMyb-bundle-flag-reader.py226def _term_width() -> int:CODE
MEDIUMyb-bundle-log-finder.py201def _safe_dt(*args):CODE
LOWyb-bundle-log-finder.py334 except Exception:CODE
LOWyb-bundle-log-finder.py344 except Exception:CODE
LOWyb-bundle-log-finder.py310 except Exception:CODE
LOWyb-bundle-log-finder.py471 except Exception:CODE
LOWyb-bundle-log-finder.py509 except Exception:CODE
LOWyb-bundle-log-finder.py525 except Exception:CODE
LOWyb-bundle-log-finder.py551 except Exception:CODE
LOWyb-bundle-log-finder.py571 except Exception:CODE
LOWyb-bundle-log-finder.py615 except Exception:CODE
LOWyb-bundle-log-finder.py627 except Exception:CODE
LOWyb-bundle-log-finder.py874 except Exception:STRING
LOWmanaged/devops/bin/run_node_action.py431 except Exception as e:CODE
LOWmanaged/devops/bin/run_node_action.py449 except Exception as e:CODE
LOWmanaged/devops/bin/yb_netprob.py117 except Exception as e:CODE
LOWmanaged/devops/bin/yb_netprob.py224 except Exception as e:CODE
LOWmanaged/devops/bin/yb_netprob.py252 except Exception as e:CODE
MEDIUMmanaged/devops/bin/yb_netprob.py253 print(f"Error checking if server {server_address} is ready: {str(e)}")CODE
LOWmanaged/devops/bin/yb_netprob.py280 except Exception:CODE
LOWmanaged/devops/bin/yb_netprob.py313 except Exception as e:CODE
LOWmanaged/devops/bin/yb_netprob.py374 except Exception as e:CODE
MEDIUMmanaged/devops/bin/yb_backup.py139def terminating(thing):CODE
MEDIUMmanaged/devops/bin/yb_backup.py4086def TEST_yb_admin_unsupported_commands(self):CODE
LOWmanaged/devops/bin/yb_backup.py353 except Exception as ex:CODE
LOWmanaged/devops/bin/yb_backup.py509 except Exception as ex:CODE
LOWmanaged/devops/bin/yb_backup.py1135 except Exception as ex:CODE
LOWmanaged/devops/bin/yb_backup.py1182 except Exception as ex:CODE
LOWmanaged/devops/bin/yb_backup.py1606 except Exception:CODE
LOWmanaged/devops/bin/yb_backup.py1859 except Exception as ex:CODE
LOWmanaged/devops/bin/yb_backup.py1957 except Exception as ex:CODE
LOWmanaged/devops/bin/yb_backup.py2120 except Exception as ex:CODE
LOWmanaged/devops/bin/yb_backup.py2455 except Exception as ex:CODE
LOWmanaged/devops/bin/yb_backup.py2994 except Exception as ex:CODE
LOWmanaged/devops/bin/yb_backup.py3018 except Exception as ex:CODE
LOWmanaged/devops/bin/yb_backup.py3084 except Exception as ex:CODE
LOWmanaged/devops/bin/yb_backup.py3650 except Exception as ex:CODE
LOWmanaged/devops/bin/yb_backup.py4022 except Exception as ex:CODE
LOWmanaged/devops/bin/yb_backup.py4104 except Exception as ex:CODE
LOWmanaged/devops/bin/yb_backup.py4121 except Exception as ex:CODE
LOWmanaged/devops/bin/yb_platform_util.py75 except Exception as exception:CODE
LOWmanaged/devops/opscli/ybops/utils/ssh.py62 except Exception as e:CODE
LOWmanaged/devops/opscli/ybops/utils/ssh.py97 except Exception:CODE
LOWmanaged/devops/opscli/ybops/utils/ssh.py102 except Exception:CODE
LOWmanaged/devops/opscli/ybops/utils/ssh.py148 except Exception as ex:CODE
LOWmanaged/devops/opscli/ybops/utils/ssh.py190 except Exception as e:CODE
LOWmanaged/devops/opscli/ybops/utils/ssh.py512 except Exception as e:CODE
LOWmanaged/devops/opscli/ybops/utils/ssh.py537 except Exception as e:CODE
LOWmanaged/devops/opscli/ybops/utils/remote_shell.py57 except Exception as e:CODE
LOWmanaged/devops/opscli/ybops/utils/remote_shell.py87 except Exception as e:CODE
LOWmanaged/devops/opscli/ybops/utils/remote_shell.py244 except Exception as e:CODE
LOWmanaged/devops/opscli/ybops/utils/remote_shell.py322 except Exception as e:CODE
LOWmanaged/devops/opscli/ybops/cloud/ybcloud.py70 except Exception as e:CODE
LOWmanaged/devops/opscli/ybops/cloud/azure/utils.py106 except Exception as e:CODE
LOWmanaged/devops/opscli/ybops/cloud/azure/utils.py536 except Exception as e:CODE
LOWmanaged/devops/opscli/ybops/cloud/azure/utils.py566 except Exception as e:CODE
LOWmanaged/devops/opscli/ybops/cloud/azure/utils.py1236 except Exception as e:CODE
261 more matches not shown…
Self-Referential Comments100 hits · 295 pts
SeverityFileLineSnippetContext
MEDIUMyb_build.sh63 # Create a filter with wildcards that match all possiblilities. For example,COMMENT
MEDIUMyb_build.sh541# This function is used to propagate a boolean variable to a CMake variable. For example, if we haveCOMMENT
MEDIUM.ycm_extra_conf.py34# This file is based on the example configuration file from YouCompleteMe.COMMENT
MEDIUMmanaged/devops/bin/common.sh403# Create the given directory and all its parent directories if it does notCOMMENT
MEDIUMmanaged/devops/bin/yb_backup.py745 # This function is only used by the s3 code path which unit tests do not use.COMMENT
MEDIUMmanaged/devops/opscli/ybops/utils/replicated.py76 # Create a new release in replicatedCOMMENT
MEDIUMmanaged/devops/opscli/ybops/cloud/gcp/utils.py273 # Create the network if it didn't already exist.COMMENT
MEDIUMmanaged/devops/opscli/ybops/cloud/gcp/utils.py597 # Create a persistent disk with waitCOMMENT
MEDIUMmanaged/devops/opscli/ybops/cloud/common/method.py1378 # Create the gFlag file directory before copying the file.COMMENT
MEDIUMmanaged/devops/opscli/ybops/data/configure_nic.sh63 # Create the route table for the customer side.COMMENT
MEDIUMmanaged/devops/opscli/ybops/data/configure_nic.sh72 # Create the route table for the management side.COMMENT
MEDIUMmanaged/api-examples/python-simple/create-universe.py67# Create the user intent using the above information.COMMENT
MEDIUMmanaged/scripts/collect-k8spods-logs.sh46 # Create a namespace/podname directory inside temp directory.COMMENT
MEDIUM…staller/config/templates/yb-installer-perf-advisor.yml7 # This file is generated from pa-ctl.yml configurationCOMMENT
MEDIUMmanaged/node-agent/build.sh305 # Create the tar.gz package without ./ prefix.COMMENT
MEDIUMmanaged/node-agent/resources/node-agent-installer.sh243 #Create a new symlink between node-agent/pkg -> node-agent/release/<version>.COMMENT
MEDIUMbin/configure_clockbound.sh368 # Create the clockbound service file based on systemd versionCOMMENT
MEDIUMpython/yugabyte/yb_release_core_db.py449 # Create a tar.gz (we almost always do this, can be skipped in debug mode)COMMENT
MEDIUMpython/yugabyte/yb_dist_tests.py115 # This module is expected to be under python/yugabyte.COMMENT
MEDIUMpython/yugabyte/compiler_args.py13# This module provides utilities for manupulating compiler arguments and extracting informationCOMMENT
MEDIUMpython/ai/rag_agent/start_rag_agent.py429 # Create a temporary FastAPI app just to use the lifespan context managerCOMMENT
MEDIUMpython/ai/rag_agent/pdf_processing/process_pdf.py142 # Create a temporary file to store the PDFCOMMENT
MEDIUMpython/ai/rag_agent/pdf_processing/process_pdf.py211 # Create the LangChain DocumentCOMMENT
MEDIUMdocs/config/_modules/module.toml1# This file contains the BASE module configuration for Hugo site.COMMENT
MEDIUMdocs/config/_modules/fa.module.toml1# This file contains the MODULE configuration specific to Font Awesome Pro.COMMENT
MEDIUMcloud/kubernetes/yb-multiregion-k8s-setup.py40# Create a load balancer for the DNS pods in each k8s cluster.COMMENT
MEDIUMbuild-support/common-test-env.sh1977 # Create a subshell to be able to export environment variables temporarily.COMMENT
MEDIUMbuild-support/compiler-wrappers/compiler-wrapper.sh105 # Create a command line that can be copied and pasted.COMMENT
MEDIUMsrc/lint/cpplint.py5730 # The following function is just a speed up, no semantics are changed.STRING
MEDIUMsrc/postgres/contrib/amcheck/t/005_pitr.pl16# Create a table with each of 6 PK values spanning 1/4 of a block. Delete theCOMMENT
MEDIUMsrc/postgres/contrib/amcheck/t/001_verify_heapam.pl128# Create a test sequence of the given name.COMMENT
MEDIUMsrc/postgres/third-party-extensions/hypopg/docs/conf.py7# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUM…ensions/documentdb/packaging/build_gateway_packages.sh142# Create the output directory if it doesn't existCOMMENT
MEDIUM…arty-extensions/documentdb/packaging/build_packages.sh162# Create the output directory if it doesn't existCOMMENT
MEDIUM…tensions/documentdb/packaging/update_spec_changelog.sh68 # Create a backupCOMMENT
MEDIUM…ons/documentdb/packaging/test_packages/test_gateway.py5# Create a MongoDB client and open a connection to DocumentDBCOMMENT
MEDIUM…sions/documentdb/packaging/deb/packaging-entrypoint.sh37# Create the output directory if it doesn't existCOMMENT
MEDIUM…s/documentdb/packaging/rpm/packaging-entrypoint-rpm.sh64# Create the source tarballCOMMENT
MEDIUM…ns/documentdb/test-init-data/test_init_invalid_data.sh240 # Create a temporary directory with only the invalid fileCOMMENT
MEDIUM…y-extensions/documentdb/scripts/install_setup_pcre2.sh44# Create the folders and download PCRE2 libCOMMENT
MEDIUM…mentdb/scripts/install_setup_intel_decimal_math_lib.sh49# Create the folders and download Intel RDF MathLibCOMMENT
MEDIUM…mentdb/scripts/install_setup_intel_decimal_math_lib.sh71# Create a package config file to easily locate the libCOMMENT
MEDIUM…rty-extensions/documentdb/.github/workflows/codeql.yml33 # Create the file repository configuration:COMMENT
MEDIUM…/third-party-extensions/mage/drivers/python/age/age.py72# Create the graph, if it does not existCOMMENT
MEDIUM…ns/mage/drivers/python/age/networkx/age_to_networkx.py45 # Create an empty directed graphCOMMENT
MEDIUM…xtensions/mage/drivers/python/age/gen/AgtypeVisitor.py23# This class defines a complete generic visitor for a parse tree produced by AgtypeParser.COMMENT
MEDIUM…tensions/mage/drivers/python/age/gen/AgtypeListener.py23# This class defines a complete listener for a parse tree produced by AgtypeParser.COMMENT
MEDIUM…arty-extensions/postgresql_anonymizer/demo/blackbox.sh6# Create a demo databaseCOMMENT
MEDIUM…y-extensions/pg_duckdb/test/pycheck/motherduck_test.py146 # Create a table in user1's DB...STRING
MEDIUM…y-extensions/pg_duckdb/test/pycheck/motherduck_test.py187 # Create a table in user1's DB...STRING
MEDIUM…y-extensions/pg_duckdb/test/pycheck/motherduck_test.py238 # Create a read-only PostgreSQL userSTRING
MEDIUM…d-party-extensions/pg_duckdb/test/pycheck/copy_test.py11 # Create a sample table and insert dataCOMMENT
MEDIUM…d-party-extensions/pg_duckdb/test/pycheck/copy_test.py15 # Define the local file pathCOMMENT
MEDIUMsrc/postgres/src/test/ssl/t/SSL/Server.pm15 # Create a new clusterCOMMENT
MEDIUM…c/postgres/src/test/recovery/t/033_replay_tsp_drops.pl124# Create a database in the tablespace and a table in default tablespaceCOMMENT
MEDIUMsrc/postgres/src/test/recovery/t/008_fsm_truncation.pl24# Create a primary node and its standby, initializing both with some dataCOMMENT
MEDIUMsrc/postgres/src/test/recovery/t/014_unlogged_reinit.pl21# Create an unlogged table and an unlogged sequence to test that forksCOMMENT
MEDIUMsrc/postgres/src/test/recovery/t/014_unlogged_reinit.pl43# Create an unlogged table in a tablespace.COMMENT
MEDIUMsrc/postgres/src/test/recovery/t/019_replslot_limit.pl43# Create a standby linking to it using the replication slotCOMMENT
MEDIUMsrc/postgres/src/test/recovery/t/017_shm.pl44# Create a shmem segment that will conflict with gnat's first choiceCOMMENT
40 more matches not shown…
Fake / Example Data220 hits · 254 pts
SeverityFileLineSnippetContext
LOW…/components/ha/modals/AddStandbyInstanceModal.test.tsx62 await userEvent.type(component.getByRole('textbox'), 'lorem ipsum');CODE
LOW…ed/ui/src/components/ha/instances/HAInstances.test.tsx21 cluster_key: 'fake-key',CODE
LOW…c/components/ha/replication/HAReplicationView.test.tsx18 cluster_key: 'fake-key',CODE
LOW…c/components/ha/replication/HAReplicationForm.test.tsx14 cluster_key: 'fake-key',CODE
LOW…c/components/ha/replication/HAReplicationForm.test.tsx156 await userEvent.type(formFields.instanceAddress, 'lorem ipsum');CODE
LOW…c/components/ha/replication/HAReplicationForm.test.tsx175 await userEvent.type(formFields.clusterKey, 'some-fake-key');CODE
LOW…c/components/ha/replication/HAReplicationForm.test.tsx229 clusterKey: 'fake-key',CODE
LOW…c/components/ha/replication/HAReplicationForm.test.tsx278 clusterKey: 'fake-key'CODE
LOW…c/components/ha/replication/HAReplicationForm.test.tsx316 clusterKey: 'fake-key',CODE
LOW…c/components/ha/replication/HAReplicationForm.test.tsx343 clusterKey: 'fake-key'CODE
LOW…/ui/src/components/backupv2/components/BackupEmpty.tsx128 <div className="placeholder" />CODE
LOW…naged/ui/src/redesign/components/YBSelect/YBSelect.tsx10 'variant' | 'color' | 'classes' | 'select' | 'size' | 'placeholder' | 'FormHelperTextProps'CODE
LOWmanaged/ui/src/stories/YBPassword.stories.tsx13 include: ['value', 'placeholder', 'label', 'error', 'disabled', 'helperText', 'fullWidth'],CODE
LOWmanaged/ui/src/stories/YBTextArea.stories.tsx13 include: ['value', 'placeholder', 'label', 'error', 'disabled', 'helperText', 'fullWidth'],CODE
LOWmanaged/ui/src/stories/YBTextbox.stories.tsx12 include: ['value', 'placeholder', 'label', 'error', 'disabled', 'helperText', 'fullWidth'],CODE
LOWmanaged/ui/src/stories/YBAlert.stories.tsx26 <Typography variant="body1">Lorem Ipsum dolor sit amet.</Typography>CODE
LOWmanaged/ui/src/stories/YBAlert.stories.tsx26 <Typography variant="body1">Lorem Ipsum dolor sit amet.</Typography>CODE
LOWmanaged/ui/src/translations/en.json831 "placeholder": {CODE
LOWmanaged/ui/src/translations/en.json1036 "placeholder": {CODE
LOW…evops/tests/add_superadmin/test_add_superadmin_user.py45 "email": "admin@example.com",CODE
LOW…evops/tests/add_superadmin/test_add_superadmin_user.py297 email="admin@example.com",CODE
LOW…test/java/com/yugabyte/yw/models/NodeInstanceTest.java142 String universeNodeName = "fake-name";CODE
LOW…test/java/com/yugabyte/yw/models/NodeInstanceTest.java173 String universeNodeName = "fake-name";CODE
LOW…test/java/com/yugabyte/yw/models/NodeInstanceTest.java200 String universeNodeName = "fake-name";CODE
LOW…test/java/com/yugabyte/yw/models/NodeInstanceTest.java228 String universeNodeName = "fake-name";CODE
LOW…va/com/yugabyte/yw/models/helpers/CommonUtilsTest.java317 params.setRecipients(Collections.singletonList("test@test.com"));CODE
LOW…d/src/test/java/com/yugabyte/yw/common/TestHelper.java150 fakeAuthConfig.put("AZU_KEY_NAME", "fake-key-name");CODE
LOW…rc/test/java/com/yugabyte/yw/common/FakeApiHelper.java35 user = ModelFactory.testUser(customer, "foo@bar.com", Users.Role.Admin);CODE
LOW…aged/src/test/java/com/yugabyte/yw/common/FakeApi.java39 user = ModelFactory.testUser(customer, "foo@bar.com", Users.Role.SuperAdmin);CODE
LOW…src/test/java/com/yugabyte/yw/common/ModelFactory.java780 params.setRecipients(Collections.singletonList("test@test.com"));CODE
LOW…yugabyte/yw/common/kms/util/AzuEARServiceUtilTest.java60 public String authConfigAzuKeyName = "fake-key-name";CODE
LOW…yugabyte/yw/common/kms/util/AzuEARServiceUtilTest.java61 public String authConfigAzuKeyAlgorithm = "fake-key-algorithm";CODE
LOW…yugabyte/yw/common/kms/util/OciEARServiceUtilTest.java67 private String keyName = "fake-key-name";CODE
LOW…yugabyte/yw/common/kms/services/AzuEARServiceTest.java58 public String authConfigAzuKeyName = "fake-key-name";CODE
LOW…yugabyte/yw/common/kms/services/OciEARServiceTest.java58 public String keyName = "fake-key-name";CODE
LOW…/yugabyte/yw/common/alerts/AlertChannelParamsTest.java37 params.setRecipients(Arrays.asList("test@test.com", "me@google.com"));CODE
LOW…yugabyte/yw/common/alerts/AlertChannelServiceTest.java180 params.setRecipients(Collections.singletonList("test@test.com"));CODE
LOW…abyte/yw/common/alerts/impl/AlertChannelEmailTest.java45 private static final List<String> DEFAULT_EMAILS = Collections.singletonList("test@test.com");CODE
LOW…om/yugabyte/yw/controllers/CustomerControllerTest.java222 params.put("email", "foo@bar.com");CODE
LOW…om/yugabyte/yw/controllers/CustomerControllerTest.java253 params.put("email", "foo@bar.com");CODE
LOW…om/yugabyte/yw/controllers/CustomerControllerTest.java456 params.put("email", "foo@bar.com");CODE
LOW…om/yugabyte/yw/controllers/CustomerControllerTest.java478 params.put("email", "foo@bar.com");CODE
LOW…om/yugabyte/yw/controllers/CustomerControllerTest.java501 params.put("email", "foo@bar.com");CODE
LOW…a/com/yugabyte/yw/controllers/UsersControllerTest.java153 params.put("email", "foo@bar.com");CODE
LOW…a/com/yugabyte/yw/controllers/UsersControllerTest.java167 assertEquals(user.getUser().getEmail(), "foo@bar.com");CODE
LOW…a/com/yugabyte/yw/controllers/UsersControllerTest.java177 params.put("email", "foo@bar.com");CODE
LOW…a/com/yugabyte/yw/controllers/UsersControllerTest.java434 params.put("email", "foo@bar.com");CODE
LOW…a/com/yugabyte/yw/controllers/AlertControllerTest.java323 arParams.setRecipients(Collections.singletonList("test@test.com"));CODE
LOW…m/yugabyte/yw/controllers/AccessKeyControllerTest.java449 ModelFactory.onpremProvider(ModelFactory.testCustomer("fb", "foo@bar.com"));CODE
LOW…ugabyte/yw/controllers/NodeInstanceControllerTest.java92 node.setNodeName("fake_name");CODE
LOW…ugabyte/yw/controllers/NodeInstanceControllerTest.java395 String fakeNodeName = "fake-name-1";CODE
LOW…gabyte/yw/commissioner/tasks/CommissionerBaseTest.java830 customer, targetUuid, taskUuid, targetType, customerTaskType, "fake-name");CODE
LOW…/yw/commissioner/tasks/ProvisionUniverseNodesTest.java159 "fake-name");CODE
LOW…yw/commissioner/tasks/upgrade/RollbackUpgradeTest.java378 "fake-name");CODE
LOW…byte/yw/commissioner/tasks/upgrade/ResizeNodeTest.java1496 "fake-name");CODE
LOW…/src/main/java/com/yugabyte/yw/common/EmailHelper.java305 * Extracts pure email address from the common email string (which can be like "John Doe"COMMENT
LOWpython/yugabyte/test_postprocess_test_result.py21 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor \n" \CODE
LOWpython/yugabyte/test_postprocess_test_result.py21 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor \n" \CODE
LOW…l/src/test/java/org/yb/pgsql/BasicDocumentDBTests.java124 .append("address", new Document("street", "123 Main St")CODE
LOW…lore/ysql-language-features/advanced-features/views.md192 (1225, 'Jane Doe', '4 Fifth Street', 'Accounting');CODE
160 more matches not shown…
Cross-Language Confusion (JS/TS)40 hits · 228 pts
SeverityFileLineSnippetContext
HIGH…s/documentdb/test-init-data/test-init-data/01-users.js2print("Initializing users collection...");CODE
HIGH…s/documentdb/test-init-data/test-init-data/01-users.js83print("Created " + db.users.countDocuments() + " users in the users collection");CODE
HIGH…s/documentdb/test-init-data/test-init-data/01-users.js87print("Created index on email field");CODE
HIGH…ocumentdb/test-init-data/test-init-data/02-products.js2print("Initializing products collection...");CODE
HIGH…ocumentdb/test-init-data/test-init-data/02-products.js111print("Created " + db.products.countDocuments() + " products in the products collection");CODE
HIGH…ocumentdb/test-init-data/test-init-data/02-products.js117print("Created indexes on category, price, and inStock fields");CODE
HIGH…/documentdb/test-init-data/test-init-data/03-orders.js2print("Initializing orders collection...");CODE
HIGH…/documentdb/test-init-data/test-init-data/03-orders.js171print("Created " + db.orders.countDocuments() + " orders in the orders collection");CODE
HIGH…/documentdb/test-init-data/test-init-data/03-orders.js178print("Created indexes on userId, status, orderDate, and orderNumber fields");CODE
HIGH…/documentdb/test-init-data/test-init-data/03-orders.js181print("\n=== Database Initialization Summary ===");CODE
HIGH…/documentdb/test-init-data/test-init-data/03-orders.js182print("Users: " + db.users.countDocuments());CODE
HIGH…/documentdb/test-init-data/test-init-data/03-orders.js183print("Products: " + db.products.countDocuments());CODE
HIGH…/documentdb/test-init-data/test-init-data/03-orders.js184print("Orders: " + db.orders.countDocuments());CODE
HIGH…/documentdb/test-init-data/test-init-data/03-orders.js185print("========================================");CODE
HIGH…est-init-data/sample-invalid-data/03-runtime-errors.js2print("This file contains runtime errors");CODE
HIGH…est-init-data/sample-invalid-data/03-runtime-errors.js16print("First user inserted successfully");CODE
HIGH…est-init-data/sample-invalid-data/03-runtime-errors.js19print("Trying to access undefined variable: " + undefined_variable_name);CODE
HIGH…est-init-data/sample-invalid-data/03-runtime-errors.js31print("This line will never be reached due to the runtime error above");CODE
HIGH…est-init-data/sample-invalid-data/03-runtime-errors.js36print("This line also won't be reached");CODE
HIGH…test-init-data/sample-invalid-data/01-syntax-errors.js2print("This file contains syntax errors and will cause initialization to fail");CODE
HIGH…test-init-data/sample-invalid-data/01-syntax-errors.js37print("This line will never be reached due to the errors above");CODE
HIGH…est-init-data/sample-invalid-data/02-mongodb-errors.js2print("This file contains MongoDB operation errors");CODE
HIGH…est-init-data/sample-invalid-data/02-mongodb-errors.js16print("First user inserted successfully");CODE
HIGH…est-init-data/sample-invalid-data/02-mongodb-errors.js28print("This line should not be reached due to the duplicate key error above");CODE
HIGH…est-init-data/sample-invalid-data/02-mongodb-errors.js44print("Product insertion completed - this won't be printed");CODE
HIGH…rd-party-extensions/documentdb/sample-data/01-users.js2print("Initializing users collection...");CODE
HIGH…rd-party-extensions/documentdb/sample-data/01-users.js101print("Created " + db.users.countDocuments() + " users in the users collection");CODE
HIGH…rd-party-extensions/documentdb/sample-data/01-users.js109print("Created indexes on users collection");CODE
HIGH…arty-extensions/documentdb/sample-data/04-analytics.js2print("Initializing analytics collection...");CODE
HIGH…arty-extensions/documentdb/sample-data/04-analytics.js60print("Created " + db.analytics.countDocuments() + " analytics records");CODE
HIGH…arty-extensions/documentdb/sample-data/04-analytics.js67print("Created indexes on analytics collection");CODE
HIGH…arty-extensions/documentdb/sample-data/04-analytics.js70print("Setting up sample aggregation examples...");CODE
HIGH…arty-extensions/documentdb/sample-data/04-analytics.js73print("Sample aggregation - User order summary:");CODE
HIGH…arty-extensions/documentdb/sample-data/04-analytics.js88print("Sample data initialization completed!");CODE
HIGH…party-extensions/documentdb/sample-data/02-products.js2print("Initializing products collection...");CODE
HIGH…party-extensions/documentdb/sample-data/02-products.js138print("Created " + db.products.countDocuments() + " products in the products collection");CODE
HIGH…party-extensions/documentdb/sample-data/02-products.js147print("Created indexes on products collection");CODE
HIGH…d-party-extensions/documentdb/sample-data/03-orders.js2print("Initializing orders collection...");CODE
HIGH…d-party-extensions/documentdb/sample-data/03-orders.js168print("Created " + db.orders.countDocuments() + " orders in the orders collection");CODE
HIGH…d-party-extensions/documentdb/sample-data/03-orders.js177print("Created indexes on orders collection");CODE
Unused Imports232 hits · 223 pts
SeverityFileLineSnippetContext
LOWyb-bundle-flag-reader.py20CODE
LOWmanaged/devops/yb_release.py15CODE
LOWmanaged/devops/bin/yb_backup.py11CODE
LOWmanaged/devops/bin/add_superadmin_user.py44CODE
LOWmanaged/devops/opscli/ybops/release_manager.py14CODE
LOWmanaged/devops/opscli/ybops/utils/__init__.py11CODE
LOWmanaged/devops/opscli/ybops/utils/remote_shell.py11CODE
LOWmanaged/devops/opscli/ybops/common/release.py11CODE
LOWmanaged/devops/opscli/ybops/cloud/azure/cloud.py15CODE
LOWmanaged/devops/opscli/ybops/cloud/azure/method.py9CODE
LOWmanaged/devops/opscli/ybops/cloud/azure/method.py17CODE
LOWmanaged/devops/opscli/ybops/cloud/azure/method.py18CODE
LOWmanaged/devops/opscli/ybops/cloud/onprem/command.py12CODE
LOWmanaged/devops/opscli/ybops/cloud/oci/cloud.py13CODE
LOWmanaged/devops/opscli/ybops/cloud/oci/cloud.py14CODE
LOWmanaged/devops/opscli/ybops/cloud/oci/cloud.py22CODE
LOWmanaged/devops/opscli/ybops/cloud/oci/utils.py17CODE
LOWmanaged/devops/opscli/ybops/cloud/oci/utils.py19CODE
LOWmanaged/devops/opscli/ybops/cloud/oci/utils.py19CODE
LOWmanaged/devops/opscli/ybops/cloud/oci/utils.py19CODE
LOWmanaged/devops/opscli/ybops/cloud/oci/utils.py20CODE
LOWmanaged/devops/opscli/ybops/cloud/oci/utils.py20CODE
LOWmanaged/devops/opscli/ybops/cloud/oci/utils.py21CODE
LOWmanaged/devops/opscli/ybops/cloud/oci/utils.py26CODE
LOWmanaged/devops/opscli/ybops/cloud/oci/utils.py26CODE
LOWmanaged/devops/opscli/ybops/cloud/oci/utils.py26CODE
LOWmanaged/devops/opscli/ybops/cloud/oci/utils.py26CODE
LOWmanaged/devops/opscli/ybops/cloud/oci/utils.py26CODE
LOWmanaged/devops/opscli/ybops/cloud/oci/utils.py26CODE
LOWmanaged/devops/opscli/ybops/cloud/oci/method.py12CODE
LOWmanaged/devops/opscli/ybops/cloud/oci/method.py13CODE
LOWmanaged/devops/opscli/ybops/cloud/gcp/method.py12CODE
LOWmanaged/devops/opscli/ybops/cloud/common/method.py11CODE
LOWmanaged/devops/opscli/ybops/cloud/common/method.py23CODE
LOWmanaged/devops/opscli/ybops/cloud/common/method.py26CODE
LOWmanaged/devops/opscli/ybops/cloud/common/method.py26CODE
LOWmanaged/devops/opscli/ybops/cloud/common/method.py31CODE
LOWmanaged/devops/opscli/ybops/cloud/common/method.py31CODE
LOWmanaged/devops/opscli/ybops/cloud/common/method.py31CODE
LOWmanaged/devops/opscli/ybops/cloud/aws/method.py11CODE
LOWmanaged/devops/opscli/ybops/cloud/aws/method.py18CODE
LOWmanaged/devops/opscli/ybops/cloud/aws/method.py20CODE
LOW…ripts/disk-io-failure/disk_io_failure_detection_py3.py4CODE
LOW…ripts/disk-io-failure/disk_io_failure_detection_py3.py6CODE
LOW…d/scripts/disk-io-failure/disk_io_failure_detection.py1CODE
LOW…d/scripts/disk-io-failure/disk_io_failure_detection.py4CODE
LOW…d/scripts/disk-io-failure/disk_io_failure_detection.py6CODE
LOW…d/scripts/disk-io-failure/disk_io_failure_detection.py8CODE
LOWmanaged/yba-installer/yb_release.py8CODE
LOWmanaged/yba-installer/yb_release.py10CODE
LOWmanaged/node-agent/yb_release.py5CODE
LOW…ain/java/com/yugabyte/yw/common/operator/yb_release.py8CODE
LOWbin/remote_release.py20CODE
LOWbin/remote_build.py18CODE
LOWbin/remote_build.py24CODE
LOWbin/remote_build.py24CODE
LOWbin/remote_build.py24CODE
LOWbin/remote_build.py24CODE
LOWbin/parse_contention.py3CODE
LOWbin/yb-prof.py17CODE
172 more matches not shown…
Deep Nesting215 hits · 180 pts
SeverityFileLineSnippetContext
LOWyb-bundle-flag-reader.py64CODE
LOWyb-bundle-flag-reader.py88CODE
LOWyb-bundle-flag-reader.py245CODE
LOW.ycm_extra_conf.py127CODE
LOWyb-bundle-log-finder.py298CODE
LOWyb-bundle-log-finder.py354CODE
LOWyb-bundle-log-finder.py488CODE
LOWyb-bundle-log-finder.py530CODE
LOWyb-bundle-log-finder.py595CODE
LOWyb-bundle-log-finder.py704CODE
LOWmanaged/devops/bin/run_node_action.py417CODE
LOWmanaged/devops/bin/yb_backup.py846CODE
LOWmanaged/devops/bin/yb_backup.py1458CODE
LOWmanaged/devops/bin/yb_backup.py1678CODE
LOWmanaged/devops/bin/yb_backup.py1700CODE
LOWmanaged/devops/bin/yb_backup.py1934CODE
LOWmanaged/devops/bin/yb_backup.py1992CODE
LOWmanaged/devops/bin/yb_backup.py2079CODE
LOWmanaged/devops/bin/yb_backup.py2470CODE
LOWmanaged/devops/bin/yb_backup.py2590CODE
LOWmanaged/devops/bin/yb_backup.py2665CODE
LOWmanaged/devops/bin/yb_backup.py2850CODE
LOWmanaged/devops/bin/yb_backup.py3293CODE
LOWmanaged/devops/bin/yb_backup.py3565CODE
LOWmanaged/devops/bin/yb_backup.py3671CODE
LOWmanaged/devops/bin/yb_backup.py3745CODE
LOWmanaged/devops/bin/yb_backup.py3882CODE
LOWmanaged/devops/bin/yb_backup.py4094CODE
LOWmanaged/devops/bin/edit_universe_details.py104CODE
LOWmanaged/devops/bin/add_superadmin_user.py114CODE
LOWmanaged/devops/bin/add_superadmin_user.py205CODE
LOWmanaged/devops/opscli/ybops/release_manager.py59CODE
LOWmanaged/devops/opscli/ybops/utils/__init__.py117CODE
LOWmanaged/devops/opscli/ybops/utils/__init__.py463CODE
LOWmanaged/devops/opscli/ybops/utils/replicated.py31CODE
LOWmanaged/devops/opscli/ybops/utils/ssh.py217CODE
LOWmanaged/devops/opscli/ybops/common/release.py36CODE
LOWmanaged/devops/opscli/ybops/cloud/azure/utils.py200CODE
LOWmanaged/devops/opscli/ybops/cloud/azure/utils.py685CODE
LOWmanaged/devops/opscli/ybops/cloud/azure/utils.py1113CODE
LOWmanaged/devops/opscli/ybops/cloud/azure/utils.py1392CODE
LOWmanaged/devops/opscli/ybops/cloud/oci/utils.py443CODE
LOWmanaged/devops/opscli/ybops/cloud/oci/utils.py589CODE
LOWmanaged/devops/opscli/ybops/cloud/oci/utils.py658CODE
LOWmanaged/devops/opscli/ybops/cloud/oci/utils.py751CODE
LOWmanaged/devops/opscli/ybops/cloud/gcp/cloud.py279CODE
LOWmanaged/devops/opscli/ybops/cloud/gcp/utils.py56CODE
LOWmanaged/devops/opscli/ybops/cloud/gcp/utils.py603CODE
LOWmanaged/devops/opscli/ybops/cloud/gcp/utils.py710CODE
LOWmanaged/devops/opscli/ybops/cloud/gcp/utils.py884CODE
LOWmanaged/devops/opscli/ybops/cloud/gcp/utils.py992CODE
LOWmanaged/devops/opscli/ybops/cloud/common/cloud.py54CODE
LOWmanaged/devops/opscli/ybops/cloud/common/cloud.py546CODE
LOWmanaged/devops/opscli/ybops/cloud/common/cloud.py782CODE
LOWmanaged/devops/opscli/ybops/cloud/common/method.py403CODE
LOWmanaged/devops/opscli/ybops/cloud/common/method.py415CODE
LOWmanaged/devops/opscli/ybops/cloud/common/method.py424CODE
LOWmanaged/devops/opscli/ybops/cloud/common/method.py433CODE
LOWmanaged/devops/opscli/ybops/cloud/common/method.py1112CODE
LOWmanaged/devops/opscli/ybops/cloud/aws/cloud.py305CODE
155 more matches not shown…
AI Slop Vocabulary75 hits · 167 pts
SeverityFileLineSnippetContext
LOWyb_build.sh289 # Only mark CMake standard output as such in case of an error. Otherwise, just pass itCOMMENT
LOWmanaged/devops/bin/yb_backup.py2048 # all tables just add a single table from each colocation group to the tableCOMMENT
LOWmanaged/devops/opscli/ybops/utils/replicated.py72 # If we already have a release version created and in Editable state, just use that.COMMENT
LOWmanaged/devops/opscli/ybops/cloud/gcp/utils.py232 # data through GCP API and simply return the relevant fields.COMMENT
LOWmanaged/devops/opscli/ybops/cloud/common/method.py834 # If we don't ask for JSON data, let's just return 1 item, as it's likely a scripted usage.COMMENT
MEDIUMmanaged/yba-installer/integrationtests/workflow.go9// Workflow implements a standard yba installer workflow that integration tests can further leverage.COMMENT
MEDIUM…/com/yugabyte/yw/common/AccessKeyRotationUtilTest.java111 // provider.details but it keeps working. Definitely not testing anything.COMMENT
MEDIUM…ain/java/com/yugabyte/yw/common/gflags/GFlagsUtil.java92 // This is not the full path to the cgroup. That is determined by ansible, allowing seamlessCOMMENT
MEDIUM…yw/commissioner/tasks/upgrade/TlsToggleKubernetes.java75 // can utilize the node-to-node certificate for yb-client connections.COMMENT
MEDIUM…leshoot/troubleshooting-framework-ui/package-lock.json10066 "resolved": "https://registry.npmjs.org/robust-product/-/robust-product-1.0.0.tgz",CODE
MEDIUM…leshoot/troubleshooting-framework-ui/package-lock.json10076 "resolved": "https://registry.npmjs.org/robust-scale/-/robust-scale-1.0.2.tgz",CODE
MEDIUM…leshoot/troubleshooting-framework-ui/package-lock.json10086 "resolved": "https://registry.npmjs.org/robust-segment-intersect/-/robust-segment-intersect-1.0.1.tgz",CODE
MEDIUM…leshoot/troubleshooting-framework-ui/package-lock.json10095 "resolved": "https://registry.npmjs.org/robust-subtract/-/robust-subtract-1.0.0.tgz",CODE
MEDIUM…leshoot/troubleshooting-framework-ui/package-lock.json10101 "resolved": "https://registry.npmjs.org/robust-sum/-/robust-sum-1.0.0.tgz",CODE
MEDIUM…leshoot/troubleshooting-framework-ui/package-lock.json19827 "resolved": "https://registry.npmjs.org/robust-product/-/robust-product-1.0.0.tgz",CODE
MEDIUM…leshoot/troubleshooting-framework-ui/package-lock.json19837 "resolved": "https://registry.npmjs.org/robust-scale/-/robust-scale-1.0.2.tgz",CODE
MEDIUM…leshoot/troubleshooting-framework-ui/package-lock.json19847 "resolved": "https://registry.npmjs.org/robust-segment-intersect/-/robust-segment-intersect-1.0.1.tgz",CODE
MEDIUM…leshoot/troubleshooting-framework-ui/package-lock.json19856 "resolved": "https://registry.npmjs.org/robust-subtract/-/robust-subtract-1.0.0.tgz",CODE
MEDIUM…leshoot/troubleshooting-framework-ui/package-lock.json19862 "resolved": "https://registry.npmjs.org/robust-sum/-/robust-sum-1.0.0.tgz",CODE
MEDIUM…leshoot/troubleshooting-framework-ui/package-lock.json10005 "resolved": "https://registry.npmjs.org/robust-compress/-/robust-compress-1.0.0.tgz",CODE
MEDIUM…leshoot/troubleshooting-framework-ui/package-lock.json10011 "resolved": "https://registry.npmjs.org/robust-determinant/-/robust-determinant-1.1.0.tgz",CODE
MEDIUM…leshoot/troubleshooting-framework-ui/package-lock.json10023 "resolved": "https://registry.npmjs.org/robust-dot-product/-/robust-dot-product-1.0.0.tgz",CODE
MEDIUM…leshoot/troubleshooting-framework-ui/package-lock.json10033 "resolved": "https://registry.npmjs.org/robust-in-sphere/-/robust-in-sphere-1.2.1.tgz",CODE
MEDIUM…leshoot/troubleshooting-framework-ui/package-lock.json10045 "resolved": "https://registry.npmjs.org/robust-linear-solve/-/robust-linear-solve-1.0.0.tgz",CODE
MEDIUM…leshoot/troubleshooting-framework-ui/package-lock.json10054 "resolved": "https://registry.npmjs.org/robust-orientation/-/robust-orientation-1.2.1.tgz",CODE
MEDIUM…leshoot/troubleshooting-framework-ui/package-lock.json19766 "resolved": "https://registry.npmjs.org/robust-compress/-/robust-compress-1.0.0.tgz",CODE
MEDIUM…leshoot/troubleshooting-framework-ui/package-lock.json19772 "resolved": "https://registry.npmjs.org/robust-determinant/-/robust-determinant-1.1.0.tgz",CODE
MEDIUM…leshoot/troubleshooting-framework-ui/package-lock.json19784 "resolved": "https://registry.npmjs.org/robust-dot-product/-/robust-dot-product-1.0.0.tgz",CODE
MEDIUM…leshoot/troubleshooting-framework-ui/package-lock.json19794 "resolved": "https://registry.npmjs.org/robust-in-sphere/-/robust-in-sphere-1.2.1.tgz",CODE
MEDIUM…leshoot/troubleshooting-framework-ui/package-lock.json19806 "resolved": "https://registry.npmjs.org/robust-linear-solve/-/robust-linear-solve-1.0.0.tgz",CODE
MEDIUM…leshoot/troubleshooting-framework-ui/package-lock.json19815 "resolved": "https://registry.npmjs.org/robust-orientation/-/robust-orientation-1.2.1.tgz",CODE
MEDIUM…a/org/yb/ysqlconnmgr/TestReserveYsqlInternalConns.java170 // to utilize slots reserved for non-replication superuser connections.COMMENT
MEDIUM…l/src/test/java/org/yb/pgsql/TestPgStatStatements.java197 //Reset test_table_2's state to utilize testExplainCOMMENT
MEDIUM…/test/java/org/yb/pgsql/TestPgTransparentRestarts.java849 // TODO(Piyush): Find a more robust way to check for kConflict/kAbort/kReadRestartCOMMENT
LOWscripts/k8s_parent.py313 # if we cannot find zone for some reason, we should just call it yb-tserver-0COMMENT
LOWbuild-support/common-test-env.sh629 # TODO: find a way to only show the backtrace of the relevant thread. We can't just passCOMMENT
LOWbuild-support/common-test-env.sh1190 # TODO: we should just set PYTHONPATH globally, e.g. at the time we activate virtualenv.COMMENT
MEDIUM…ui/ui/src/features/clusters/details/nodes/NodesTab.tsx389 // things. TODO: make this more robust and simpler. Preferably, put all of these values inCOMMENT
MEDIUMyugabyted-ui/ui/src/components/YBMultiToggleButton.tsx40 // Remove extra borders for a seamless lookCOMMENT
MEDIUMsrc/yb/rocksdb/merge_operator.h35// Essentially, a MergeOperator specifies the SEMANTICS of a merge, which onlyCOMMENT
LOWsrc/yb/rocksdb/tools/benchmark.sh243 # doesn't output regular statistics then we'll just use the time command toCOMMENT
MEDIUMsrc/yb/consensus/raft_consensus.h683 // That woule be more robust, since it handles also situation when we tried to stepdownCOMMENT
MEDIUMsrc/yb/tablet/tablet-test-util.h40#include "yb/tablet/tablet-test-harness.h"COMMENT
MEDIUMsrc/yb/util/shmem/robust_mutex.h30// a non-robust mutex and hope for the best (no crashes while locked).COMMENT
MEDIUMsrc/yb/util/shmem/robust_hash_map.h36// Simple closed-addressing hash map that has a insert/delete that can be robust to process crash,COMMENT
MEDIUMsrc/yb/gutil/singleton.h145 // Used by ScopedSingletonOverride. Definitely not threadsafe. No oneCOMMENT
LOWsrc/lint/cpplint.py2621 # Here we can just use a shallow copy since we are the lastCOMMENT
MEDIUMsrc/postgres/contrib/amcheck/t/005_pitr.pl36# VACUUM to delete the aforementioned leaf page. Force an XLogFlush() byCOMMENT
MEDIUM…extensions/documentdb/test-init-data/test_init_data.sh106# Function to verify the initialized data with comprehensive checksCOMMENT
LOW…tgres/third-party-extensions/mage/tools/PerfectHash.pm99 # It's not worth passing this around as a parameter; just use a global.COMMENT
LOW…res/third-party-extensions/pgrx/pgrx-macros/src/lib.rs936 // which implements _in and _out #[pg_extern] functions that just return the type itselfCOMMENT
LOW…/third-party-extensions/pgrx/pgrx/src/datum/varlena.rs412#[deprecated(since = "0.12.0", note = "just use the FromDatum impl")]COMMENT
MEDIUM…arty-extensions/pgrx/cargo-pgrx/src/command/upgrade.rs272 // Equivalent to manifest.manifest.data.contains_table("workspace"); but more robustCOMMENT
MEDIUM…y-extensions/pgrx/pgrx-tests/src/framework/shutdown.rs40/// Essentially:COMMENT
LOW…third-party-extensions/pg_duckdb/test/pycheck/utils.py264 # If there's only a single cell, just return the valueCOMMENT
LOW…third-party-extensions/pg_duckdb/test/pycheck/utils.py266 # If there's only a single row, just return the that rowCOMMENT
MEDIUM…rd-party-extensions/pg_duckdb/src/pgduckdb_detoast.cpp137// This function is thread-safe and does not utilize the PostgreSQL memory context.COMMENT
MEDIUM…hird-party-extensions/pg_duckdb/src/pgduckdb_types.cpp454 // The performant way to handle the translation is to parse BIGNUM out, here we leverage string conversion andCOMMENT
LOWsrc/postgres/src/pl/tcl/sql/pltcl_setup.sql194 # If not a Postgres error, just return the basic error messageCOMMENT
LOWsrc/postgres/src/tools/PerfectHash.pm76 # It's not worth passing this around as a parameter; just use a global.COMMENT
15 more matches not shown…
Redundant / Tautological Comments81 hits · 112 pts
SeverityFileLineSnippetContext
LOW.ycm_extra_conf.py70# Set this to the absolute path to the folder (NOT the file!) containing theCOMMENT
LOWmanaged/lint/check-client-version.sh18# Check if we're in a git repositoryCOMMENT
LOWmanaged/lint/check-client-version.sh73# Check if pom.xml files were changedCOMMENT
LOWmanaged/lint/check-client-version.sh140# Check if versions were actually updatedCOMMENT
LOWmanaged/devops/opscli/ybops/utils/__init__.py189 # Read the file in 4KB chunks until EOF.COMMENT
LOWmanaged/devops/opscli/ybops/cloud/azure/utils.py1393 # Check if public IP configuration is present and assignedCOMMENT
LOWmanaged/devops/opscli/ybops/cloud/gcp/utils.py311 # Check if network exists.COMMENT
LOWmanaged/devops/opscli/ybops/cloud/common/cloud.py378 # Check if ca_new.crt is present, it will be present ifCOMMENT
LOWmanaged/devops/opscli/ybops/cloud/common/cloud.py425 # Check if the provided hostname matches with either CN or SANCOMMENT
LOWmanaged/devops/opscli/ybops/cloud/common/cloud.py483 # Verify if root and node certs are validCOMMENT
LOWmanaged/devops/opscli/ybops/cloud/common/cloud.py493 # Verify if the server cert is not expiredCOMMENT
LOWmanaged/devops/opscli/ybops/cloud/common/cloud.py500 # Verify if node cert has valid signature and the certificate chain is validCOMMENT
LOWmanaged/devops/opscli/ybops/cloud/common/method.py65 # Set this to False if the respective method does not need credential validation.COMMENT
LOWmanaged/devops/opscli/ybops/cloud/common/method.py703 # Check if ssh port has already been updated.COMMENT
LOWmanaged/devops/opscli/ybops/cloud/common/method.py708 # Check if secondary subnet is present. If so, configure it.COMMENT
LOWmanaged/devops/opscli/ybops/data/preflight_checks.sh296 # Check if one of chronyd, ntpd and systemd-timesyncd is running on the nodeCOMMENT
LOWmanaged/scripts/openapi_format_install.sh7# Check if openapi-format is installed locally.COMMENT
LOWmanaged/scripts/collect-k8spods-logs.sh16# Check if kubeconfig exists.COMMENT
LOWmanaged/scripts/collect-k8spods-logs.sh22# Check if namespace exists and we can access it.COMMENT
LOWmanaged/scripts/openapi_format.sh18# Check if openapi-format is installed locally.COMMENT
LOWmanaged/yba-installer/tests/replicated_migrate_test.sh132# Check if the yba full tarball exists in downloads, if not download itCOMMENT
LOWmanaged/node-agent/resources/preflight_check.sh102 # Check if chrony is runningCOMMENT
LOWmanaged/node-agent/resources/preflight_check.sh166 # Check if one of chronyd, ntpd and systemd-timesyncd is running on the nodeCOMMENT
LOWmanaged/node-agent/resources/node-agent-installer.sh279 # Check if semanage was installed in the previous steps.COMMENT
LOWmanaged/node-agent/resources/node-agent-installer.sh405 # Check if USER_SCOPED_UNIT is defined.COMMENT
LOWmanaged/node-agent/resources/node-agent-provision.sh128 # Check if the OS is Red Hat-based (RHEL, Rocky, Alma)COMMENT
LOWmanaged/node-agent/resources/node-agent-provision.sh179 # Check if python3 is installed; if not, install Python 3.11COMMENT
LOWbin/configure_clockbound.sh129 # Check if the script is run as root when --validate is NOT specified.COMMENT
LOWbin/configure_clockbound.sh164 # Check if chrony.conf exists in either locationCOMMENT
LOWbin/configure_clockbound.sh185 # Check if chrony.conf exists in either locationCOMMENT
LOWbin/configure_clockbound.sh239 # Check if Rust is installedCOMMENT
LOWbin/configure_clockbound.sh289 # Check if clockbound is installedCOMMENT
LOWbin/configure_clockbound.sh317 # Check if AWS PTP server is configuredCOMMENT
LOWbin/configure_clockbound.sh353 # Check if PHC is available on ETH_DEVICE.COMMENT
LOWbin/configure_ptp.sh112 # Check if chrony.conf exists in either locationCOMMENT
LOWpython/yugabyte/csi_report.py93 # Check if suite already exists from previous runCOMMENT
LOWpython/yugabyte/build_postgres.py269 # Check if the outer build is using runs the compiler on build workers.COMMENT
LOWpython/yugabyte/build_postgres.py950 # Write files with raw compilation commandsCOMMENT
LOW…thon/ai/rag_agent/rag_pipeline/aws_source_processor.py267 # Check if the lease has expiredSTRING
LOWpython/ai/rag_agent/db/yugabytedb_vector_store.py95 # Check if table exists firstCOMMENT
LOWscripts/k8s_parent.py57# Check if environment overrides it, if not use the default.COMMENT
LOWscripts/k8s_parent.py124 # Check if any files were foundCOMMENT
LOWbuild-support/common-build-env.sh1866# Check if we're in a Jenkins master build.COMMENT
LOWbuild-support/common-build-env.sh1874# Check if we're in a Jenkins Phabricator build (a pre-commit build).COMMENT
LOWbuild-support/common-build-env.sh1887# Check if we're using an NFS partition in YugaByte's build environment.COMMENT
LOWbuild-support/common-build-env.sh2044 # Check if we've succeeded in setting YB_THIRDPARTY_DIR now.COMMENT
LOWyugabyted-ui/build.sh86 # Check if nvm function is actually available after sourcingCOMMENT
LOWyugabyted-ui/build.sh133 # Check if the required version is installed in nvm's directory structureCOMMENT
LOWsrc/lint/cpplint.py2555 # Check if token is an unmatched '<'.COMMENT
LOWsrc/lint/cpplint.py3177 # Check if the // may be in quotes. If so, ignore itSTRING
LOWsrc/lint/cpplint.py4165 # Check if the body is emptySTRING
LOWsrc/lint/cpplint.py4446 # Check if the line is a header guard.STRING
LOWsrc/lint/cpplint.py4819 # Check if people are using the verboten C basic types. The only exceptionSTRING
LOWsrc/lint/cpplint.py4831 # Check if some verboten operator overloading is going onSTRING
LOWsrc/lint/cpplint.py5008 # Check if some verboten C functions are being used.STRING
LOWsrc/lint/cpplint.py5898 # Set end_col to check whole lines after we are done with theSTRING
LOW…c/postgres/contrib/unaccent/generate_unaccent_rules.py115 # Check if the base letter of this letter has marks.COMMENT
LOW…ns/documentdb/test-init-data/test_init_invalid_data.sh115 # Check if container is still runningCOMMENT
LOW…extensions/documentdb/test-init-data/test_init_data.sh89 # Check if the completion message appears in container logsCOMMENT
LOW…ons/documentdb/test-init-data/test_init_sample_data.sh46 # Check if sample data directory exists in the projectCOMMENT
21 more matches not shown…
Verbosity Indicators60 hits · 110 pts
SeverityFileLineSnippetContext
LOW…c/redesign/features/tasks/components/TaskDiffModal.tsx38 // we need to check if this task is a retried tasksCOMMENT
LOW…yte/yw/commissioner/tasks/local/XClusterLocalTest.java721 // Step 1: Create a new xCluster replication between source and target universes.COMMENT
LOW…yte/yw/commissioner/tasks/local/XClusterLocalTest.java770 // Step 2: Drop a table from the source universe and validate the status change.COMMENT
LOW…yte/yw/commissioner/tasks/local/XClusterLocalTest.java791 // Step 3: Re-add the table to the source universe (it will have a new table ID).COMMENT
LOW…yte/yw/commissioner/tasks/local/XClusterLocalTest.java836 // Step 4: Remove the dropped table from the existing replication.COMMENT
LOW…yte/yw/commissioner/tasks/local/XClusterLocalTest.java860 // Step 5: Add the re-added table to the existing replication.COMMENT
LOW…yte/yw/commissioner/tasks/local/XClusterLocalTest.java872 // Step 6: Validate the final status is "Running".COMMENT
LOW…com/yugabyte/yw/common/kms/util/OciEARServiceUtil.java438 // Step 1: fail fast on blank fields not already covered by getCredentials().COMMENT
LOW…com/yugabyte/yw/common/kms/util/OciEARServiceUtil.java449 // Step 2: parse region locally no network call, catches completely invalid strings early.COMMENT
LOW…com/yugabyte/yw/common/kms/util/OciEARServiceUtil.java486 // Step 4: validate vault credentials are confirmed valid at this point, so a failure hereCOMMENT
LOW…com/yugabyte/yw/common/kms/util/OciEARServiceUtil.java508 // Step 5: validate the key by name (the single source of truth).COMMENT
LOW…/yugabyte/yw/common/operator/YBUniverseReconciler.java1908 // Step 0: for the new cluster create case, merge universe-level helm overrides into the baseCOMMENT
LOW…/yugabyte/yw/common/operator/YBUniverseReconciler.java1916 // Step 1: collect perAZ-derived overrides per server type, and remember which server typesCOMMENT
LOW…/yugabyte/yw/common/operator/YBUniverseReconciler.java1945 // Step 2: start from the existing userIntentOverrides (clone so we don't mutate state weCOMMENT
LOW…/yugabyte/yw/common/operator/YBUniverseReconciler.java1953 // Step 3: for server types that have perAZ in spec, remove any existing entries for thoseCOMMENT
LOW…/yugabyte/yw/common/operator/YBUniverseReconciler.java1960 // Step 4: add perAZ-derived entries for the server types that have perAZ in spec.COMMENT
LOW…/yugabyte/yw/common/operator/YBUniverseReconciler.java1966 // Step 5: for the server types that did not specify perAZ, run the standard fallbackCOMMENT
LOW…java/com/yugabyte/yw/commissioner/UpgradeTaskBase.java374 // If current run is a retry - we need to check if previous run was rolled backCOMMENT
LOW…byte/yw/commissioner/tasks/XClusterConfigTaskBase.java3077 // For DB replication, we need to check if the table is part of the replication group on theCOMMENT
LOW…sioner/tasks/upgrade/CertsRotateKubernetesUpgrade.java89 // Step 1: Create temporary multi-cert with old cert first, new cert laterCOMMENT
LOW…sioner/tasks/upgrade/CertsRotateKubernetesUpgrade.java97 // Step 2: Reverse the cert order - new cert first, old cert laterCOMMENT
LOW…sioner/tasks/upgrade/CertsRotateKubernetesUpgrade.java105 // Step 3: Reset to use only the new rootCACOMMENT
LOW…/java/org/yb/yugabyted/TestYugabytedBackupRestore.java195// // Step 3: Setup necessary directories for backupCOMMENT
LOW…/java/org/yb/yugabyted/TestYugabytedBackupRestore.java204// // // Step 4: Run the backup commandCOMMENT
LOW…/java/org/yb/yugabyted/TestYugabytedBackupRestore.java208// // // Step 5: Check the backup status until completionCOMMENT
LOW…sql/src/test/java/org/yb/pgsql/TestPgListenNotify.java1316 // Step 1: LISTEN to trigger replication slot creation.COMMENT
LOW…sql/src/test/java/org/yb/pgsql/TestPgListenNotify.java1321 // Step 2: Verify the notifications replication slot exists.COMMENT
LOW…sql/src/test/java/org/yb/pgsql/TestPgListenNotify.java1328 // Step 3: Crash tserver 0 and restart it.COMMENT
LOW…sql/src/test/java/org/yb/pgsql/TestPgListenNotify.java1332 // Step 4: Poll a surviving tserver until the old slot is gone.COMMENT
LOW…sql/src/test/java/org/yb/pgsql/TestPgListenNotify.java1369 // Step 1: LISTEN to trigger replication slot creation.COMMENT
LOW…sql/src/test/java/org/yb/pgsql/TestPgListenNotify.java1380 // Step 2: Add a 4th tserver, blacklist tserver 0, and wait for load to move off.COMMENT
LOW…sql/src/test/java/org/yb/pgsql/TestPgListenNotify.java1396 // Step 3: SIGKILL tserver 0 and wait for it to become unresponsive.COMMENT
LOW…sql/src/test/java/org/yb/pgsql/TestPgListenNotify.java1401 // Step 4: Call RemoveTabletServer via yb-admin.COMMENT
LOW…sql/src/test/java/org/yb/pgsql/TestPgListenNotify.java1407 // Step 5: Verify the slot is gone.COMMENT
LOW…-pgsql/src/test/java/org/yb/pgsql/TestYsqlMetrics.java63 // Connection Manager. The following code block is responsible for:COMMENT
LOWyugabyted-ui/build.sh42# Step 1: Check if nvm is availableCOMMENT
LOWyugabyted-ui/build.sh100 # Step 2: Try nvm use (in case version is already installed)COMMENT
LOWyugabyted-ui/build.sh107 # Step 3: nvm use failed, try nvm installCOMMENT
LOWyugabyted-ui/build.sh129# Step 4: If nvm function failed, try using nvm-installed Node.js directly from diskCOMMENT
LOWyugabyted-ui/build.sh164# Step 5: Check system Node.jsCOMMENT
LOWyugabyted-ui/build.sh186# Step 6: Download Node.js if needed (last resort fallback)COMMENT
LOWyugabyted-ui/apiserver/cmd/server/helpers/utils.go289// The purpose of this function is to create a list of urls to each master, for use with theCOMMENT
LOWsrc/yb/rocksdb/listener.h279 // If non-null, this variable stores detailed informationCOMMENT
LOWsrc/postgres/contrib/amcheck/verify_heapam.c1363 * We go further, because we need to check if the toast datum is corrupt.COMMENT
LOW…test/java/org/apache/age/jdbc/AgtypeStatementTest.java67 //Step 1: Run a statementCOMMENT
LOW…test/java/org/apache/age/jdbc/AgtypeStatementTest.java80 //Step 1: Run a Prepared StatementCOMMENT
LOW…test/java/org/apache/age/jdbc/AgtypeStatementTest.java122 //Step 1: Run a statementCOMMENT
LOW…test/java/org/apache/age/jdbc/AgtypeStatementTest.java124 //Step 2: Run a Prepared Statement, where AgType is a parameterCOMMENT
LOW…test/java/org/apache/age/jdbc/AgtypeStatementTest.java138 //Step 1: Run a Prepared StatementCOMMENT
LOW…test/java/org/apache/age/jdbc/AgtypeStatementTest.java140 //Step 2: Run a StatementCOMMENT
LOW…party-extensions/mage/src/backend/parser/cypher_expr.c2005 * Else We need to check if the function call is forCOMMENT
LOW…rty-extensions/mage/src/backend/parser/cypher_clause.c7199 * due to the above logic. So, we need to check if it is a vertex label.COMMENT
LOW…rty-extensions/mage/src/backend/parser/cypher_clause.c7337 * due to the above logic. So, we need to check if it is an edge label.COMMENT
LOWsrc/postgres/src/bin/pg_amcheck/t/004_verify_heapam.pl145# The purpose of this function is to write a tuple back to disk with someCOMMENT
LOWsrc/postgres/src/backend/utils/adt/ruleutils.c12960 * 2. We need to check if the dependent rule's ev_class is a view because itCOMMENT
LOWsrc/postgres/src/backend/utils/mb/mbutils.c71 * This variable stores the conversion function to convert from UTF-8COMMENT
LOWsrc/postgres/src/backend/storage/ipc/shm_mq.c871 * The purpose of this function is to make sure that the processCOMMENT
LOWsrc/postgres/src/backend/executor/execMain.c186 * If the transaction is read-only, we need to check if any writes areCOMMENT
LOW…c/postgres/src/backend/replication/pgoutput/pgoutput.c2287 * across all publications. So we need to check if the alreadyCOMMENT
LOWsrc/postgres/src/backend/partitioning/partdesc.c439 * The purpose of this function is to ensure that we get the sameCOMMENT
Cross-Language Confusion15 hits · 72 pts
SeverityFileLineSnippetContext
HIGHmanaged/devops/bin/yb_backup.py417 '' if error_on_failure else ' && echo correct || echo invalid')CODE
HIGHmanaged/devops/opscli/ybops/utils/__init__.py319 os_check_cmd = "source /etc/os-release && echo \"$NAME $VERSION_ID\""CODE
HIGHmanaged/devops/opscli/ybops/cloud/common/cloud.py337 cmd = "bash -c \"while openssl x509 -fingerprint -noout 2>/dev/null;do :;done < '{}'\""CODE
HIGHpython/yugabyte/run_tests_on_spark.py198 flock -w 180 200 || exit 5CODE
HIGHpython/yugabyte/gen_version_info.py64 "cd {} && git diff --quiet && git diff --cached --quiet".format(CODE
HIGHsrc/lint/cpplint.py6119 # > be null).STRING
HIGH…d-party-extensions/mage/drivers/python/test_agtypes.py88 "yn":true, "nullVal": null}}::vertex'''CODE
HIGH…rd-party-extensions/mage/drivers/python/test_age_py.py446 as_str = vertex.toString()CODE
HIGH…rd-party-extensions/mage/drivers/python/test_age_py.py449 print("Vertex.toString() 'properties' field is formatted properly.")CODE
HIGH…ird-party-extensions/mage/drivers/python/age/models.py87 return self.toString()CODE
HIGH…ird-party-extensions/mage/drivers/python/age/models.py90 return self.toString()CODE
HIGH…ird-party-extensions/mage/drivers/python/age/models.py144 return self.toString()CODE
HIGH…ird-party-extensions/mage/drivers/python/age/models.py147 return self.toString()CODE
HIGH…ird-party-extensions/mage/drivers/python/age/models.py184 return self.toString()CODE
HIGH…ird-party-extensions/mage/drivers/python/age/models.py187 return self.toString()CODE
Modern AI Meta-Vocabulary21 hits · 62 pts
SeverityFileLineSnippetContext
MEDIUMpython/ai/rag_agent/README.md1# YugabyteDB RAG AgentCOMMENT
MEDIUM…hon/ai/rag_agent/rag_pipeline/document_preprocessor.py440 # Retrieve RAG index name and schemaCOMMENT
MEDIUMpython/ai/rag_agent/tests/README.md1# RAG Preprocessor TestsCOMMENT
MEDIUMdocs/content/v2025.2/explore/gen-ai-apps.md43Vector-based similarity searches are commonly used in step 1 of the [RAG](#retrieval-augmented-generation) workflow. SpeCODE
MEDIUMdocs/content/v2025.2/explore/gen-ai-apps.md57#### MCP and RAG: Better togetherCOMMENT
MEDIUMdocs/content/stable/develop/AI/_index.md21- [How to Build a RAG Workflow for Agentic AI without Code](https://www.yugabyte.com/blog/build-a-rag-workflow-for-agentCODE
MEDIUMdocs/content/stable/develop/AI/hello-rag.md17## Why use RAG?COMMENT
MEDIUMdocs/content/stable/explore/gen-ai-apps.md45Vector-based similarity searches are commonly used in step 1 of the [RAG](#retrieval-augmented-generation) workflow. SpeCODE
MEDIUMdocs/content/stable/explore/gen-ai-apps.md59#### MCP and RAG: Better togetherCOMMENT
MEDIUMdocs/content/stable/integrations/langchain.md194 # Define RAG prompt templateCOMMENT
MEDIUMdocs/content/stable/integrations/langchain.md200 # Build RAG chainCOMMENT
MEDIUMdocs/content/stable/integrations/langchain.md273 # Step 3: Create RAG chainCOMMENT
MEDIUMdocs/content/stable/integrations/langchain.md276 # Step 4: Test RAG chainCOMMENT
MEDIUMdocs/content/stable/integrations/langchain.md528### Use with RAG chainCOMMENT
MEDIUMdocs/content/stable/integrations/langchain.md539# Use RAG chain to get answerCOMMENT
MEDIUMdocs/content/v2025.1/explore/gen-ai-apps.md43Vector-based similarity searches are commonly used in step 1 of the [RAG](#retrieval-augmented-generation) workflow. SpeCODE
MEDIUMdocs/content/v2025.1/explore/gen-ai-apps.md57#### MCP and RAG: Better togetherCOMMENT
MEDIUMdocs/content/v2024.2/explore/gen-ai-apps.md43Vector-based similarity searches are commonly used in step 1 of the [RAG](#retrieval-augmented-generation) workflow. SpeCODE
MEDIUMdocs/content/v2024.2/explore/gen-ai-apps.md57#### MCP and RAG: Better togetherCOMMENT
MEDIUMsrc/yb/yql/CMakeLists.txt36# Support for running a Distributed RAG service as a subprocess of the tserver process.COMMENT
MEDIUM…ostgres/src/tools/pg_bsd_indent/t/001_pg_bsd_indent.pl3# The test cases come from FreeBSD upstream, but this test scaffolding is ours.COMMENT
Slop Phrases25 hits · 42 pts
SeverityFileLineSnippetContext
LOW…/yb-cql/src/test/java/org/yb/cqlent/TestCQLSecure.java80 /** Note: Don't forget to close the cluster after you're done with it! */COMMENT
MEDIUMbuild-support/yb_buildrc_example.sh9# If you are more comfortable with command-line options as opposed to special variables, you can useCOMMENT
LOWsrc/yb/ash/wait_state.h85// If the bit representation of wait event code is changed, don't forget to change theCOMMENT
LOWsrc/yb/docdb/doc_vector_index.h189// don't forget to call EnableAutoCompactions().COMMENT
LOWsrc/postgres/contrib/postgres_fdw/deparse.c940 * expanded later, but don't forget to add deparse support below.COMMENT
LOW…postgres/third-party-extensions/pgtap/test/test_MVU.sh274# We want to make sure to use the NEW pg_configCOMMENT
MEDIUM…-extensions/pgrx/pgrx-examples/pgtrybuilder/src/lib.rs48 // like we are here, but for demonstration purposes, this will sufficeCOMMENT
LOWsrc/postgres/src/tools/version_stamp.pl100print "Don't forget to run autoconf $aconfver before committing.\n";CODE
LOW…c/postgres/src/test/recovery/t/006_logical_decoding.pl143# make sure you can't drop a slot while activeCOMMENT
LOWsrc/postgres/src/bin/pg_dump/pg_backup_archiver.c2124 * a sign byte. If you change this, don't forget to change the fileCOMMENT
LOWsrc/postgres/src/include/mb/pg_wchar.h228 * If you add some encoding don't forget to checkCOMMENT
MEDIUMsrc/postgres/src/include/lib/ilist.h30 * Here's a simple example demonstrating how this can be used. Let's assumeCOMMENT
LOWsrc/postgres/src/backend/access/transam/xlog.c4846 * If you change them, don't forget to update the list.COMMENT
LOW…c/postgres/src/backend/access/brin/brin_minmax_multi.c638 /* don't forget to include the null terminator ;-) */COMMENT
LOWsrc/postgres/src/backend/access/common/reloptions.c59 * (vi) don't forget to document the optionCOMMENT
LOWsrc/postgres/src/backend/access/heap/heapam.c2254 * If heaptup is a private copy, release it. Don't forget to copy t_selfCOMMENT
LOWsrc/postgres/src/backend/access/heap/heapam.c4112 * If heaptup is a private copy, release it. Don't forget to copy t_selfCOMMENT
LOWsrc/postgres/src/backend/nodes/bitmapset.c1176 * Note: don't forget to specify bitmap_match as the match function!COMMENT
LOWsrc/postgres/src/backend/utils/misc/guc.c1167 * 6. Don't forget to document the option (at least in config.sgml).COMMENT
LOWsrc/postgres/src/backend/utils/adt/expandedrecord.c1465 * But don't forget to mark header as dummy.COMMENT
LOWsrc/postgres/src/backend/utils/adt/selfuncs.c1006 /* Don't forget to account for nulls. */COMMENT
LOWsrc/postgres/src/backend/utils/adt/acl.c736 * you make a change here, don't forget to update the GRANT man page,COMMENT
LOWsrc/postgres/src/backend/utils/hash/dynahash.c1638 /* don't forget to terminate the rebuilt hash chains... */COMMENT
LOWsrc/postgres/src/backend/regex/regc_nfa.c2977 /* Don't forget to free sclone's donemap when done with it */COMMENT
LOWsrc/postgres/src/backend/storage/lmgr/lock.c2068 /* don't forget to clear waitMask bit if appropriate */COMMENT
Modern Structural Boilerplate37 hits · 40 pts
SeverityFileLineSnippetContext
LOWmanaged/scripts/openapi_process_vendor_ext.py318logger = logging.getLogger(__name__)CODE
LOWpython/yugabyte/release_util.py257 def update_manifest(self, distribution_dir: str) -> None:CODE
LOWpython/yugabyte/dep_graph_common.py470 def set_link_command(self, link_cmd: List[str]) -> None:CODE
LOWpython/yugabyte/dep_graph_common.py482 def update_from_json(self, json_data: Dict[str, Any]) -> None:CODE
LOWpython/yugabyte/linuxbrew.py92def set_build_root(build_root: str) -> None:CODE
LOWpython/yugabyte/dependency_graph.py451 def set_dep_graph(self, dep_graph: DependencyGraph) -> None:CODE
LOWpython/yugabyte/run_tests_on_spark.py371def set_global_conf_for_spark_jobs() -> None:STRING
LOWpython/yugabyte/library_packager.py344 def set_or_remove_rpath(self, dest_root_dir: str, file_path: str) -> None:CODE
LOWpython/yugabyte/thirdparty_archives_metadata.py143 def update_archive_metadata_file(self, thirdparty_pr: Optional[int]) -> None:CODE
LOWpython/yugabyte/thirdparty_archives_metadata.py149 def update_archive_metadata_file_with_pr(self, thirdparty_pr: int) -> None:CODE
LOWpython/yugabyte/thirdparty_archives_metadata.py205 def update_archive_metadata_file_for_release(self) -> None:CODE
LOWpython/yugabyte/mac_library_packager.py316 def set_new_path(self, filename: str, old_path: str, new_path: str) -> None:CODE
LOWpython/yugabyte/logging_util.py111def set_thirdparty_dir(thirdparty_dir: str) -> None:CODE
LOWpython/yugabyte/logging_util.py115def set_thirdparty_installed_dir(thirdparty_installed_dir: str) -> None:CODE
LOWpython/yugabyte/logging_util.py119def set_build_root(build_root: str) -> None:CODE
LOWpython/yugabyte/logging_util.py123def set_linuxbrew_dir(linuxbrew_dir: str) -> None:CODE
LOWpython/yugabyte/common_util.py89def set_thirdparty_dir(thirdparty_dir: str) -> None:CODE
LOWpython/yugabyte/common_util.py100def set_llvm_toolchain_dir(llvm_toolchain_dir: str) -> None:CODE
LOWpython/yugabyte/common_util.py111def set_gcc_toolchain_dir(gcc_toolchain_dir: str) -> None:CODE
LOWpython/yugabyte/common_util.py202def set_env_vars_from_build_root(build_root: str) -> None:CODE
LOWpython/yugabyte/common_util.py368def set_or_del_env_var(k: str, v: Optional[str]) -> None:CODE
LOWpython/yugabyte/build_postgres.py279 def set_env_var(self, name: str, value: Optional[str]) -> None:CODE
LOWpython/yugabyte/build_postgres.py395 def set_env_vars(self, step: str) -> None:CODE
LOWpython/yugabyte/thirdparty_tool_impl.py252def update_thirdparty_dependencies(args: argparse.Namespace) -> None:CODE
LOWpython/yugabyte/postprocess_test_result.py261 def set_common_test_kvs(self, test_kvs: Dict[str, Any]) -> None:CODE
LOWpython/yugabyte/postprocess_test_result.py279 def set_fail_tags(self, test_kvs: Dict[str, Any]) -> None:CODE
LOWpython/yugabyte/compiler_args.py145 def set_output_path(self, new_output_path: str) -> None:CODE
LOWpython/yugabyte/rpath.py75def set_rpath(file_path: str, rpath: str) -> None:CODE
LOWpython/ai/rag_agent/start_rag_agent.py39logger = logging.getLogger(__name__)CODE
LOWpython/ai/rag_agent/__main__.py17logger = logging.getLogger(__name__)CODE
LOWpython/ai/rag_agent/embeddings/__init__.py11__all__ = [CODE
LOWpython/ai/rag_agent/pdf_processing/docling_loader.py14logger = logging.getLogger(__name__)CODE
LOWpython/ai/rag_agent/models/__init__.py9__all__ = ["DocumentMetadata"]CODE
LOWpython/ai/rag_agent/db/__init__.py6__all__ = [CODE
LOW…thon/ai/rag_agent/source_location_crawlers/__init__.py9__all__ = ["S3BucketCrawler"]CODE
LOWpython/ai/rag_agent/work_queue/__init__.py10__all__ = ["TaskRouter", "TaskTypeKeys"]CODE
LOWpython/ai/rag_agent/html_processing/__init__.py3__all__ = [CODE
Docstring Block Structure8 hits · 40 pts
SeverityFileLineSnippetContext
HIGH…thon/ai/rag_agent/rag_pipeline/aws_source_processor.py242 Process a document embedding task. Args: task: WorkQueueTask object with document details STRING
HIGHpython/ai/rag_agent/embeddings/embed.py420 Generator that yields (chunk_text, embedding_vector) tuples. Args: file_location (str): PaSTRING
HIGHpython/ai/rag_agent/models/document_metadata.py58 Create a DocumentMetadata object from a dictionary. Args: data (Dict[str, Any]): DictionarSTRING
HIGHpython/ai/rag_agent/models/work_queue_task.py54 Create a WorkQueueTask object from a database row. Args: row (tuple): Tuple from RETURNINGSTRING
HIGHpython/ai/rag_agent/models/work_queue_task.py82 Create a WorkQueueTask object from a dictionary. Args: data (Dict[str, Any]): Dictionary cSTRING
HIGHpython/ai/rag_agent/db/source_document_tracking.py15 Insert document metadata into the dist_rag.documents table. Args: document_metSTRING
HIGHpython/ai/rag_agent/work_queue/task_router.py35 Process a task. Args: task: WorkQueueTask object containing id, task_type, STRING
HIGHpython/ai/rag_agent/work_queue/task_router.py115 Route a task to the appropriate processor. Args: task: WorkQueueTask object with task_typeSTRING
AI Response Leakage5 hits · 38 pts
SeverityFileLineSnippetContext
HIGH…/v2025.2/deploy/public-clouds/aws/manual-deployment.md65# In this example, it is just 1. But if you have two then the RHSCOMMENT
HIGH…t/stable/deploy/public-clouds/aws/manual-deployment.md65# In this example, it is just 1. But if you have two then the RHSCOMMENT
HIGH…/v2025.1/deploy/public-clouds/aws/manual-deployment.md65# In this example, it is just 1. But if you have two then the RHSCOMMENT
HIGH…nt/v2.20/deploy/public-clouds/aws/manual-deployment.md65# In this example, it is just 1. But if you have two then the RHSCOMMENT
HIGH…/v2024.2/deploy/public-clouds/aws/manual-deployment.md65# In this example, it is just 1. But if you have two then the RHSCOMMENT
Synthetic Comment Markers5 hits · 32 pts
SeverityFileLineSnippetContext
HIGHpython/yugabyte/library_packager.py153 # The name of the library as requested by the original executable/shared library.COMMENT
HIGHdocs/content/stable/reference/docs-mcp-server.md135Responses from the LLM when using the MCP server (including summaries, generated SQL, and dashboards) are generated by ACODE
HIGHdocs/layouts/_partials/hooks/body-end.html57 data-modal-disclaimer="This is a custom LLM for Yugabyte with access to developer docs (docs.yugabyte.com), and all GiCODE
HIGH…/features/clusters/details/overview/ChartControler.tsx106 // return data type of the query is hardcoded in auto-generated code, use hacks to override itCOMMENT
HIGHsrc/postgres/src/tools/ci/ci_macports_packages.sh62# If setting all the required packages as requested fails, we needCOMMENT
Example Usage Blocks17 hits · 24 pts
SeverityFileLineSnippetContext
LOWmanaged/byoc-api-proxy/systemd/install.sh6# Usage:COMMENT
LOWpython/ai/rag_agent/embeddings/embedding_user_promt.py82# Example usage:STRING
LOWscripts/yb-node-env.sh13# Usage:COMMENT
LOWscripts/yb-universe-masters-env.sh10# Usage:COMMENT
LOWpg15_tests/common.sh68# Usage:COMMENT
LOWsrc/yb/util/threadlocal.h47// Example usage:COMMENT
LOWsrc/yb/util/threadlocal.h86// Example usage:COMMENT
LOWsrc/yb/util/logging.h126// Example usage:COMMENT
LOWsrc/yb/util/trace.h183 // Example usage:COMMENT
LOWsrc/yb/util/cow_object.h148// Example usage:COMMENT
LOWsrc/yb/util/cow_object.h210// Example usage:COMMENT
LOWsrc/yb/util/bitmap.h117// Example usage:COMMENT
LOWsrc/yb/util/bitmap.h164// Example usage:COMMENT
LOWsrc/yb/util/test_util.h115// Example usage:COMMENT
LOWsrc/yb/gutil/once.h27// Example usage:COMMENT
LOWsrc/yb/gutil/tuple.h30// Example usage:COMMENT
LOWsrc/postgres/src/backend/port/aix/mkldexport.sh8# Usage:COMMENT
TODO Padding7 hits · 10 pts
SeverityFileLineSnippetContext
LOWmanaged/yba-installer/integrationtests/workflow.go17// TODO: implement "additional workflows".COMMENT
LOW…ged/src/test/java/com/yugabyte/yw/common/UtilTest.java320 // TODO: Add tests for other functionsCOMMENT
LOW…va/yb-client/src/main/java/org/yb/util/CommonUtil.java22 // TODO: Add validation for the length of the ByteString after making sure it does notCOMMENT
LOWjava/yb-cql/src/test/java/org/yb/cql/TestSelect.java504 // TODO: Add tests to test CONTAINS KEY on a set / map / list of frozen tuplesCOMMENT
LOWjava/yb-cql/src/test/java/org/yb/cql/TestSelect.java657 // TODO: Add tests to test CONTAINS on a set/list/map of frozen tuples.COMMENT
LOWsrc/yb/util/hdr_histogram.h188 // TODO: implementCOMMENT
LOWsrc/yb/util/hdr_histogram.h193 // TODO: implementCOMMENT
AI Structural Patterns5 hits · 4 pts
SeverityFileLineSnippetContext
LOWmanaged/devops/bin/node_client_utils.py79CODE
LOWmanaged/devops/opscli/ybops/cloud/oci/utils.py335CODE
LOWmanaged/devops/opscli/ybops/cloud/gcp/utils.py992CODE
LOWpython/ai/rag_agent/embeddings/embedding_user_promt.py14CODE
LOW…extensions/pg_partman/bin/pg10/reapply_foreign_keys.py108CODE
Overly Generic Function Names4 hits · 4 pts
SeverityFileLineSnippetContext
LOWmanaged/ui/public/mockServiceWorker.js124async function handleRequest(event, requestId, requestInterceptedAt) {CODE
LOWpython/yugabyte/clang_tidy_runner.py150 def run_task(self, task: Any) -> Any:CODE
LOWpython/yugabyte/parallel_task_runner.py123 def run_task(self, task: Any) -> Any:CODE
LOWpython/yugabyte/compiler_parallel_runner.py85 def run_task(self, task: Any) -> Any:CODE