Repository Analysis

scylladb/scylladb

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

47.3 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of scylladb/scylladb, a C++ project with 15,723 GitHub stars. SynthScan v2.0 examined 291,631 lines of code across 1202 source files, recording 7351 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 47.3 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).

47.3
Adjusted Score
47.3
Raw Score
100%
Time Factor
2026-08-28
Last Push
15.7K
Stars
C++
Language
291.6K
Lines of Code
1.2K
Files
7.4K
Pattern Hits
2026-08-29
Scan Date
0.93
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 669HIGH 447MEDIUM 262LOW 5973

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 7351 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.

Hallucination Indicators669 hits · 5190 pts
SeverityFileLineSnippetContext
CRITICALscylla-gdb.py5826 "org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.LongType)"STRING
CRITICALscylla-gdb.py5830 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.py37_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.py234 return dynamodb.meta.client._endpoint.host.endswith('.amazonaws.com')CODE
CRITICALtest/alternator/test_compressed_response.py46 dynamodb.meta.client.meta.events.register(event_name, handler)CODE
CRITICALtest/alternator/test_compressed_response.py50 dynamodb.meta.client.meta.events.unregister(event_name, handler)CODE
CRITICALtest/alternator/test_compressed_response.py356 dynamodb.meta.client._endpoint.http_session._manager.clear() # Exception may leave bad state in connection pCODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json11 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.AsciiType)"], "values": [""],CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json12 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.AsciiType)"], "values": ["5d2CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json13 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.AsciiType)"], "values": [""],CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json14 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.AsciiType)"], "values": ["5d2CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json15 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.AsciiType)"], "values": [""],CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json16 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.AsciiType)"], "values": ["5d2CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json23 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.BooleanType)"], "values": [""CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json24 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.BooleanType)"], "values": ["0CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json25 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.BooleanType)"], "values": [""CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json26 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.BooleanType)"], "values": ["0CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json27 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.BooleanType)"], "values": [""CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json28 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.BooleanType)"], "values": ["0CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json35 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.ByteType)"], "values": [""], CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json36 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.ByteType)"], "values": ["69"]CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json37 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.ByteType)"], "values": [""], CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json38 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.ByteType)"], "values": ["69"]CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json39 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.ByteType)"], "values": [""], CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json40 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.ByteType)"], "values": ["69"]CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json47 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.BytesType)"], "values": [""],CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json48 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.BytesType)"], "values": ["8b2CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json49 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.BytesType)"], "values": [""],CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json50 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.BytesType)"], "values": ["8b2CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json51 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.BytesType)"], "values": [""],CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json52 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.BytesType)"], "values": ["8b2CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json59 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.DecimalType)"], "values": [""CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json60 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.DecimalType)"], "values": ["0CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json61 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.DecimalType)"], "values": [""CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json62 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.DecimalType)"], "values": ["0CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json63 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.DecimalType)"], "values": [""CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json64 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.DecimalType)"], "values": ["0CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json71 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.DoubleType)"], "values": [""]CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json72 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.DoubleType)"], "values": ["f4CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json73 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.DoubleType)"], "values": [""]CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json74 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.DoubleType)"], "values": ["f4CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json75 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.DoubleType)"], "values": [""]CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json76 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.DoubleType)"], "values": ["f4CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json83 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.DurationType)"], "values": ["CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json84 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.DurationType)"], "values": ["CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json85 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.DurationType)"], "values": ["CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json86 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.DurationType)"], "values": ["CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json87 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.DurationType)"], "values": ["CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json88 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.DurationType)"], "values": ["CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json95 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.FloatType)"], "values": [""],CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json96 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.FloatType)"], "values": ["1d7CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json97 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.FloatType)"], "values": [""],CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json98 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.FloatType)"], "values": ["1d7CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json99 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.FloatType)"], "values": [""],CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json100 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.FloatType)"], "values": ["1d7CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json107 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.InetAddressType)"], "values":CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json108 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.InetAddressType)"], "values":CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json109 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.InetAddressType)"], "values":CODE
CRITICAL…ce/bti_clustering_position_encoding_compatibility.json110 {"types": ["org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.InetAddressType)"], "values":CODE
609 more matches not shown…
Hyper-Verbose Identifiers3876 hits · 3526 pts
SeverityFileLineSnippetContext
LOWconfigure.py295def check_for_minimal_compiler_version(cxx):CODE
LOWconfigure.py396def resolve_compilers_for_compiler_cache(args, compiler_cache):STRING
LOWconfigure.py1910def get_clang_inline_threshold():STRING
LOWconfigure.py2043def prepare_advanced_optimizations(*, modes, build_modes, args):STRING
LOWconfigure.py3231def 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.py193def get_template_arg_with_prefix(gdb_type, prefix):CODE
LOWscylla-gdb.py680 def external_memory_footprint(self):CODE
LOWscylla-gdb.py688def deref_libcpp_hashtable_nodes_data_member(ptr):CODE
LOWscylla-gdb.py2185def find_single_sstable_readers():CODE
LOWscylla-gdb.py2316def has_enable_lw_shared_from_this(type):CODE
LOWscylla-gdb.py2517 def summarize_inheriting_execution_stage(ies):CODE
LOWscylla-gdb.py2536 def summarize_table_phased_barrier_users(db, barrier_name):CODE
LOWscylla-gdb.py2547 def summarize_storage_proxy_coordinator_stats(sp):CODE
LOWscylla-gdb.py2981def get_seastar_memory_start_and_size():CODE
LOWscylla-gdb.py3090 def is_seastar_allocator_used():CODE
LOWscylla-gdb.py3666def seastar_threads_on_current_shard():CODE
LOWscylla-gdb.py3838 def external_memory_footprint(self):CODE
LOWscylla-gdb.py3856 def external_memory_footprint(self):CODE
LOWscylla-gdb.py3895 def external_memory_footprint(self):CODE
LOWscylla-gdb.py4720def get_gms_generation_or_version(i):CODE
LOWscylla-gdb.py4790def find_sstables_attached_to_tables():CODE
LOWscylla-gdb.py4946 def dump_compaction_group_memtables(compaction_group):CODE
LOWscylla-gdb.py5031 def _traverse_object_graph_breadth_first(address, max_depth, max_vertices, timeout_seconds, value_range_override):CODE
LOWscylla-gdb.py5084 def _do_generate_object_graph(address, output_file, max_depth, max_vertices, timeout_seconds, value_range_override):CODE
LOWscylla-gdb.py5714 def get_cql_type_deserializer(self, type_name):CODE
LOWscylla-gdb.py5744 def parse_clustering_key_bytes(self, b):CODE
LOWscylla-gdb.py5748 def parse_partition_key_bytes(self, b):CODE
LOWscylla-gdb.py6188 def dump_reads_from_semaphore(semaphore):CODE
LOWscylla-gdb.py6636 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.py34def test_sstable_summary_output(gdb_cmd):CODE
LOWtest/scylla_gdb/test_basic_commands.py69def test_nonexistent_scylla_command(gdb_cmd):CODE
LOWtest/scylla_gdb/test_schema_commands.py35def test_generate_object_graph(gdb_cmd, request):CODE
LOWtest/cluster/test_table_desc_read_barrier.py19async def test_table_desc_read_barrier(manager: ScyllaClusterManager) -> None:CODE
LOW…cluster/test_write_query_during_cql_server_shutdown.py22async def test_write_query_during_cql_server_shutdown(request: pytest.FixtureRequest, manager: ScyllaClusterManager) -> CODE
LOWtest/cluster/test_replica_exceptions.py85async def test_replica_do_apply_rate_limit_no_cpp_exceptions(manager: ScyllaClusterManager):CODE
LOWtest/cluster/test_replica_exceptions.py107async def test_replica_query_rate_limit_no_cpp_exceptions(manager: ScyllaClusterManager):CODE
LOWtest/cluster/test_replica_exceptions.py129async def test_replica_writes_apply_counter_update_timeout(manager: ScyllaClusterManager):CODE
LOWtest/cluster/test_replica_exceptions.py152async def test_replica_writes_do_apply_counter_update_timeout(manager: ScyllaClusterManager):CODE
LOWtest/cluster/test_replica_exceptions.py177async def test_replica_database_apply_timeout(manager: ScyllaClusterManager):CODE
LOWtest/cluster/test_deprecating_cluster_features.py20async def test_feature_deprecation_works(manager: ScyllaClusterManager) -> None:CODE
LOWtest/cluster/test_deprecating_cluster_features.py52async def test_features_suppress_works(manager: ScyllaClusterManager, build_mode) -> None:CODE
LOWtest/cluster/test_secondary_index_paging.py50async def test_resumed_page_keeps_its_plan_on_another_coordinator(manager: ScyllaClusterManager) -> None:CODE
3816 more matches not shown…
Cross-Language Confusion435 hits · 2388 pts
SeverityFileLineSnippetContext
HIGHconfigure.py2536 command = {ragel_exec} -G2 -o $out $in && sed -i -e '1h;2,$$H;$$!d;g' -re 's/static const char _nfa[^;]*;//gCODE
HIGHconfigure.py2559 command = rm -rf $out && mkdir -p $out && cp $pkgs $out/CODE
HIGHconfigure.py3129 command = ./configure.py --out={buildfile_final_name}.new --out-final-name={buildfile_final_name} $configure_aCODE
HIGHtest/cluster/util.py266 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.py1106 # is false and being_repaired is null, so S1' lands in the UNREPAIRED view whereSTRING
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_secondary_index.py1931# whose recorded id is null, as much as for an index plan naming a view.COMMENT
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.py515# Java's BigDecimal.toString() specification.COMMENT
HIGHtest/cqlpy/test_type_decimal.py519# for DecimalType delegates to BigDecimal.toString(). This test can beCOMMENT
HIGHtest/cqlpy/test_type_decimal.py533 # (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.py275# Cassandra considers the null subscript 'm[null]' to be an invalid request.COMMENT
HIGHtest/cqlpy/test_null.py276# In Scylla we decided to it differently (we think better): m[null] is simplyCOMMENT
HIGHtest/cqlpy/test_null.py277# a null, so the filter 'WHERE m[null] = 3' is not an error - it just doesn'tCOMMENT
HIGHtest/cqlpy/test_null.py279# 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.py131 cql.execute(cql.prepare(f"INSERT INTO {table2} (id,b,c) VALUES ('{key}',1,null)"))CODE
HIGHtest/cqlpy/test_null.py134 cql.execute(cql.prepare(f"INSERT INTO {table2} (id,a,c) VALUES ('{key}',1,null)"))CODE
HIGHtest/cqlpy/test_null.py317 cql.execute(f"INSERT INTO {table} (p,v) VALUES ({p}, ['hi', null])")CODE
HIGHtest/cqlpy/test_null.py332 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.py293 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_invalid_ann_queries.py123 cql.execute(f"SELECT * FROM {indexed_vector_table} ORDER BY ANN(v, null) LIMIT 5")CODE
HIGHtest/cqlpy/test_materialized_view.py199# key column unset (aka null) do not get copied into the view.COMMENT
HIGHtest/cqlpy/test_materialized_view.py320 # "restriction '(xyz) IS NOT { null }' is only supported in materializedCOMMENT
HIGHtest/cqlpy/test_materialized_view.py551# be null, so it is pointless to require the "IS NOT NULL". However,COMMENT
HIGHtest/cqlpy/test_materialized_view.py205 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
375 more matches not shown…
Over-Commented Block798 hits · 599 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt61# Since gcc 13, libgcc doesn't need the exception workaroundCOMMENT
LOWconfigure.py301COMMENT
LOWconfigure.py1981 scylla_product = f.read().strip()COMMENT
LOWconfigure.py2081 # which extracts the default profile from an archive in pgo/profiles,COMMENT
LOWconfigure.py2181def configure_seastar(build_dir, mode, mode_config, compiler_cache=None):COMMENT
LOWconfigure.py2201 # instead of seastar/src/core/thread.cc as we would like.COMMENT
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
LOW.coderabbit.yaml1# yaml-language-server: $schema=https://storage.googleapis.com/coderabbit_public_assets/schema.v2.jsonCOMMENT
LOW.coderabbit.yaml61 auto_incremental_review: trueCOMMENT
LOW.coderabbit.yaml101 # requiring it would leave exactly those PRs unmergeable. Making it requiredCOMMENT
LOW.coderabbit.yaml121 # No vendor/** entry: our third-party code (seastar, abseil, swagger-ui,COMMENT
LOWtest/CMakeLists.txt1find_package(jsoncpp REQUIRED)COMMENT
LOWtest/pytest.ini41 skip_mode(mode, reason, platform_key=None): Skip test in a specific build mode (e.g. dev, debug, release).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
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 # Wait until all rows expire, and get the CPU metrics again. All itemsCOMMENT
LOWtest/cluster/test_alternator.py401 else:COMMENT
LOWtest/cluster/test_alternator.py901# We had this problem in six different operations - CreateTable, DeleteTable,COMMENT
LOWtest/cluster/test_alternator.py921 """COMMENT
LOWtest/cluster/test_alternator.py1581 make_ca(tmp_path, name='bad_ca', cn='BadCA')COMMENT
LOWtest/cluster/test_alternator.py1661 # performed.COMMENT
LOWtest/cluster/test_alternator.py1901 cql.execute("CREATE ROLE no_login_user WITH LOGIN=FALSE")COMMENT
LOWtest/cluster/test_commitlog.py21 # Check that commitlog provides durability in case of a node reboot.COMMENT
LOWtest/cluster/test_topology_remove_decom.py41 servers = await manager.running_servers()COMMENT
LOW…cluster/test_sstable_compression_dictionaries_basic.py461COMMENT
LOW…cluster/test_sstable_compression_dictionaries_basic.py481 # ],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.py961# promotes unrepaired data into the repaired sstable set.COMMENT
LOWtest/cluster/test_incremental_repair.py1061 # With tablets=2, the coordinator logs this message twice (once per tablet).COMMENT
LOWtest/cluster/test_incremental_repair.py1081 # From this point on, any additional tablet repair RPC for this repair stageCOMMENT
LOWtest/cluster/test_incremental_repair.py1101 await manager.api.flush_keyspace(target.ip_addr, ks)COMMENT
LOWtest/cluster/test_incremental_repair.py1281# commits repair_time to Raft. Therefore, by the time gc_before advances andCOMMENT
LOWtest/cluster/test_incremental_repair.py1741 # via the staging path → staging sstable registered → view_update_generator BLOCKED.COMMENT
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.py301 #COMMENT
LOWtest/cluster/auth_cluster/conftest.py1#COMMENT
LOWtest/cluster/auth_cluster/__init__.py1#COMMENT
LOWtest/cluster/storage/__init__.py1#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
738 more matches not shown…
Decorative Section Separators107 hits · 345 pts
SeverityFileLineSnippetContext
MEDIUMtest/cluster/test_tablets_lwt.py1006 # ──────────────────────────────────────────────────────────────────────STRING
MEDIUMtest/cluster/test_tablets_lwt.py1008 # ──────────────────────────────────────────────────────────────────────STRING
MEDIUMtest/cluster/test_tablets_lwt.py1082 # ──────────────────────────────────────────────────────────────────────STRING
MEDIUMtest/cluster/test_tablets_lwt.py1084 # ──────────────────────────────────────────────────────────────────────STRING
MEDIUMtest/cluster/test_change_rpc_address.py49 # ----------COMMENT
MEDIUMtest/cluster/test_change_rpc_address.py72 # ----------COMMENT
MEDIUMtest/cluster/test_incremental_repair.py1274# ----------------------------------------------------------------------------STRING
MEDIUMtest/cluster/test_incremental_repair.py1306# ----------------------------------------------------------------------------STRING
MEDIUMtest/pylib/skip_types.py85# ── 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
47 more matches not shown…
Unused Imports352 hits · 333 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.py17CODE
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.py13CODE
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
292 more matches not shown…
Self-Referential Comments101 hits · 304 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.py41 # Create a keyspace with tablets and initial_tablets == 2, then insert dataCOMMENT
MEDIUMtest/cluster/test_truncate_with_tablets.py95 # Create a keyspace with tablets and initial_tablets == 2, then insert dataCOMMENT
MEDIUMtest/cluster/test_truncate_with_tablets.py150 # Create a keyspace with tablets and initial_tablets == 2, then insert dataCOMMENT
MEDIUMtest/cluster/test_truncate_with_tablets.py196 # Create a keyspace with tablets and initial_tablets == 2, then insert dataCOMMENT
MEDIUMtest/cluster/test_truncate_with_tablets.py246 # Create a keyspace with tablets and initial_tablets == 2, then insert dataCOMMENT
MEDIUMtest/cluster/test_truncate_with_tablets.py338 # 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.py630 # Create a new role "user2" and make a new connection "alternator2" with it:COMMENT
MEDIUMtest/cluster/test_alternator.py804 # Create a table with tablets and GSI or LSI - should fail because the keyspace is not RF-rack-validCOMMENT
MEDIUMtest/cluster/test_alternator.py813 # Create a table with tablets and no indexes, then add a GSI - the update should failCOMMENT
MEDIUMtest/cluster/test_alternator.py1188 # 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.py170 # Create a table with GSI, LSI and StreamsCOMMENT
MEDIUMtest/cluster/test_audit.py1779 # Create a session with the ADMIN category disabled to validate thatCOMMENT
MEDIUMtest/cluster/test_logstor.py74 # Create a large value of approximately 100KB, close to segment sizeCOMMENT
MEDIUMtest/cluster/test_tablets_merge.py628 # 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.py2286 # Create the table, insert data and flushCOMMENT
MEDIUMtest/cluster/test_tablets.py2679 # Create a table, which should prevent the coordinator from sleepingCOMMENT
MEDIUMtest/cluster/test_tablets.py2850 # Create the table (entry A) and trigger a split (entry B) whileCOMMENT
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
MEDIUMtest/cluster/object_store/test_backup.py791 # Create the keyspace, populate multiple tables, and back them all upCOMMENT
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.py33 # 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.py114# 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_gsi_composite_keys.py89# Create a table with a composite GSI.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.py393# The following method, from the botocore.auth.SigV4Auth, describes how header values are normalizedCOMMENT
MEDIUMtest/alternator/test_gsi.py430 # Create a new GSI row (x1), see that it appearsCOMMENT
MEDIUMtest/alternator/test_gsi.py479 # Create a new GSI row (x1), see that it appearsCOMMENT
MEDIUMtest/alternator/test_authorization.py198 # Create a new list of signed header names with the same capitalizationCOMMENT
MEDIUMtest/alternator/test_vector.py914 # Create the table without a vector index, and add it later:COMMENT
MEDIUMtest/alternator/test_cql_rbac.py62# Create a new DynamoDB API resource (connection object) similar to theCOMMENT
MEDIUMtest/alternator/test_cql_rbac.py1347 # Create the vector index - ALTER permission allows this.COMMENT
MEDIUMtest/alternator/test_lsi.py859 # Create an item with the LSI key column 'b' set to b1.COMMENT
MEDIUMtest/alternator/test_lsi.py833 # Create an item with the LSI key column 'b'.COMMENT
41 more matches not shown…
Deep Nesting389 hits · 300 pts
SeverityFileLineSnippetContext
LOWconfigure.py71CODE
LOWconfigure.py255CODE
LOWconfigure.py2043CODE
LOWconfigure.py2490CODE
LOWfix_system_distributed_tables.py90CODE
LOWgen_segmented_compress_params.py92CODE
LOWscylla-gdb.py1581CODE
LOWscylla-gdb.py1677CODE
LOWscylla-gdb.py503CODE
LOWscylla-gdb.py2040CODE
LOWscylla-gdb.py3103CODE
LOWscylla-gdb.py3250CODE
LOWscylla-gdb.py4117CODE
LOWscylla-gdb.py4844CODE
LOWscylla-gdb.py4949CODE
LOWscylla-gdb.py5031CODE
LOWscylla-gdb.py6723CODE
LOWscylla-gdb.py6774CODE
LOWidl-compiler.py1120CODE
LOWidl-compiler.py1602CODE
LOWidl-compiler.py1673CODE
LOWidl-compiler.py1693CODE
LOWtools/scyllatop/livedata.py55CODE
LOWtest/cluster/conftest.py141CODE
LOWtest/cluster/test_zero_token_nodes_no_replication.py18CODE
LOWtest/cluster/test_tablets_migration.py316CODE
LOWtest/cluster/test_tablets_migration.py393CODE
LOWtest/cluster/test_tablets_migration.py420CODE
LOWtest/cluster/util.py443CODE
LOWtest/cluster/util.py460CODE
LOWtest/cluster/test_guardrails.py66CODE
LOWtest/cluster/test_tablets2.py958CODE
LOWtest/cluster/test_tablet_repair_scheduler.py565CODE
LOWtest/cluster/test_tablet_repair_scheduler.py607CODE
LOWtest/cluster/test_strong_consistency.py368CODE
LOWtest/cluster/test_alternator.py435CODE
LOWtest/cluster/test_alternator.py917CODE
LOWtest/cluster/test_alternator.py983CODE
LOWtest/cluster/test_alternator.py1032CODE
LOWtest/cluster/test_alternator.py1084CODE
LOWtest/cluster/test_alternator.py1096CODE
LOWtest/cluster/test_audit.py707CODE
LOWtest/cluster/test_audit.py1467CODE
LOWtest/cluster/test_audit.py1789CODE
LOW…cluster/test_sstable_compression_dictionaries_basic.py404CODE
LOW…cluster/test_sstable_compression_dictionaries_basic.py465CODE
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.py206CODE
LOWtest/cluster/test_incremental_repair.py374CODE
LOWtest/cluster/test_size_based_load_balancing.py19CODE
LOWtest/cluster/test_tablets.py256CODE
LOWtest/cluster/test_encryption.py450CODE
LOWtest/cluster/test_encryption.py460CODE
LOWtest/cluster/object_store/test_backup.py520CODE
LOWtest/cluster/object_store/test_backup.py579CODE
LOWtest/cluster/object_store/test_backup.py1532CODE
LOWtest/cluster/object_store/test_backup.py1732CODE
329 more matches not shown…
Excessive Try-Catch Wrapping204 hits · 216 pts
SeverityFileLineSnippetContext
LOWfix_system_distributed_tables.py126 except Exception:CODE
LOWfix_system_distributed_tables.py129 except Exception:CODE
LOWtest.py221 except Exception:STRING
LOWtest.py413 except Exception as e:STRING
MEDIUMscylla-gdb.py971def __len__(self):CODE
MEDIUMscylla-gdb.py2334def _no_esft_type(self):CODE
MEDIUMscylla-gdb.py4771def __partitions(self, table):CODE
LOWscylla-gdb.py1641 except Exception as e:CODE
LOWscylla-gdb.py1687 except Exception as e:CODE
LOWscylla-gdb.py2270 except Exception:CODE
LOWscylla-gdb.py4745 except Exception as e:CODE
LOWscylla-gdb.py4752 except Exception:CODE
LOWscylla-gdb.py6504 except Exception as e:CODE
LOWscylla-gdb.py6735 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.py473 except Exception as e:CODE
LOWtest/cluster/test_tablets2.py2545 except Exception:CODE
LOWtest/cluster/test_tablets2.py2551 except Exception:CODE
LOWtest/cluster/test_tablets2.py2558 except Exception: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.py138 except Exception as e:CODE
LOWtest/cluster/test_table_drop.py149 except Exception as e:CODE
LOWtest/cluster/test_table_drop.py181 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.py1195 except Exception as e:STRING
LOWtest/cluster/test_cdc_generation_data.py68 except Exception:CODE
LOWtest/cluster/test_alternator.py432 except Exception as e:CODE
LOWtest/cluster/test_zero_token_nodes_multidc.py66 except Exception:CODE
LOWtest/cluster/test_topology_remove_decom.py149 except Exception as e:CODE
LOWtest/cluster/test_audit.py548 except Exception as e:CODE
LOWtest/cluster/test_audit.py1839 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
LOWtest/cluster/test_incremental_repair.py872 except Exception as e:STRING
LOWtest/cluster/test_incremental_repair.py1442 except Exception:STRING
144 more matches not shown…
Modern Structural Boilerplate210 hits · 216 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_secondary_index_paging.py22logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_change_replication_factor_1_to_0.py18logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_maintenance_mode.py24logger = 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.py46logger = 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.py30logger = 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.py22logger = 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.py20logger = 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.py29logger = 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_in_bind_variable_name.py20logger = 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.py26logger = logging.getLogger(__name__)CODE
LOWtest/cluster/test_raft_snapshot_request.py17logger = logging.getLogger(__name__)CODE
LOW…ter/test_sstable_compression_dictionaries_autotrain.py17logger = 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.py14logger = 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.py14logger = 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
150 more matches not shown…
AI Slop Vocabulary33 hits · 68 pts
SeverityFileLineSnippetContext
LOWtest/cluster/conftest.py247# Since connection is managed by manager just return that objectCOMMENT
MEDIUMtest/cluster/test_table_drop.py117 # 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.py208 # 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.py165 # a worker thread instead of blocking the asyncio-based test harness.COMMENT
LOWtest/cluster/dtest/ccmlib/scylla_node.py767 # 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.py115 # 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.py592 # test finishes. On DynamoDB, we can't just call DeleteTable -COMMENT
LOWtest/alternator/test_gsi_composite_keys.py858# new one - not just add the new entry while leaving the old one behind.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.py1221# 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/host_registry.py51 # pid? The pid changes between restarts, and harness does start andCOMMENT
LOWtest/cqlpy/run.py355# 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.py618# 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 · 60 pts
SeverityFileLineSnippetContext
LOWtest/cluster/test_maintenance_mode.py183 # Check if the changes made in maintenance mode are persistedCOMMENT
LOWtest/cluster/conftest.py176 # Check if the test has the check_nodes_for_errors markerCOMMENT
LOWtest/cluster/test_truncate_with_tablets.py64 # Check if we have any dataCOMMENT
LOWtest/cluster/test_truncate_with_tablets.py178 # Check if truncate was successfulCOMMENT
LOWtest/cluster/test_truncate_with_tablets.py223 # Check if we have any dataCOMMENT
LOWtest/cluster/test_truncate_with_tablets.py276 # Check if we have any dataCOMMENT
LOWtest/cluster/test_truncate_with_tablets.py366 # Check if we have any dataCOMMENT
LOWtest/cluster/test_multidc.py235 # Check if it works if the RF doesn't change.COMMENT
LOWtest/cluster/test_multidc.py267 # Check if it works if the RF doesn't change.COMMENT
LOWtest/cluster/test_multidc.py273 # Check if it works if the RF doesn't change.COMMENT
LOWtest/cluster/test_incremental_repair.py1119 # Check if leadership transferred during the restart. This used to makeSTRING
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.py781 # Set audit_keyspaces to an unrelated keyspace — NOT the table's keyspaceCOMMENT
LOWtest/alternator/test_lsi.py864 # Set b to b2 instead of b1.COMMENT
LOWtest/pylib/runner.py448 # 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.yaml260 # Check if docs-CI job existsCOMMENT
LOW.github/workflows/scylla-ci-route.yaml500 # Check if user is a ScyllaDB org member (204 -> success/exit 0,COMMENT
LOW.github/workflows/scylla-ci-route.yaml506 # 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
Structural Annotation Overuse32 hits · 43 pts
SeverityFileLineSnippetContext
LOWtest/cluster/test_tablets_merge.py707 # Step 1: Write live data, flush.COMMENT
LOWtest/cluster/test_tablets_merge.py714 # Step 2: First major → produces multi-fragment run.COMMENT
LOWtest/cluster/test_tablets_merge.py717 # Step 3: Delete keys in batches (multiple tombstone sstables).COMMENT
LOWtest/cluster/test_tablets_merge.py724 # Step 4: Set gc_grace_seconds=0 + immediate mode so tombstonesCOMMENT
LOWtest/cluster/test_tablets_merge.py732 # Step 5: Block the merge_completion_fiber. This prevents it fromCOMMENT
LOWtest/cluster/test_tablets_merge.py736 # Step 6: Trigger merge (2 → 1 tablet). The topology coordinatorCOMMENT
LOWtest/cluster/test_tablets_merge.py754 # Step 7: Now run major compaction with consider_only_existing_data=TrueCOMMENT
LOWtest/cluster/test_tablets_lwt.py1010 # Step 1: Persist a paxos proposal tagged with schema version V, then fail the round.STRING
LOWtest/cluster/test_tablets_lwt.py1019 # Step 2: ALTER TABLE to create a new schema version V2, superseding V.STRING
LOWtest/cluster/test_tablets_lwt.py1023 # Step 3: Add node n2. It bootstraps from group0 snapshot and only stores mapping(V2).STRING
LOWtest/cluster/test_tablets_lwt.py1028 # Step 4: Migrate the tablet from n1 to n2, pausing after streaming butSTRING
LOWtest/cluster/test_tablets_lwt.py1053 # Step 5: Run an LWT while the streaming fetch is paused. The data planeSTRING
LOWtest/cluster/test_tablets_lwt.py1060 # Step 6: Release the injection and let migration complete (including theSTRING
LOWtest/cluster/test_tablets_lwt.py1086 # Step 7: Persist a paxos proposal tagged with schema version V2 on n2,STRING
LOWtest/cluster/test_tablets_lwt.py1095 # Step 8: ALTER TABLE to create schema version V3, superseding V2.STRING
LOWtest/cluster/test_tablets_lwt.py1099 # Step 9: Add node n3. It bootstraps and only stores mapping(V3).STRING
LOWtest/cluster/test_tablets_lwt.py1104 # Step 10: Migrate tablet n2 -> n3. The streaming fetch must copySTRING
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/cluster/test_tablets_lwt.py1115 # Step 11: Run an LWT targeting n3. The tablet is now on n3 (rf=1), soSTRING
LOWtest/cqlpy/test_describe.py1528# NOTE: This function is missing a functionality of running cql's grammar functionSTRING
LOWtest/cqlpy/test_permissions.py1000 # Step 1: Verify direct execution is blocked (sanity check)COMMENT
LOWtest/cqlpy/test_permissions.py1004 # Step 2: Execute via BATCH — this must fail with Unauthorized,COMMENT
LOWtest/cqlpy/test_permissions.py1011 # 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 Indicators29 hits · 39 pts
SeverityFileLineSnippetContext
LOWtest/cluster/test_tablets_merge.py707 # Step 1: Write live data, flush.COMMENT
LOWtest/cluster/test_tablets_merge.py714 # Step 2: First major → produces multi-fragment run.COMMENT
LOWtest/cluster/test_tablets_merge.py717 # Step 3: Delete keys in batches (multiple tombstone sstables).COMMENT
LOWtest/cluster/test_tablets_merge.py724 # Step 4: Set gc_grace_seconds=0 + immediate mode so tombstonesCOMMENT
LOWtest/cluster/test_tablets_merge.py732 # Step 5: Block the merge_completion_fiber. This prevents it fromCOMMENT
LOWtest/cluster/test_tablets_merge.py736 # Step 6: Trigger merge (2 → 1 tablet). The topology coordinatorCOMMENT
LOWtest/cluster/test_tablets_merge.py754 # Step 7: Now run major compaction with consider_only_existing_data=TrueCOMMENT
LOWtest/cluster/test_tablets_lwt.py1010 # Step 1: Persist a paxos proposal tagged with schema version V, then fail the round.STRING
LOWtest/cluster/test_tablets_lwt.py1019 # Step 2: ALTER TABLE to create a new schema version V2, superseding V.STRING
LOWtest/cluster/test_tablets_lwt.py1023 # Step 3: Add node n2. It bootstraps from group0 snapshot and only stores mapping(V2).STRING
LOWtest/cluster/test_tablets_lwt.py1028 # Step 4: Migrate the tablet from n1 to n2, pausing after streaming butSTRING
LOWtest/cluster/test_tablets_lwt.py1053 # Step 5: Run an LWT while the streaming fetch is paused. The data planeSTRING
LOWtest/cluster/test_tablets_lwt.py1060 # Step 6: Release the injection and let migration complete (including theSTRING
LOWtest/cluster/test_tablets_lwt.py1086 # Step 7: Persist a paxos proposal tagged with schema version V2 on n2,STRING
LOWtest/cluster/test_tablets_lwt.py1095 # Step 8: ALTER TABLE to create schema version V3, superseding V2.STRING
LOWtest/cluster/test_tablets_lwt.py1099 # Step 9: Add node n3. It bootstraps and only stores mapping(V3).STRING
LOWtest/cluster/test_tablets_lwt.py1104 # Step 10: Migrate tablet n2 -> n3. The streaming fetch must copySTRING
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/cluster/test_tablets_lwt.py1115 # Step 11: Run an LWT targeting n3. The tablet is now on n3 (rf=1), soSTRING
LOWtest/alternator/test_transact.py851# transaction so we need to check if it's also recognized, and whether itCOMMENT
LOWtest/cqlpy/test_permissions.py1000 # Step 1: Verify direct execution is blocked (sanity check)COMMENT
LOWtest/cqlpy/test_permissions.py1004 # Step 2: Execute via BATCH — this must fail with Unauthorized,COMMENT
LOWtest/cqlpy/test_permissions.py1011 # 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
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.py344 # 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 Markers5 hits · 38 pts
SeverityFileLineSnippetContext
HIGHscylla-gdb.py32# Note: this workaround was AI-generated without much thought put into it.COMMENT
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.py1130# Test that the permissions checks for writing to system tables (as requestedCOMMENT
AI Structural Patterns35 hits · 32 pts
SeverityFileLineSnippetContext
LOWtest.py51CODE
LOWtest/scylla_gdb/conftest.py77CODE
LOWtest/cluster/test_hints.py34CODE
LOWtest/cluster/test_audit.py294CODE
LOWtest/cluster/test_audit.py763CODE
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.py324CODE
LOWtest/cluster/dtest/dtest_setup.py362CODE
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.py402CODE
LOWtest/cluster/dtest/ccmlib/scylla_cluster.py100CODE
LOWtest/cluster/dtest/ccmlib/scylla_cluster.py139CODE
LOWtest/nodetool/test_repair.py318CODE
LOWtest/pylib/lcov_utils.py593CODE
LOWtest/pylib/scylla_cluster_manager.py552CODE
LOWtest/pylib/scylla_cluster_manager.py579CODE
LOWtest/pylib/scylla_cluster_manager.py1119CODE
LOWtest/pylib/scylla_cluster_manager.py1241CODE
LOWtest/pylib/scylla_cluster_manager.py1303CODE
LOWtest/pylib/kmip_wrapper.py133CODE
LOWtest/pylib/scylla_cluster.py242CODE
LOWtest/pylib/scylla_cluster.py380CODE
LOWtest/pylib/version_fetch_utils.py175CODE
LOWtest/pylib/rest_client.py103CODE
LOWtest/pylib/rest_client.py116CODE
LOWtest/pylib/rest_client.py123CODE
LOWtest/pylib/rest_client.py176CODE
LOWtest/pylib/rest_client.py310CODE
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
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 Leakage2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHtest/alternator/test_no_exception.py60 # In this example this was "ConsistentRead".COMMENT
HIGHtest/alternator/test_batch.py605 # In this example this was "ConsistentRead".COMMENT
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
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtest/alternator/test_streams.py633 # TODO: add tests for storage/transactionable variations and global/local indexCOMMENT