Repository Analysis

scylladb/scylladb

NoSQL data store using the Seastar framework, compatible with Apache Cassandra and Amazon DynamoDB

30.5 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of scylladb/scylladb, a C++ project with 15,651 GitHub stars. SynthScan v2.0 examined 275,845 lines of code across 1183 source files, recording 6325 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 30.5 places this repository in the Strong AI signal band.

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

30.5
Adjusted Score
30.5
Raw Score
100%
Time Factor
2026-07-14
Last Push
15.7K
Stars
C++
Language
275.8K
Lines of Code
1.2K
Files
6.3K
Pattern Hits
2026-07-14
Scan Date
0.38
HC Hit Rate

What These Metrics Mean

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

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 11HIGH 443MEDIUM 256LOW 5615

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 6325 distinct pattern matches across 23 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers3605 hits · 3340 pts
SeverityFileLineSnippetContext
LOWconfigure.py295def check_for_minimal_compiler_version(cxx):CODE
LOWconfigure.py396def resolve_compilers_for_compiler_cache(args, compiler_cache):STRING
LOWconfigure.py1885def get_clang_inline_threshold():STRING
LOWconfigure.py2015def prepare_advanced_optimizations(*, modes, build_modes, args):STRING
LOWconfigure.py3193def generate_compdb_for_cmake_build(source_dir, build_dir):STRING
LOWgen_segmented_compress_params.py64def best_nominal_data_size_for_bucket_size(chunk_size, bucket_size, n_values):CODE
LOWscylla-gdb.py42def get_template_arg_with_prefix(gdb_type, prefix):CODE
LOWscylla-gdb.py529 def external_memory_footprint(self):CODE
LOWscylla-gdb.py537def deref_libcpp_hashtable_nodes_data_member(ptr):CODE
LOWscylla-gdb.py2009def find_single_sstable_readers():CODE
LOWscylla-gdb.py2140def has_enable_lw_shared_from_this(type):CODE
LOWscylla-gdb.py2341 def summarize_inheriting_execution_stage(ies):CODE
LOWscylla-gdb.py2360 def summarize_table_phased_barrier_users(db, barrier_name):CODE
LOWscylla-gdb.py2371 def summarize_storage_proxy_coordinator_stats(sp):CODE
LOWscylla-gdb.py2805def get_seastar_memory_start_and_size():CODE
LOWscylla-gdb.py2914 def is_seastar_allocator_used():CODE
LOWscylla-gdb.py3490def seastar_threads_on_current_shard():CODE
LOWscylla-gdb.py3662 def external_memory_footprint(self):CODE
LOWscylla-gdb.py3680 def external_memory_footprint(self):CODE
LOWscylla-gdb.py3719 def external_memory_footprint(self):CODE
LOWscylla-gdb.py4538def get_gms_generation_or_version(i):CODE
LOWscylla-gdb.py4608def find_sstables_attached_to_tables():CODE
LOWscylla-gdb.py4758 def dump_compaction_group_memtables(compaction_group):CODE
LOWscylla-gdb.py4843 def _traverse_object_graph_breadth_first(address, max_depth, max_vertices, timeout_seconds, value_range_override):CODE
LOWscylla-gdb.py4896 def _do_generate_object_graph(address, output_file, max_depth, max_vertices, timeout_seconds, value_range_override):CODE
LOWscylla-gdb.py5526 def get_cql_type_deserializer(self, type_name):CODE
LOWscylla-gdb.py5556 def parse_clustering_key_bytes(self, b):CODE
LOWscylla-gdb.py5560 def parse_partition_key_bytes(self, b):CODE
LOWscylla-gdb.py6000 def dump_reads_from_semaphore(semaphore):CODE
LOWscylla-gdb.py6448 def _last_token_of_compaction_group(self, most_significant_bits, group):CODE
LOWidl-compiler.py440 def to_string_send_fn_signature(self):CODE
LOWidl-compiler.py449 def to_string_handle_ret_value(self):CODE
LOWidl-compiler.py531 def handler_function_return_values(self):CODE
LOWidl-compiler.py545 def send_function_return_type(self):CODE
LOWidl-compiler.py560 def handler_function_parameters_str(self):CODE
LOWidl-compiler.py570 def send_function_signature_params_list(self, include_placeholder_names, dst_type):CODE
LOWidl-compiler.py583 def send_message_argument_list(self):CODE
LOWidl-compiler.py629def template_type_parse_action(tokens):CODE
LOWidl-compiler.py663def class_member_parse_action(tokens):CODE
LOWidl-compiler.py686def rpc_verb_param_parse_action(tokens):CODE
LOWidl-compiler.py692def rpc_verb_return_val_parse_action(tokens):CODE
LOWidl-compiler.py1044def add_param_writer_basic_type(name, base_state, typ, var_type="", var_index=None, root_node=False):CODE
LOWidl-compiler.py891def list_local_writable_types(t):STRING
LOWidl-compiler.py1355def register_writable_local_type(cls):STRING
LOWidl-compiler.py1621def generate_rpc_verbs_declarations(hout, module_name):STRING
LOWidl-compiler.py1637def generate_rpc_verbs_definitions(cout, module_name):STRING
LOWidl-compiler.py1693def setup_additional_metadata(tree, ns_context = [], parent_template_params=[]):STRING
LOWtest/scylla_gdb/test_sstable_commands.py39def test_sstable_summary_output(gdb_cmd):CODE
LOWtest/scylla_gdb/test_basic_commands.py74def test_nonexistent_scylla_command(gdb_cmd):CODE
LOWtest/scylla_gdb/test_schema_commands.py40def test_generate_object_graph(gdb_cmd, request):CODE
LOWtest/cluster/test_table_desc_read_barrier.py19async def test_table_desc_read_barrier(manager: ManagerClient) -> None:CODE
LOW…cluster/test_write_query_during_cql_server_shutdown.py22async def test_write_query_during_cql_server_shutdown(request: pytest.FixtureRequest, manager: ManagerClient) -> None:CODE
LOWtest/cluster/test_replica_exceptions.py85async def test_replica_do_apply_rate_limit_no_cpp_exceptions(manager: ManagerClient):CODE
LOWtest/cluster/test_replica_exceptions.py107async def test_replica_query_rate_limit_no_cpp_exceptions(manager: ManagerClient):CODE
LOWtest/cluster/test_replica_exceptions.py129async def test_replica_writes_apply_counter_update_timeout(manager: ManagerClient):CODE
LOWtest/cluster/test_replica_exceptions.py152async def test_replica_writes_do_apply_counter_update_timeout(manager: ManagerClient):CODE
LOWtest/cluster/test_replica_exceptions.py177async def test_replica_database_apply_timeout(manager: ManagerClient):CODE
LOWtest/cluster/test_deprecating_cluster_features.py20async def test_feature_deprecation_works(manager: ManagerClient) -> None:CODE
LOWtest/cluster/test_deprecating_cluster_features.py52async def test_features_suppress_works(manager: ManagerClient, build_mode) -> None:CODE
LOWtest/cluster/test_counter_write_timeout_metric.py27async def test_counter_write_timeout_updates_coordinator_metric(manager: ManagerClient):CODE
3545 more matches not shown…
Cross-Language Confusion433 hits · 2378 pts
SeverityFileLineSnippetContext
HIGHconfigure.py2502 command = {ragel_exec} -G2 -o $out $in && sed -i -e '1h;2,$$H;$$!d;g' -re 's/static const char _nfa[^;]*;//gCODE
HIGHconfigure.py2525 command = rm -rf $out && mkdir -p $out && cp $pkgs $out/CODE
HIGHconfigure.py3091 command = ./configure.py --out={buildfile_final_name}.new --out-final-name={buildfile_final_name} $configure_aCODE
HIGHtest/cluster/util.py118 Polls system.topology until the transition_state column is null,STRING
HIGHtest/cluster/test_ensure_committed_by_group0.py34 # Simulate pre-group0 table (null) and recovery-mode table (false)COMMENT
HIGHtest/cluster/test_incremental_repair.py1087 # is false and being_repaired is null, so S1' lands in the UNREPAIRED view whereCOMMENT
HIGHtest/alternator/test_streams.py479 events.append(['INSERT',{'c':c + '0','p':p},null,{'c':c + '0','a':0,'p':p}])CODE
HIGHtest/alternator/test_streams.py483 events.append(['INSERT',{'c':c + '2','p':p},null,{'c':c + '2','a':2,'p':p}])CODE
HIGHtest/alternator/test_streams.py507 events.append(['INSERT',{'c':c,'p':p},null,{'c':c,'e':166,'g':166,'p':p}])CODE
HIGHtest/alternator/test_streams.py538 events.append(['INSERT',{'p':p},null,{'e':166,'g':166,'p':p}])CODE
HIGHtest/alternator/test_item.py50# number, boolean, bytes, null, list, map, string set, number set,COMMENT
HIGHtest/alternator/test_manual_requests.py491 '{"RequestItems": null}',CODE
HIGHtest/alternator/test_manual_requests.py494 '{"RequestItems": {"__TABLE__": null}}',CODE
HIGHtest/alternator/test_manual_requests.py495 '{"RequestItems": {"__TABLE__": [null]}}',CODE
HIGHtest/alternator/test_manual_requests.py497 '{"RequestItems": {"__TABLE__": [{"PutRequest": null}]}}',CODE
HIGHtest/alternator/test_manual_requests.py499 '{"RequestItems": {"__TABLE__": [{"PutRequest": {"Item": null}}]}}',CODE
HIGHtest/alternator/test_manual_requests.py501 '{"RequestItems": {"__TABLE__": [{"DeleteRequest": null}]}}',CODE
HIGHtest/alternator/test_manual_requests.py503 '{"RequestItems": {"__TABLE__": [{"DeleteRequest": {"Key": null}}]}}',CODE
HIGHtest/cqlpy/test_static.py83 # column. Getting back just the static row, with r=null, would be wrongCOMMENT
HIGHtest/cqlpy/test_cdc.py73 cql.execute(f"insert into {table} (pk, v) values (1, null)")CODE
HIGHtest/cqlpy/test_type_decimal.py325# Java's BigDecimal.toString() specification.COMMENT
HIGHtest/cqlpy/test_type_decimal.py329# for DecimalType delegates to BigDecimal.toString(). This test can beCOMMENT
HIGHtest/cqlpy/test_type_decimal.py343 # (input, expected toJson output per Java BigDecimal.toString())COMMENT
HIGHtest/cqlpy/test_uda.py138 state_body = "(acc int, val int) CALLED ON NULL INPUT RETURNS int LANGUAGE lua AS 'if acc == null then return 999 elCODE
HIGHtest/cqlpy/test_null.py259# Cassandra considers the null subscript 'm[null]' to be an invalid request.COMMENT
HIGHtest/cqlpy/test_null.py260# In Scylla we decided to it differently (we think better): m[null] is simplyCOMMENT
HIGHtest/cqlpy/test_null.py261# a null, so the filter 'WHERE m[null] = 3' is not an error - it just doesn'tCOMMENT
HIGHtest/cqlpy/test_null.py263# and null < 2 are both defined as returning null), and will also allow usCOMMENT
HIGHtest/cqlpy/test_null.py74 cql.execute(f"INSERT INTO {table1} (p,c) VALUES ('{s}', null) IF NOT EXISTS")CODE
HIGHtest/cqlpy/test_null.py76 cql.execute(f"INSERT INTO {table1} (p,c) VALUES (null, '{s}') IF NOT EXISTS")CODE
HIGHtest/cqlpy/test_null.py88 cql.execute(f"BEGIN BATCH INSERT INTO {table1} (p,c) VALUES ('{s}', null);APPLY BATCH;")CODE
HIGHtest/cqlpy/test_null.py90 cql.execute(f"BEGIN BATCH INSERT INTO {table1} (p,c) VALUES ('{s}', null) IF NOT EXISTS;APPLY BATCH;")CODE
HIGHtest/cqlpy/test_null.py92 cql.execute(f"BEGIN BATCH INSERT INTO {table1} (p,c) VALUES (null, '{s}');APPLY BATCH;")CODE
HIGHtest/cqlpy/test_null.py94 cql.execute(f"BEGIN BATCH INSERT INTO {table1} (p,c) VALUES (null, '{s}') IF NOT EXISTS;APPLY BATCH;")CODE
HIGHtest/cqlpy/test_null.py121 cql.execute(cql.prepare(f"INSERT INTO {table2} (id,b,c) VALUES ('{key}',1,null)"))CODE
HIGHtest/cqlpy/test_null.py124 cql.execute(cql.prepare(f"INSERT INTO {table2} (id,a,c) VALUES ('{key}',1,null)"))CODE
HIGHtest/cqlpy/test_null.py301 cql.execute(f"INSERT INTO {table} (p,v) VALUES ({p}, ['hi', null])")CODE
HIGHtest/cqlpy/test_null.py316 cql.execute(f"INSERT INTO {table} (p,v) VALUES ({p}, [1, null])")CODE
HIGHtest/cqlpy/test_null.py57 cql.execute(f"INSERT INTO {table1} (p,c) VALUES ('{s}', null)")CODE
HIGHtest/cqlpy/test_null.py59 cql.execute(f"INSERT INTO {table1} (p,c) VALUES (null, '{s}')")CODE
HIGHtest/cqlpy/test_null.py277 assert list(cql.execute(f"SELECT p FROM {table1} WHERE m[null] = 3 ALLOW FILTERING")) == []CODE
HIGHtest/cqlpy/test_udf.py104 lang_ret = "LANGUAGE java AS 'return null;'"CODE
HIGHtest/cqlpy/test_materialized_view.py198# key column unset (aka null) do not get copied into the view.COMMENT
HIGHtest/cqlpy/test_materialized_view.py319 # "restriction '(xyz) IS NOT { null }' is only supported in materializedCOMMENT
HIGHtest/cqlpy/test_materialized_view.py550# be null, so it is pointless to require the "IS NOT NULL". However,COMMENT
HIGHtest/cqlpy/test_materialized_view.py204 cql.execute(f"INSERT INTO {table} (p,v) VALUES (17, null)")CODE
HIGHtest/cqlpy/test_vector_similarity.py127 result = cql.execute(f"SELECT pk, similarity_{similarity_function}(null, [1.1, 1.2, 20.25]) FROM {table1}")STRING
HIGHtest/cqlpy/test_vector_similarity.py130 result = cql.execute(f"SELECT pk, similarity_{similarity_function}(v1, null) FROM {table1}")STRING
HIGHtest/cqlpy/test_vector_similarity.py134 cql.execute(f"SELECT pk, similarity_{similarity_function}(null, null) FROM {table1}")STRING
HIGHtest/cqlpy/test_vector_similarity.py99 cql.execute(f"SELECT pk, similarity_{similarity_function}(v1, [1.1, null, 20.25]) FROM {table1}")STRING
HIGHtest/cqlpy/test_vector_similarity.py318 result = cql.execute(f"SELECT pk, similarity_{similarity_function}(v, null) FROM {table}")STRING
HIGHtest/cqlpy/test_json.py283 cql.execute(f"INSERT INTO {table1} (p, v) VALUES ({p}, fromJson(null))")STRING
HIGHtest/cqlpy/test_json.py402 cql.execute(stmt, [p, '["a", null]'])STRING
HIGHtest/cqlpy/test_json.py404 cql.execute(stmt, [p, '[null, 2]'])STRING
HIGHtest/cqlpy/test_json.py411 cql.execute(stmt, [p, '["a", null]'])STRING
HIGHtest/cqlpy/test_json.py565 assert list(cql.execute(f"SELECT JSON tup from {table1} where p = {p}")) == [('{"tup": ["hello", null]}',)]STRING
HIGHtest/cqlpy/test_json.py569 assert list(cql.execute(f"SELECT JSON t1 from {table1} where p = {p}")) == [('{"t1": {"t": "hello", "b": null}}',)]STRING
HIGHtest/cqlpy/test_json.py531 'ttl(v)': '{"ttl(v)": null}',STRING
HIGHtest/cqlpy/test_json.py592 'ttl(v)': '{"ttl(v)": null}',STRING
HIGHtest/cqlpy/test_json.py593 'ttl(v) as hi': '{"hi": null}',STRING
373 more matches not shown…
Over-Commented Block767 hits · 574 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt61# Since gcc 13, libgcc doesn't need the exception workaroundCOMMENT
LOWconfigure.py301COMMENT
LOWconfigure.py1961# know the path it will be installed to, so for now use a very longCOMMENT
LOWconfigure.py2081 build {profile_target}: xz_uncompress {default_profile_archive_path}COMMENT
LOWconfigure.py2161 # By itself, it results in *both* DW_AT_name and DW_AT_comp_dir beingCOMMENT
LOWinstall.sh41# A pathname has three components: "$root/$prefix/$rest".COMMENT
LOWcoverage_excludes.txt1# This file contains regx patterns that should beCOMMENT
LOWinstall-dependencies.sh1#!/bin/bash -eCOMMENT
LOWtest/CMakeLists.txt1find_package(jsoncpp REQUIRED)COMMENT
LOWtest/pytest.ini41 skip_bug(link=..., reason=...): Skip due to a known bug (link = issue URL, reason = human-readable explanation).COMMENT
LOWtest/cluster/test_session_abort_repair_meta.py61 token = -1COMMENT
LOWtest/cluster/test_tablet_stats.py121 # the schema change listener is still registered.COMMENT
LOWtest/cluster/test_ttl_row.py1# Copyright (C) 2025-present ScyllaDBCOMMENT
LOWtest/cluster/test_ttl_row.py121 # so the ALTER TABLE work doesn't pollute the ms_statementCOMMENT
LOWtest/cluster/test_topology_smp.py21COMMENT
LOWtest/cluster/test_table_drop.py101 # Drop the table while streaming is paused. With the stream_in_progressCOMMENT
LOW…t_group0_recovers_after_partial_command_application.py81 # Before restarting, enable an error injection which causes the stateCOMMENT
LOWtest/cluster/test_alternator.py1#COMMENT
LOWtest/cluster/test_alternator.py161 # happened, and certainly several scans, all taking CPU which we expectCOMMENT
LOWtest/cluster/test_alternator.py261 # Run two Scylla nodes telling both their broadcast_rpc_address is 127.0.0.0COMMENT
LOWtest/cluster/test_alternator.py401 # return just one node - not both. Reproduces #19694 (two nodes used toCOMMENT
LOWtest/cluster/test_alternator.py881 if hasattr(self, 'exception'):COMMENT
LOWtest/cluster/test_alternator.py901# the operations are sent to different nodes - because a single nodeCOMMENT
LOWtest/cluster/test_commitlog.py21 # Check that commitlog provides durability in case of a node reboot.COMMENT
LOWtest/cluster/test_topology_remove_decom.py41 table = await random_tables.add_table(ncolumns=5)COMMENT
LOW…cluster/test_sstable_compression_dictionaries_basic.py461 # Flush to get initial sstablesCOMMENT
LOW…cluster/test_sstable_compression_dictionaries_basic.py481 # "group": "compression_parameters"COMMENT
LOWtest/cluster/test_bti_index.py101COMMENT
LOWtest/cluster/test_tablets_lwt.py201 consistency_level=ConsistencyLevel.SERIAL))COMMENT
LOWtest/cluster/test_tablets_lwt.py641 #COMMENT
LOWtest/cluster/test_tablets_lwt.py701 # The scenario is similar to the write-uncertainty test:COMMENT
LOWtest/cluster/test_view_building_coordinator.py801# Scenario:COMMENT
LOWtest/cluster/test_view_building_coordinator.py1001COMMENT
LOWtest/cluster/test_fencing.py301 # the fourth replica may also return a failure, making the possible outcomes 2 or 3 failures.COMMENT
LOWtest/cluster/test_fencing.py321 # is already in the 'normal' state, but update_peer_info is not called because gossiperCOMMENT
LOWtest/cluster/test_incremental_repair.py941 await coord_log.wait_for(f'Stopping.*ongoing compactions for table {ks}.test', from_mark=s1_mark)COMMENT
LOWtest/cluster/test_incremental_repair.py1041 repair_response = await manager.api.tablet_repair(COMMENT
LOWtest/cluster/test_incremental_repair.py1061 #COMMENT
LOWtest/cluster/test_incremental_repair.py1081 target = servers[1]COMMENT
LOWtest/cluster/test_incremental_repair.py1241# Tombstone GC safety testsCOMMENT
LOWtest/cluster/test_incremental_repair.py1261# delivered during that repair. repair_time must NOT advance (the guard inCOMMENT
LOWtest/cluster/test_change_ip.py101 return NoneCOMMENT
LOWtest/cluster/test_raft_no_quorum.py41 # if the majority of the cluster is not available.COMMENT
LOWtest/cluster/test_vector_store.py1#COMMENT
LOWtest/cluster/test_unfinished_writes_during_shutdown.py121 # messaging service is shut down, so MUTATION_DONE from the otherCOMMENT
LOWtest/cluster/tasks/__init__.py1#COMMENT
LOWtest/cluster/tasks/test_tablet_tasks.py681 # Start wait_for_task which enters tablet_virtual_task::wait().COMMENT
LOWtest/cluster/object_store/test_backup.py281 def list_sstables():COMMENT
LOWtest/cluster/auth_cluster/conftest.py1#COMMENT
LOWtest/cluster/auth_cluster/__init__.py1#COMMENT
LOWtest/cluster/storage/__init__.py1#COMMENT
LOWtest/cluster/storage/test_out_of_space_prevention.py721 shutil.copy2(os.path.join(snapshots_dir, fname), os.path.join(upload_dir, fname))COMMENT
LOWtest/cluster/dtest/schema_management_test.py461 # entry being preempted.COMMENT
LOWtest/cluster/dtest/alternator/__init__.py1#COMMENT
LOWtest/cluster/dtest/alternator/utils/__init__.py1#COMMENT
LOWtest/cluster/dtest/tools/__init__.py1#COMMENT
LOWtest/cluster/dtest/ccmlib/__init__.py1#COMMENT
LOWtest/cluster/lwt/__init__.py1#COMMENT
LOWtest/cluster/random_failures/cluster_events.py101#COMMENT
LOWtest/cluster/mv/test_mv_delete_partitions.py41 tasks = [asyncio.create_task(do_inserts(i)) for i in range(concurrency)]COMMENT
707 more matches not shown…
Unused Imports365 hits · 344 pts
SeverityFileLineSnippetContext
LOWtest.py10CODE
LOWtest/scylla_gdb/gdb_utils.py15CODE
LOW…cluster/test_write_query_during_cql_server_shutdown.py11CODE
LOW…cluster/test_write_query_during_cql_server_shutdown.py12CODE
LOW…cluster/test_write_query_during_cql_server_shutdown.py17CODE
LOW…cluster/test_write_query_during_cql_server_shutdown.py17CODE
LOWtest/cluster/test_deprecating_cluster_features.py6CODE
LOWtest/cluster/test_deprecating_cluster_features.py11CODE
LOWtest/cluster/test_restart_cluster.py13CODE
LOWtest/cluster/test_change_replication_factor_1_to_0.py12CODE
LOWtest/cluster/test_change_replication_factor_1_to_0.py16CODE
LOWtest/cluster/test_counter_write_timeout_metric.py14CODE
LOWtest/cluster/conftest.py9CODE
LOWtest/cluster/test_zero_token_nodes_no_replication.py6CODE
LOWtest/cluster/test_zero_token_nodes_no_replication.py14CODE
LOWtest/cluster/test_uninitialized_conns_semaphore.py9CODE
LOWtest/cluster/test_rpc_compression.py11CODE
LOWtest/cluster/test_rpc_compression.py15CODE
LOWtest/cluster/test_rpc_compression.py21CODE
LOWtest/cluster/test_rpc_compression.py22CODE
LOWtest/cluster/test_tools_perf.py5CODE
LOWtest/cluster/test_tools_perf.py7CODE
LOW…cluster/test_gossiper_empty_self_id_on_shadow_round.py8CODE
LOW…cluster/test_gossiper_empty_self_id_on_shadow_round.py13CODE
LOW…t/cluster/test_start_bootstrapped_with_invalid_seed.py7CODE
LOWtest/cluster/test_topology_smp.py15CODE
LOW…luster/test_remove_rpc_client_with_pending_requests.py10CODE
LOWtest/cluster/test_tablets_intranode.py6CODE
LOWtest/cluster/test_tablets_intranode.py6CODE
LOWtest/cluster/test_tablets_intranode.py10CODE
LOWtest/cluster/test_tablets_intranode.py18CODE
LOWtest/cluster/test_tablets_intranode.py19CODE
LOWtest/cluster/test_guardrails.py9CODE
LOWtest/cluster/test_guardrails.py16CODE
LOWtest/cluster/test_raft_cluster_features.py15CODE
LOWtest/cluster/test_boot_nodes.py7CODE
LOWtest/cluster/test_remove_alive_node.py6CODE
LOWtest/cluster/test_remove_alive_node.py8CODE
LOWtest/cluster/test_remove_alive_node.py10CODE
LOWtest/cluster/test_replace_with_same_ip_twice.py9CODE
LOWtest/cluster/test_truncate_concurrent_writes.py8CODE
LOWtest/cluster/test_truncate_concurrent_writes.py8CODE
LOWtest/cluster/test_truncate_concurrent_writes.py12CODE
LOWtest/cluster/test_truncate_concurrent_writes.py15CODE
LOWtest/cluster/test_truncate_concurrent_writes.py16CODE
LOWtest/cluster/test_truncate_concurrent_writes.py17CODE
LOWtest/cluster/test_truncate_concurrent_writes.py18CODE
LOWtest/cluster/test_multidc.py8CODE
LOWtest/cluster/test_raft_voters.py9CODE
LOWtest/cluster/test_raft_snapshot_request.py8CODE
LOW…ter/test_sstable_compression_dictionaries_autotrain.py8CODE
LOW…ter/test_sstable_compression_dictionaries_autotrain.py12CODE
LOWtest/cluster/test_node_isolation.py9CODE
LOWtest/cluster/test_node_isolation.py9CODE
LOWtest/cluster/test_node_isolation.py9CODE
LOWtest/cluster/test_node_isolation.py10CODE
LOWtest/cluster/test_node_isolation.py10CODE
LOWtest/cluster/test_node_isolation.py11CODE
LOWtest/cluster/test_node_isolation.py12CODE
LOWtest/cluster/test_node_isolation.py13CODE
305 more matches not shown…
Decorative Section Separators103 hits · 343 pts
SeverityFileLineSnippetContext
MEDIUMtest/cluster/test_change_rpc_address.py49 # ----------COMMENT
MEDIUMtest/cluster/test_change_rpc_address.py72 # ----------COMMENT
MEDIUMtest/cluster/test_incremental_repair.py1240# ----------------------------------------------------------------------------COMMENT
MEDIUMtest/cluster/test_incremental_repair.py1272# ----------------------------------------------------------------------------COMMENT
MEDIUMtest/pylib/skip_types.py86# ── Convenience wrappers ────────────────────────────────────────────────COMMENT
MEDIUMtest/dist_test/test_coredump_setup.py13# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/dist_test/test_coredump_setup.py16# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py27# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py29# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py91# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py93# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py139# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py141# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py166# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py168# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py236# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py238# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py285# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py287# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py331# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py333# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py390# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py392# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py439# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py441# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py511# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py513# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py542# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py544# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py666# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py668# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py720# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py722# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_replica_guardrail_cql_warnings.py63# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_replica_guardrail_cql_warnings.py65# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_replica_guardrail_cql_warnings.py120# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_replica_guardrail_cql_warnings.py122# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_replica_guardrail_cql_warnings.py154# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_replica_guardrail_cql_warnings.py156# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_replica_guardrail_cql_warnings.py213# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_replica_guardrail_cql_warnings.py215# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_replica_guardrail_cql_warnings.py275# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_replica_guardrail_cql_warnings.py277# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_replica_guardrail_cql_warnings.py314# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_replica_guardrail_cql_warnings.py316# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_replica_guardrail_cql_warnings.py368# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_replica_guardrail_cql_warnings.py370# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_describe.py714# -----------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_describe.py3325### ===========================================================================COMMENT
MEDIUMtest/cqlpy/test_describe.py841# -----------------------------------------------------------------------------STRING
MEDIUMtest/cqlpy/test_describe.py1550### ---------------------------------------------------------------------------STRING
MEDIUMtest/cqlpy/test_describe.py1729### ===========================================================================STRING
MEDIUMtest/cqlpy/test_bypass_large_data_guardrails.py54# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_bypass_large_data_guardrails.py56# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_vector_search_rescoring_with_mock.py23# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_vector_search_rescoring_with_mock.py25# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_vector_search_rescoring_with_mock.py62# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_vector_search_rescoring_with_mock.py64# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_vector_search_rescoring_with_mock.py108# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/cqlpy/test_vector_search_rescoring_with_mock.py110# ---------------------------------------------------------------------------COMMENT
43 more matches not shown…
Self-Referential Comments95 hits · 286 pts
SeverityFileLineSnippetContext
MEDIUMinstall-dependencies.sh3# This file is open source software, licensed to you under the termsCOMMENT
MEDIUMinstall-dependencies.sh272 # Create the antlr3 wrapper scriptCOMMENT
MEDIUMtest/cluster/test_ttl_row.py87 # Create a test table with attribute "e" that will later functionCOMMENT
MEDIUMtest/cluster/test_ttl_row.py187 # Create a test table per-row TTL on attribute "e"COMMENT
MEDIUMtest/cluster/test_ttl_row.py317 # Create a test table, don't enable TTL yet to give us time to checkCOMMENT
MEDIUMtest/cluster/test_truncate_with_tablets.py34 # Create a keyspace with tablets and initial_tablets == 2, then insert dataCOMMENT
MEDIUMtest/cluster/test_truncate_with_tablets.py88 # Create a keyspace with tablets and initial_tablets == 2, then insert dataCOMMENT
MEDIUMtest/cluster/test_truncate_with_tablets.py136 # Create a keyspace with tablets and initial_tablets == 2, then insert dataCOMMENT
MEDIUMtest/cluster/test_truncate_with_tablets.py182 # Create a keyspace with tablets and initial_tablets == 2, then insert dataCOMMENT
MEDIUMtest/cluster/test_truncate_with_tablets.py227 # Create a keyspace with tablets and initial_tablets == 2, then insert dataCOMMENT
MEDIUMtest/cluster/test_truncate_with_tablets.py309 # Create a keyspace with tablets and initial_tablets == 2, then insert dataCOMMENT
MEDIUMtest/cluster/test_view_build_status.py58# Create a materialized view and check that the view's build statusCOMMENT
MEDIUMtest/cluster/test_alternator.py618 # Create a new role "user2" and make a new connection "alternator2" with it:COMMENT
MEDIUMtest/cluster/test_alternator.py792 # Create a table with tablets and GSI or LSI - should fail because the keyspace is not RF-rack-validCOMMENT
MEDIUMtest/cluster/test_alternator.py801 # Create a table with tablets and no indexes, then add a GSI - the update should failCOMMENT
MEDIUMtest/cluster/test_alternator.py1176 # Create a new table, write 10 different items to it and then read themCOMMENT
MEDIUMtest/cluster/test_vnodes_to_tablets_migration.py270 # Create the table with minor compaction disabled to ensure that ScyllaCOMMENT
MEDIUMtest/cluster/test_truncate_with_drop.py21 # Create a keyspaceCOMMENT
MEDIUMtest/cluster/test_truncate_with_drop.py52 # Create a keyspaceCOMMENT
MEDIUMtest/cluster/test_sstable_compression_config.py169 # Create a table with GSI, LSI and StreamsCOMMENT
MEDIUMtest/cluster/test_audit.py1770 # Create a session with the ADMIN category disabled to validate thatCOMMENT
MEDIUMtest/cluster/test_logstor.py194 # Create a large value of approximately 100KB, close to segment sizeCOMMENT
MEDIUMtest/cluster/test_tablets_merge.py617 # Create a table which will go through 3 merge cycles.COMMENT
MEDIUMtest/cluster/test_concurrent_schema.py42 # Create a bunch of futures to run in parallel (in aws list)COMMENT
MEDIUMtest/cluster/test_proxy_protocol.py199 # Create a socket and connectCOMMENT
MEDIUMtest/cluster/test_proxy_protocol.py631 # Create a connection that stays openCOMMENT
MEDIUMtest/cluster/test_vector_store.py36 # Creating a vector store index should succeed.COMMENT
MEDIUMtest/cluster/test_tablets.py1911 # Create the table, insert data and flushCOMMENT
MEDIUMtest/cluster/test_tablets.py2302 # Create a table, which should prevent the coordinator from sleepingCOMMENT
MEDIUMtest/cluster/test_cdc_with_tablets.py104# Create a table with CDC, then disable CDC and drop the CDC log table, and create CDC again.COMMENT
MEDIUMtest/cluster/test_cdc_with_tablets.py369# Create a CDC table with short TTL, then split the tablets to create a new stream set,COMMENT
MEDIUM…t_service_levels_tolerate_invalid_role_grants_graph.py28 # Create an invalid state by simulating two cyclic GRANTs.COMMENT
MEDIUM…t_service_levels_tolerate_invalid_role_grants_graph.py60 # Create a connection to a role that does not exist.COMMENT
MEDIUMtest/cluster/auth_cluster/test_startup_response.py32 # Define a custom connection class that hangs on startup responseCOMMENT
MEDIUMtest/cluster/auth_cluster/test_raft_service_levels.py333 # Create a service level and attach it to the default cassandra userCOMMENT
MEDIUMtest/cluster/auth_cluster/test_raft_service_levels.py774 # Create a service level and a user attached to it.COMMENT
MEDIUMtest/cluster/dtest/alternator_tests.py426 # Create the table, access it through the two connections, r1 and r2:COMMENT
MEDIUMtest/cluster/mv/test_mv_with_tablets_restrictions.py124 # Create a keyspace and MV/index/vector with RF=RacksCOMMENT
MEDIUMtest/cluster/mv/tablets/test_mv_tablets.py139 # Create a table with an LSICOMMENT
MEDIUMtest/cluster/mv/tablets/test_mv_tablets.py243 # Create a table with an LSI, using tablets. Use just 1 tablets,COMMENT
MEDIUMtest/alternator/test_streams.py1534 # Create an itemCOMMENT
MEDIUMtest/alternator/test_scylla.py5# This file contains tests which check Scylla-specific features that doCOMMENT
MEDIUMtest/alternator/conftest.py5# This file contains "test fixtures", a pytest concept described inCOMMENT
MEDIUMtest/alternator/util.py113# The following function, multiset() converts the list into a multisetCOMMENT
MEDIUMtest/alternator/test_condition_expression.py1811 # Create an empty item with key p, but only if no item with p exists yet.COMMENT
MEDIUMtest/alternator/test_condition_expression.py1832 # Create an empty item with key p, but only an item with p exists yet.COMMENT
MEDIUMtest/alternator/test_encoding.py38# This file is related to issue #19770.COMMENT
MEDIUMtest/alternator/test_expression_caching.py16# This file contains tests for the Alternator expression caching.COMMENT
MEDIUMtest/alternator/test_compressed_response.py351# The following method, from the botocore.auth.SigV4Auth, describes how header values are normalizedCOMMENT
MEDIUMtest/alternator/test_gsi.py409 # Create a new GSI row (x1), see that it appearsCOMMENT
MEDIUMtest/alternator/test_gsi.py458 # Create a new GSI row (x1), see that it appearsCOMMENT
MEDIUMtest/alternator/test_authorization.py185 # Create a new list of signed header names with the same capitalizationCOMMENT
MEDIUMtest/alternator/test_vector.py898 # Create the table without a vector index, and add it later:COMMENT
MEDIUMtest/alternator/test_cql_rbac.py61# Create a new DynamoDB API resource (connection object) similar to theCOMMENT
MEDIUMtest/alternator/test_lsi.py832 # Create an item with the LSI key column 'b' set to b1.COMMENT
MEDIUMtest/alternator/test_lsi.py806 # Create an item with the LSI key column 'b'.COMMENT
MEDIUMtest/alternator/test_lsi.py855 # Create an item with the LSI key column 'b'.COMMENT
MEDIUMtest/alternator/test_lsi.py892 # Create a base table with base_keys and the two LSIs with theCOMMENT
MEDIUMtest/pylib/random_tables.py6"""This module provides helper classes to manage CQL tables, perform random schema changes,STRING
MEDIUMtest/cqlpy/test_secondary_index.py109 # Creating an index should succeed, even though its default name is takenCOMMENT
35 more matches not shown…
Deep Nesting373 hits · 285 pts
SeverityFileLineSnippetContext
LOWconfigure.py71CODE
LOWconfigure.py255CODE
LOWconfigure.py2015CODE
LOWconfigure.py2456CODE
LOWfix_system_distributed_tables.py90CODE
LOWgen_segmented_compress_params.py92CODE
LOWscylla-gdb.py1405CODE
LOWscylla-gdb.py1501CODE
LOWscylla-gdb.py352CODE
LOWscylla-gdb.py1864CODE
LOWscylla-gdb.py2927CODE
LOWscylla-gdb.py3074CODE
LOWscylla-gdb.py3941CODE
LOWscylla-gdb.py4662CODE
LOWscylla-gdb.py4761CODE
LOWscylla-gdb.py4843CODE
LOWscylla-gdb.py6535CODE
LOWscylla-gdb.py6586CODE
LOWidl-compiler.py1120CODE
LOWidl-compiler.py1602CODE
LOWidl-compiler.py1673CODE
LOWidl-compiler.py1693CODE
LOWtools/scyllatop/livedata.py55CODE
LOWtest/cluster/conftest.py219CODE
LOWtest/cluster/test_zero_token_nodes_no_replication.py19CODE
LOWtest/cluster/test_tablets_migration.py120CODE
LOWtest/cluster/test_tablets_migration.py193CODE
LOWtest/cluster/test_tablets_migration.py220CODE
LOWtest/cluster/util.py277CODE
LOWtest/cluster/util.py294CODE
LOWtest/cluster/test_guardrails.py66CODE
LOWtest/cluster/test_tablets2.py884CODE
LOWtest/cluster/test_tablet_repair_scheduler.py565CODE
LOWtest/cluster/test_tablet_repair_scheduler.py607CODE
LOWtest/cluster/test_strong_consistency.py368CODE
LOWtest/cluster/test_alternator.py429CODE
LOWtest/cluster/test_alternator.py905CODE
LOWtest/cluster/test_alternator.py971CODE
LOWtest/cluster/test_alternator.py1020CODE
LOWtest/cluster/test_alternator.py1072CODE
LOWtest/cluster/test_alternator.py1084CODE
LOWtest/cluster/test_audit.py708CODE
LOWtest/cluster/test_audit.py1458CODE
LOWtest/cluster/test_audit.py1780CODE
LOW…cluster/test_sstable_compression_dictionaries_basic.py403CODE
LOW…cluster/test_sstable_compression_dictionaries_basic.py464CODE
LOWtest/cluster/test_view_building_coordinator.py371CODE
LOWtest/cluster/test_cdc_with_alter.py19CODE
LOWtest/cluster/test_cdc_with_alter.py43CODE
LOWtest/cluster/test_proxy_protocol.py522CODE
LOWtest/cluster/test_incremental_repair.py74CODE
LOWtest/cluster/test_incremental_repair.py361CODE
LOWtest/cluster/test_incremental_repair.py1014CODE
LOWtest/cluster/test_size_based_load_balancing.py19CODE
LOWtest/cluster/test_tablets.py147CODE
LOWtest/cluster/test_encryption.py450CODE
LOWtest/cluster/test_encryption.py460CODE
LOWtest/cluster/object_store/test_backup.py498CODE
LOWtest/cluster/object_store/test_backup.py557CODE
LOWtest/cluster/object_store/test_backup.py1075CODE
313 more matches not shown…
Excessive Try-Catch Wrapping198 hits · 212 pts
SeverityFileLineSnippetContext
LOWfix_system_distributed_tables.py126 except Exception:CODE
LOWfix_system_distributed_tables.py129 except Exception:CODE
LOWtest.py206 except Exception:STRING
LOWtest.py392 except Exception as e:STRING
MEDIUMscylla-gdb.py820def __len__(self):CODE
MEDIUMscylla-gdb.py2158def _no_esft_type(self):CODE
MEDIUMscylla-gdb.py4589def __partitions(self, table):CODE
LOWscylla-gdb.py1465 except Exception as e:CODE
LOWscylla-gdb.py1511 except Exception as e:CODE
LOWscylla-gdb.py2094 except Exception:CODE
LOWscylla-gdb.py4563 except Exception as e:CODE
LOWscylla-gdb.py4570 except Exception:CODE
LOWscylla-gdb.py6316 except Exception as e:CODE
LOWscylla-gdb.py6547 except Exception as e:CODE
LOWtools/scyllatop/collectd.py28 except Exception as e:CODE
MEDIUMtools/scyllatop/collectd.py24def __init__(self, socketName):CODE
LOWtools/scyllatop/scyllatop.py38 except Exception as inst:CODE
LOWtools/scyllatop/scyllatop.py90 except Exception as inst:CODE
MEDIUMtools/scyllatop/scyllatop.py21def shell():CODE
LOWtest/cluster/test_replica_exceptions.py68 except Exception:CODE
LOWtest/cluster/test_replica_exceptions.py73 except Exception:CODE
LOWtest/cluster/test_change_replication_factor_1_to_0.py55 except Exception as e:CODE
LOWtest/cluster/test_counter_write_timeout_metric.py60 except Exception:CODE
LOWtest/cluster/test_rpc_compression.py48 except Exception as e:CODE
LOWtest/cluster/test_tools_perf.py25 except Exception as e:CODE
LOWtest/cluster/test_split_after_merge_repair_race.py88 except Exception as e:CODE
LOWtest/cluster/test_split_after_merge_repair_race.py97 except Exception as e:CODE
LOWtest/cluster/test_split_after_merge_repair_race.py299 except Exception as e:CODE
LOWtest/cluster/test_internode_compression.py66 except Exception as e:CODE
LOWtest/cluster/test_internode_compression.py91 except Exception as e:CODE
LOWtest/cluster/test_ip_mappings.py37 except Exception:CODE
LOWtest/cluster/util.py307 except Exception as e:CODE
MEDIUMtest/cluster/test_tablet_repair_scheduler.py217def run_repair(state):CODE
LOWtest/cluster/test_tablet_repair_scheduler.py221 except Exception as e:CODE
LOWtest/cluster/test_table_drop.py127 except Exception as e:CODE
LOWtest/cluster/test_table_drop.py138 except Exception as e:CODE
LOWtest/cluster/test_table_drop.py170 except Exception:CODE
LOWtest/cluster/test_strong_consistency.py899 except Exception as e:CODE
LOWtest/cluster/test_strong_consistency.py937 except Exception as e:CODE
LOWtest/cluster/test_strong_consistency.py1185 except Exception as e:CODE
LOWtest/cluster/test_cdc_generation_data.py68 except Exception:CODE
LOWtest/cluster/test_alternator.py426 except Exception as e:CODE
LOWtest/cluster/test_zero_token_nodes_multidc.py67 except Exception:CODE
LOWtest/cluster/test_topology_remove_decom.py150 except Exception as e:CODE
LOWtest/cluster/test_audit.py549 except Exception as e:CODE
LOWtest/cluster/test_audit.py1830 except Exception:CODE
LOWtest/cluster/test_rest_api_on_startup.py38 except Exception as ex:CODE
LOWtest/cluster/test_batchlog_manager.py49 except Exception as e:CODE
LOWtest/cluster/test_batchlog_manager.py110 except Exception as e:CODE
LOWtest/cluster/test_batchlog_manager.py173 except Exception as e:CODE
LOWtest/cluster/test_batchlog_manager.py263 except Exception as e:CODE
LOWtest/cluster/test_batchlog_manager.py369 except Exception as e:CODE
LOWtest/cluster/test_cdc_with_alter.py55 except Exception as e:CODE
LOWtest/cluster/test_cdc_with_alter.py170 except Exception as e:CODE
LOWtest/cluster/test_proxy_protocol.py291 except Exception:CODE
MEDIUMtest/cluster/test_incremental_repair.py58def get_repaired_at_from_sst(sst_file, scylla_path):CODE
MEDIUMtest/cluster/test_incremental_repair.py74def get_keys_from_sst(sst_file, scylla_path):CODE
LOWtest/cluster/test_incremental_repair.py69 except Exception as e:CODE
LOWtest/cluster/test_incremental_repair.py90 except Exception as e:CODE
LOWtest/cluster/test_incremental_repair.py862 except Exception as e:CODE
138 more matches not shown…
Modern Structural Boilerplate204 hits · 208 pts
SeverityFileLineSnippetContext
LOWtest/__init__.py13__all__ = ["ALL_MODES", "BUILD_DIR", "DEBUG_MODES", "HOST_ID", "TEST_DIR", "TEST_RUNNER", "TOP_SRC_DIR", "path_to"]CODE
LOWtest/cluster/test_table_desc_read_barrier.py15logger = logging.getLogger(__name__)CODE
LOW…cluster/test_write_query_during_cql_server_shutdown.py19logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_bootstrap_with_quick_group0_join.py18logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_restart_cluster.py17logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_change_replication_factor_1_to_0.py18logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_maintenance_mode.py25logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_session_abort_repair_meta.py15logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_stale_rpc_connection_on_ip_change.py16logger = logging.getLogger(__name__)CODE
LOWtest/cluster/conftest.py58logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_data_resurrection_in_memtable.py20logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_mutation_schema_change.py19logger = logging.getLogger(__name__)CODE
LOW…uster/test_reader_concurrency_semaphore_shared_pool.py20logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_rpc_compression.py26logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_tools_perf.py14logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_tablets_migration.py24logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_tablet_stats.py14logger = logging.getLogger(__name__)CODE
LOW…t/cluster/test_start_bootstrapped_with_invalid_seed.py14logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_quiesce_topology.py24logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_cdc_generation_publishing.py21logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_topology_smp.py19logger = logging.getLogger(__name__)CODE
LOW…luster/test_remove_rpc_client_with_pending_requests.py17logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_resurrection.py15logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_split_after_merge_repair_race.py66logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_alternator_proxy_protocol.py29logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_truncate_with_tablets.py19logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_tablets_intranode.py22logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_internode_compression.py15logger = logging.getLogger(__name__)CODE
LOW…uster/test_node_shutdown_waits_for_pending_requests.py15logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_ip_mappings.py19logger = logging.getLogger(__name__)CODE
LOWtest/cluster/util.py25logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_hints.py26logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_guardrails.py20logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_boot_nodes.py10logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_tablets2.py31logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_replace_with_same_ip_twice.py13logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_truncate_concurrent_writes.py20logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_multidc.py27logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_raft_snapshot_request.py17logger = logging.getLogger(__name__)CODE
LOW…ter/test_sstable_compression_dictionaries_autotrain.py16logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_tablet_repair_scheduler.py25logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_node_isolation.py20logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_automatic_cleanup.py13logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_snapshot_with_tablets.py19logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_conflicting_keys_read_repair.py18logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_decommission.py13logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_metadata_id.py15logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_table_drop.py10logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_aggregation.py19logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_client_routes.py18logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_gossiper_orphan_remover.py16logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_ensure_committed_by_group0.py13logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_long_query_timeout_erm.py16logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_decommission_kill_then_replace.py22logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_long_join.py16logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_strong_consistency.py32logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_mv.py20logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_cdc_generation_data.py9logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_tablets_removenode.py19logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_tablets_colocation.py20logger = logging.getLogger(__name__)CODE
144 more matches not shown…
Hallucination Indicators11 hits · 110 pts
SeverityFileLineSnippetContext
CRITICALscylla-gdb.py5638 "org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.LongType)"STRING
CRITICALscylla-gdb.py5642 column_kind::clustering_key id=0 ordinal_id=1 "ck" "org.apache.cassandra.db.marshal.ReversedType(org.apache.cassSTRING
CRITICALtest/cluster/auth_cluster/test_prepared_metadata_id.py36_TEXT_MAP_TYPE = f"org.apache.cassandra.db.marshal.MapType({_UTF8_TYPE},{_UTF8_TYPE})"CODE
CRITICALtest/alternator/test_system_tables.py138 is_ssl = dynamodb.meta.client._endpoint.host.startswith('https')CODE
CRITICALtest/alternator/util.py233 return dynamodb.meta.client._endpoint.host.endswith('.amazonaws.com')CODE
CRITICALtest/alternator/test_compressed_response.py44 dynamodb.meta.client.meta.events.register(event_name, handler)CODE
CRITICALtest/alternator/test_compressed_response.py48 dynamodb.meta.client.meta.events.unregister(event_name, handler)CODE
CRITICALtest/alternator/test_compressed_response.py319 dynamodb.meta.client._endpoint.http_session._manager.clear() # Exception may leave bad state in connection pCODE
CRITICALdocs/_static/api/js/swagger-ui.min.js13this.statusText=this.req.xhr.statusText,this._setStatusProperties(this.xhr.status),this.header=this.headers=s(this.xhr.gCODE
CRITICALdocs/_ext/scylladb_metrics.py120 return self.env.app.builder.templates.render(template, item)CODE
CRITICALdocs/_ext/scylladb_swagger.py108 app.connect('builder-inited', lambda app: app.builder.templates.environment.globals.update(CODE
AI Slop Vocabulary33 hits · 70 pts
SeverityFileLineSnippetContext
LOWtest/cluster/conftest.py320# Since connection is managed by manager just return that objectCOMMENT
MEDIUMtest/cluster/test_table_drop.py106 # A log-based wait would be more robust but there is no dedicated logCOMMENT
MEDIUMtest/cluster/test_proxy_protocol.py364 # The test harness runs with --smp 2 by defaultCOMMENT
MEDIUMtest/cluster/test_proxy_protocol.py529 # The test harness runs with --smp 2 by defaultCOMMENT
LOWtest/cluster/test_encryption.py501 # connect to CQL!), so let's just use that role.COMMENT
LOWtest/cluster/object_store/test_backup.py198 # If we just use {cf}/backup, files like "schema.cql" and "manifest.json" will remain after previous testCOMMENT
MEDIUMtest/cluster/auth_cluster/test_prepared_metadata_id.py164 # a worker thread instead of blocking the asyncio-based test harness.COMMENT
LOWtest/cluster/dtest/ccmlib/scylla_node.py729 # out. let's just return an empty list for the partitions, so thatCOMMENT
LOWtest/cluster/mv/tablets/test_mv_tablets.py33 # target_server, let's just use that.COMMENT
LOWtest/alternator/conftest.py100 # connect to CQL!), so let's just use that role.COMMENT
MEDIUMtest/alternator/test_update_expression.py793 # because boto3 parses a set out of the returned JSON anyway. This check should leverageCOMMENT
LOWtest/alternator/test_metrics.py92 # doesn't have "continue 2" so let's just set val to 0...COMMENT
LOWtest/alternator/test_table.py575 # test finishes. On DynamoDB, we can't just call DeleteTable -COMMENT
LOWtest/alternator/test_nested.py40# trying to use a dot in the name of the attribute, will just create one withCOMMENT
MEDIUMtest/alternator/test_gsi.py1176# This test is a comprehensive regression test for issue #5320, testing thatCOMMENT
MEDIUMtest/alternator/test_limits.py61# in the aforementioned cases. Note that contrary to what the DynamoDBCOMMENT
MEDIUMtest/pylib/manager_client.py131 # More robust version of get_cql, when topology changesCOMMENT
MEDIUMtest/pylib/host_registry.py50 # pid? The pid changes between restarts, and harness does start andCOMMENT
LOWtest/cqlpy/run.py346# Same as run_scylla_cmd, just use SSL encryption for the CQL port (sameCOMMENT
LOWtest/cqlpy/conftest.py120 # If tablets are not available or not enabled, we just create a regular keyspaceCOMMENT
LOWtest/cqlpy/test_ttl_row.py68 # will just return the same error - but let's check a few typesCOMMENT
LOWtest/cqlpy/util.py55# here does not need to be global - we can just use a simple counter toCOMMENT
LOWtest/cqlpy/util.py97 # we should just return False.COMMENT
LOWtest/cqlpy/test_clustering_order.py60# reversed), just return results in a the reversed order.COMMENT
LOWtest/cqlpy/test_unset.py200# Similar to test_unset_insert_where() above, just use an LWT write ("IFCOMMENT
LOWtest/cqlpy/test_wasm.py527 # doesn't have "continue 2" so let's just set val to 0...STRING
MEDIUMtest/cqlpy/test_json.py547# This issue is also reproduced by the much more comprehensive testSTRING
MEDIUMtest/cqlpy/test_permissions.py608 # cannot update system tables, especially elevate itself to a superuserCOMMENT
MEDIUMtest/manual/cassandra_latest.yaml14# This version is provided to facilitate pain-free upgrades for existingCOMMENT
MEDIUMtest/manual/cassandra_latest.yaml1832# each write which may be lower in order to facilitate availability.COMMENT
LOWtest/rest_api/conftest.py90 # If tablets are not available or not enabled, we just create a regular keyspaceCOMMENT
MEDIUMpgo/pgo.py613# dataset by dataset name, not by function name) is to facilitate sharing of datasets between trainers.COMMENT
LOWscripts/get_description.py175 # If not relative to cwd, just use the name as-isCOMMENT
Redundant / Tautological Comments43 hits · 61 pts
SeverityFileLineSnippetContext
LOWtest/cluster/test_maintenance_mode.py184 # Check if the changes made in maintenance mode are persistedCOMMENT
LOWtest/cluster/conftest.py247 # Check if the test has the check_nodes_for_errors markerCOMMENT
LOWtest/cluster/test_truncate_with_tablets.py57 # Check if we have any dataCOMMENT
LOWtest/cluster/test_truncate_with_tablets.py164 # Check if truncate was successfulCOMMENT
LOWtest/cluster/test_truncate_with_tablets.py209 # Check if we have any dataCOMMENT
LOWtest/cluster/test_truncate_with_tablets.py257 # Check if we have any dataCOMMENT
LOWtest/cluster/test_truncate_with_tablets.py337 # Check if we have any dataCOMMENT
LOWtest/cluster/test_multidc.py236 # Check if it works if the RF doesn't change.COMMENT
LOWtest/cluster/test_multidc.py268 # Check if it works if the RF doesn't change.COMMENT
LOWtest/cluster/test_multidc.py274 # Check if it works if the RF doesn't change.COMMENT
LOWtest/cluster/test_incremental_repair.py1097 # Check if leadership transferred during the restart. Any coordinatorCOMMENT
LOWtest/cluster/auth_cluster/test_raft_service_levels.py312 # Check if group0 is healthyCOMMENT
LOWtest/alternator/test_streams.py260 # Set found_table to the table found, other_table to the one notCOMMENT
LOWtest/alternator/test_streams.py1501 # Set x to be a map: {'dog': 1, 'cat': 2, 'mouse': 3}.COMMENT
LOWtest/alternator/test_metrics.py83 # Check if match also matches the requested labelsCOMMENT
LOWtest/alternator/test_audit.py775 # Set audit_keyspaces to an unrelated keyspace — NOT the table's keyspaceCOMMENT
LOWtest/alternator/test_lsi.py837 # Set b to b2 instead of b1.COMMENT
LOWtest/pylib/runner.py360 # Check if this is an xdist workerCOMMENT
LOWtest/cqlpy/test_describe.py855 # Check if name in create statement is quotedSTRING
LOWtest/cqlpy/test_describe.py859 # Check if name if keyspaces listing is quotedSTRING
LOWtest/cqlpy/test_describe.py1040 # Check if the log table existsSTRING
LOWtest/cqlpy/test_describe.py1069 # Check if base and log tables were recreatedSTRING
LOWtest/cqlpy/test_uda.py248 # Check if we can use lua, i.e. we're in ScyllaCOMMENT
LOWtest/cqlpy/test_wasm.py518 # Check if match also matches the requested labelsSTRING
LOWtest/cqlpy/cassandra_tests/porting.py222# Check if results is one of two possible result sets.COMMENT
LOWtest/manual/cassandra_latest.yaml1241# Set sstable_preemptive_open_interval to null for disabled which is equivalent toCOMMENT
LOWtest/rest_api/test_repair_task.py106 # Check if task state is correct.COMMENT
LOWtest/rest_api/test_compaction_task.py37 # Check if all tasks finished successfully.COMMENT
LOWtest/rest_api/test_column_family.py119 # Check if index reader is closed on happy path.COMMENT
LOWtest/rest_api/test_column_family.py123 # Check if index reader is closed if exception is thrown.COMMENT
LOWscripts/get_description.py208 # Check if add_group and metric are on the same lineCOMMENT
LOWscripts/pull_github_pr.sh268# Check if any changed files are in submodule directoriesCOMMENT
LOW.github/workflows/add-label-when-promoted.yaml68 # Check if a valid backport label existsCOMMENT
LOW.github/workflows/scylla-ci-route.yaml259 # Check if docs-CI job existsCOMMENT
LOW.github/workflows/scylla-ci-route.yaml469 # Check if user is a ScyllaDB org member (204 -> success/exit 0,COMMENT
LOW.github/workflows/scylla-ci-route.yaml475 # Check if user is in the external-contributors teamCOMMENT
LOW.github/workflows/trigger_ci.yaml59 # Check if PR is in draft modeCOMMENT
LOW.github/workflows/trigger_ci.yaml62 # Check if PR has 'conflict' labelCOMMENT
LOW.github/workflows/trigger_ci.yaml84 # Check if PR has P0 or P1 labelsCOMMENT
LOW.github/workflows/trigger_ci.yaml91 # Check if PR already has force_on_cloud labelCOMMENT
LOW.github/scripts/sync_labels.py90 # Check if any other P0/P1 labels remain before removing force_on_cloudCOMMENT
LOW.github/scripts/auto-backport.py86 if len(merge_commit.parents) > 1: # Check if this merge commit includes multiple commitsCODE
LOW.github/scripts/auto-backport.py131 # Check if the branch already exists in the remote forkCOMMENT
Modern AI Meta-Vocabulary13 hits · 38 pts
SeverityFileLineSnippetContext
MEDIUMtest/cluster/test_split_after_merge_repair_race.py205 # never drops, the rest of the orchestration no longerCOMMENT
MEDIUMtest/cluster/test_split_after_merge_repair_race.py287 # tears down cleanly even if the orchestration above raised.COMMENT
MEDIUMtest/cluster/test_guardrails.py49 # FIXME: This test verifies that guardrails work. However, if we set `rf_rack_valid_keyspaces` to true,COMMENT
MEDIUMtest/cluster/test_guardrails.py76 # FIXME: This test verifies that guardrails work. However, if we set `rf_rack_valid_keyspaces` to true,COMMENT
MEDIUMtest/cluster/test_large_partition_guardrail.py69 # Feature not yet cluster-wide — enabling guardrails must be rejected.COMMENT
MEDIUMtest/cluster/test_large_partition_guardrail.py150 # Before flushing (guardrails not yet active), create divergence:COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py21# All tests are Scylla-only (guardrails don't exist in Cassandra).COMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py543# Multi-category: all guardrails fire independentlyCOMMENT
MEDIUMtest/cqlpy/test_large_data_guardrail.py350 # future coordinator-side guardrails won't reject). DisableCOMMENT
MEDIUMtest/cqlpy/run.py339 # Avoid unhelpful "guardrails" warningsCOMMENT
MEDIUMtest/cqlpy/test_guardrail_write_consistency_level.py14# All tests in this file are Scylla-only. In ScyllaDB, guardrails apply to allCOMMENT
MEDIUMtest/cqlpy/test_guardrail_replication_strategy.py118 # Verify metric increment and exact error message (docs/cql/guardrails.rst).COMMENT
MEDIUMtest/cqlpy/test_guardrail_replication_strategy.py227 # RF=0 bypasses all guardrails.COMMENT
Synthetic Comment Markers4 hits · 30 pts
SeverityFileLineSnippetContext
HIGHidl-compiler.py53 * This is an auto-generated code, do not modify directly.COMMENT
HIGHtest/alternator/test_filter_expression.py685 # as requested by ProjectionExpression. It won't include x - it was justCOMMENT
HIGHtest/alternator/test_query_filter.py549 # as requested by AttributesToGet. It won't include x - it was justCOMMENT
HIGHtest/alternator/test_cql_rbac.py1119# Test that the permissions checks for writing to system tables (as requestedCOMMENT
AI Structural Patterns33 hits · 30 pts
SeverityFileLineSnippetContext
LOWtest.py51CODE
LOWtest/scylla_gdb/conftest.py74CODE
LOWtest/cluster/test_hints.py34CODE
LOWtest/cluster/test_audit.py295CODE
LOWtest/cluster/test_audit.py754CODE
LOWtest/cluster/test_proxy_protocol.py152CODE
LOWtest/cluster/dtest/dtest_setup.py125CODE
LOWtest/cluster/dtest/dtest_setup.py183CODE
LOWtest/cluster/dtest/dtest_setup.py239CODE
LOWtest/cluster/dtest/dtest_setup.py316CODE
LOWtest/cluster/dtest/dtest_setup.py354CODE
LOWtest/cluster/dtest/dtest_class.py290CODE
LOWtest/cluster/dtest/bypass_cache_test.py43CODE
LOWtest/cluster/dtest/tools/data.py27CODE
LOWtest/cluster/dtest/ccmlib/scylla_node.py406CODE
LOWtest/cluster/dtest/ccmlib/scylla_cluster.py99CODE
LOWtest/cluster/dtest/ccmlib/scylla_cluster.py138CODE
LOWtest/nodetool/test_repair.py318CODE
LOWtest/pylib/lcov_utils.py593CODE
LOWtest/pylib/manager_client.py429CODE
LOWtest/pylib/manager_client.py603CODE
LOWtest/pylib/manager_client.py670CODE
LOWtest/pylib/kmip_wrapper.py133CODE
LOWtest/pylib/scylla_cluster.py1242CODE
LOWtest/pylib/scylla_cluster.py1344CODE
LOWtest/pylib/version_fetch_utils.py175CODE
LOWtest/pylib/rest_client.py104CODE
LOWtest/pylib/rest_client.py117CODE
LOWtest/pylib/rest_client.py124CODE
LOWtest/pylib/rest_client.py191CODE
LOWtest/pylib/rest_client.py322CODE
LOWtest/cqlpy/test_protocol_exceptions.py156CODE
LOWtest/cqlpy/test_service_level_api.py31CODE
Docstring Block Structure5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHtest/pylib/coverage_utils.py238Gets the file type description from the shell `file` utility Args: f (PathLike): _description_ STRING
HIGHtest/pylib/coverage_utils.py358A function to get the binary id of an ELF file Args: path (PathLike): A path to the file who's id to extracSTRING
HIGHtest/pylib/coverage_utils.py389Maps given files to their build ids, for paths it recursively finds elfs contained in them and maps them. ArSTRING
HIGHtest/pylib/coverage_utils.py445For a given file (assumed to be llvm profile, either raw or indexed), get the profiled binary ids. The reason that cSTRING
HIGHtest/pylib/version_fetch_utils.py253Fetch, cache, unpack, and install a ScyllaDB release archive. The archive is resolved from either the supplied versiSTRING
Structural Annotation Overuse14 hits · 22 pts
SeverityFileLineSnippetContext
LOWtest/cluster/test_tablets_lwt.py251 # Step 2: Inject paxos_error_before_save_proposal - on [n3], paxos_error_before_learn on [n2, n3],STRING
LOWtest/cluster/test_tablets_lwt.py277 # Step 4: execute LWT on n3, n4STRING
LOWtest/cluster/test_tablets_lwt.py382 # Step 4: New node n4 is added to replace n1.STRING
LOWtest/cqlpy/test_describe.py1528# NOTE: This function is missing a functionality of running cql's grammar functionSTRING
LOWtest/cqlpy/test_permissions.py944 # Step 1: Verify direct execution is blocked (sanity check)COMMENT
LOWtest/cqlpy/test_permissions.py948 # Step 2: Execute via BATCH — this must fail with Unauthorized,COMMENT
LOWtest/cqlpy/test_permissions.py955 # Step 3: Now execute the same prepared statement directlyCOMMENT
LOWtest/cqlpy/test_compaction_strategy_validation.py18# NOTE: The following tests which use this assert_throws() all try toCOMMENT
LOWtest/manual/cassandra_latest.yaml1592# Step 1: Set internode_encryption=<dc|rack|all> and explicitly set optional=true. Restart all nodesCOMMENT
LOWtest/manual/cassandra_latest.yaml1594# Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutualCOMMENT
LOWtest/manual/cassandra_latest.yaml1650# Step 1: Set enabled=true and explicitly set optional=true. Restart all nodesCOMMENT
LOWtest/manual/cassandra_latest.yaml1652# Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutualCOMMENT
LOWtest/manual/cassandra_latest.yaml1509# WARNING: This snitch is deprecated and it is scheduled to be removedCOMMENT
LOWscripts/tablet-mon.py9# WARNING: This is not an officially supported tool. It is subject to arbitrary changes without notice.COMMENT
Verbosity Indicators11 hits · 19 pts
SeverityFileLineSnippetContext
LOWtest/cluster/test_tablets_lwt.py251 # Step 2: Inject paxos_error_before_save_proposal - on [n3], paxos_error_before_learn on [n2, n3],STRING
LOWtest/cluster/test_tablets_lwt.py277 # Step 4: execute LWT on n3, n4STRING
LOWtest/cluster/test_tablets_lwt.py382 # Step 4: New node n4 is added to replace n1.STRING
LOWtest/alternator/test_transact.py851# transaction so we need to check if it's also recognized, and whether itCOMMENT
LOWtest/cqlpy/test_permissions.py944 # Step 1: Verify direct execution is blocked (sanity check)COMMENT
LOWtest/cqlpy/test_permissions.py948 # Step 2: Execute via BATCH — this must fail with Unauthorized,COMMENT
LOWtest/cqlpy/test_permissions.py955 # Step 3: Now execute the same prepared statement directlyCOMMENT
LOWtest/manual/cassandra_latest.yaml1592# Step 1: Set internode_encryption=<dc|rack|all> and explicitly set optional=true. Restart all nodesCOMMENT
LOWtest/manual/cassandra_latest.yaml1594# Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutualCOMMENT
LOWtest/manual/cassandra_latest.yaml1650# Step 1: Set enabled=true and explicitly set optional=true. Restart all nodesCOMMENT
LOWtest/manual/cassandra_latest.yaml1652# Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutualCOMMENT
Slop Phrases6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMtest/cqlpy/test_compaction_strategy_validation.py21# expression, so you can use the "|" character to allow two options.COMMENT
MEDIUM…assandra_tests/validation/entities/collections_test.py446# Test you can add columns in a table with collections (CASSANDrA-4982),COMMENT
MEDIUMtest/manual/cassandra_latest.yaml64# initial_token allows you to specify tokens manually. While you can use it withCOMMENT
MEDIUMtest/manual/cassandra_latest.yaml1035# you may want to adjust max_value_size accordingly. This should be positive and less than 2048.COMMENT
MEDIUMpgo/conf/scylla.yaml265# initial_token allows you to specify tokens manually. While you can use # it withCOMMENT
MEDIUMconf/scylla.yaml265# initial_token allows you to specify tokens manually. While you can use # it withCOMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHtest/alternator/test_batch.py599 # In this example this was "ConsistentRead".COMMENT
TODO Padding2 hits · 4 pts
SeverityFileLineSnippetContext
LOWtest/alternator/test_streams.py633 # TODO: add tests for storage/transactionable variations and global/local indexCOMMENT
LOWtest/cqlpy/test_name.py176# TODO: add tests for the allowed characters in a table nameCOMMENT
Fake / Example Data4 hits · 3 pts
SeverityFileLineSnippetContext
LOWtest/cluster/dtest/tools/assertions.py23 assert_all(session, "SELECT * FROM test", [[1, 'John Doe'], [2, 'Jane Doe'], [3, 'Alex Smith']])STRING
LOWtest/cluster/dtest/tools/assertions.py23 assert_all(session, "SELECT * FROM test", [[1, 'John Doe'], [2, 'Jane Doe'], [3, 'Alex Smith']])STRING
LOWdocs/_static/api/js/swagger-ui.min.js14if(a=jQuery.inArray(this.model.method,this.model.supportedSubmitMethods())>=0,a||(this.model.isReadOnly=!0),this.model.dCODE
LOWdocs/_static/api/js/jsoneditor.min.js367this.addproperty_holder=this.theme.getModal(),this.addproperty_list=document.createElement("div"),this.addproperty_list.CODE
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWutils/s3/gen_aws_service_errors.py15# Usage:COMMENT
LOWscripts/tablet-mon.py11# Usage:COMMENT