AI Slop Code Risk Monitor

apache/cassandra

SlopCodeMonitor badge for apache/cassandra Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Open source transactional distributed database. Linear scalability and proven fault-tolerance on commodity hardware or cloud infrastructure without compromising performance.

2.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for apache/cassandra, a Java project with 10,131 GitHub stars. SynthScan examined 1,607,200 lines of code across 7041 source files, recording 1549 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 2.8 (Low pattern signal); it is not an authorship estimate.

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

2.8
Adjusted Signal
2.8
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
10.1K
Stars
Java
Language
1.6M
Lines of Code
7.0K
Files
1.5K
Pattern Hits
2026-10-31
Scan Date
0.05
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 4.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 8.9/100 · LOW

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

Agent Over-Engineering Ratio 1.5/100 · LOW

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

PR Review Velocity Impact 12.7/100 · LOW

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 247HIGH 73MEDIUM 106LOW 1123

Directory Score Breakdown

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

Pattern Findings

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

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

Hallucination Indicators247 hits · 2965 pts
SeverityFileLineSnippetContext
CRITICAL.build/checkstyle.xml85 <property name="message" value="Avoid Instant.now() for time, should use org.apache.cassandra.util.FBUtilities.nowCODE
CRITICAL.build/sh/test/test_jmh_junit_report.py54 "\tat org.apache.cassandra.test.microbench.FooBench.method(FooBench.java:21)",CODE
CRITICAL.build/run-ci.d/run-ci-test.py205 cloud.session.Session.return_value.client.return_value.terminate_instance_in_auto_scaling_group.assert_called_onCODE
CRITICAL…t/unit/org/apache/cassandra/fqltool/FQLReplayTest.java522 assertArrayEquals(values.toArray(), simpleStmt.getValues(com.datastax.driver.core.ProtocolVersion.fromInt(QueryOCODE
CRITICAL…t/unit/org/apache/cassandra/fqltool/FQLReplayTest.java930 assertArrayEquals(simpleStmt1.getValues(com.datastax.driver.core.ProtocolVersion.fromInt(QueryOptions.DEFAULT.geCODE
CRITICAL…t/unit/org/apache/cassandra/fqltool/FQLReplayTest.java931 simpleStmt2.getValues(com.datastax.driver.core.ProtocolVersion.fromInt(QueryOptions.DEFAULT.geCODE
CRITICAL…fqltool/src/org/apache/cassandra/fqltool/FQLQuery.java257 return new FullQueryLogger.Batch(org.apache.cassandra.cql3.statements.BatchStatement.Type.valueOf(batchType.CODE
CRITICAL…resources/org/apache/cassandra/stress/graph/graph.html33},cur:function(){var a=Zb.propHooks[this.prop];return a&&a.get?a.get(this):Zb.propHooks._default.get(this)},run:functionCODE
CRITICAL…pache/cassandra/io/sstable/StressCQLSSTableWriter.java676 Directories directories = new Directories(tableMetadata, directoryList.stream().map(f -> new Directories.DatCODE
CRITICAL…ess/src/org/apache/cassandra/stress/StressProfile.java500 List<Generator> regularColumns = com.google.common.collect.Lists.newArrayList(metadata.regularAndStaticColumns()CODE
CRITICAL…ess/src/org/apache/cassandra/stress/StressProfile.java521 List<ColumnMetadata> allColumns = com.google.common.collect.Lists.newArrayList(metadata.allColumnsInSelectOrder(CODE
CRITICAL⚡…ess/src/org/apache/cassandra/stress/StressProfile.java566 Set<com.datastax.driver.core.ColumnMetadata> keyColumns = com.google.common.collect.Sets.newHashSet(CODE
CRITICAL⚡…ess/src/org/apache/cassandra/stress/StressProfile.java567 Set<com.datastax.driver.core.ColumnMetadata> allColumns = com.google.common.collect.Sets.newHashSet(CODE
CRITICAL⚡…ess/src/org/apache/cassandra/stress/StressProfile.java572 com.google.common.collect.Sets.SetView diff = com.google.common.collect.Sets.difference(allColumCODE
CRITICAL…ess/src/org/apache/cassandra/stress/StressProfile.java752 Set<com.datastax.driver.core.ColumnMetadata> keyColumns = com.google.common.collect.Sets.newHashSet(tableMetCODE
CRITICAL…org/apache/cassandra/stress/generate/values/Lists.java54 return com.google.common.collect.Lists.newArrayList(Arrays.copyOf(buffer, size));CODE
CRITICAL…pache/cassandra/transport/ProtocolNegotiationTest.java173 if (requestedVersion.toInt() > org.apache.cassandra.transport.ProtocolVersion.CURRENT.asInt())CODE
CRITICAL…/unit/org/apache/cassandra/transport/TlsTestUtils.java214 com.datastax.driver.core.Cluster.Builder builder = com.datastax.driver.core.Cluster.builder()CODE
CRITICAL…st/unit/org/apache/cassandra/cql3/ViewComplexTest.java220 List<UntypedResultSet.Row> baseData = com.google.common.collect.Lists.newArrayList(iter);CODE
CRITICAL…st/unit/org/apache/cassandra/cql3/ViewComplexTest.java221 List<UntypedResultSet.Row> viewData = com.google.common.collect.Lists.newArrayList(viewIter);CODE
CRITICALtest/unit/org/apache/cassandra/cql3/ViewTest.java661 action = "org.apache.cassandra.cql3.ViewTest.blockViewBuild.countDown();")CODE
CRITICAL…/org/apache/cassandra/cql3/PreparedStatementsTest.java500 org.apache.cassandra.cql3.ResultSet.Flag.of(org.apache.cassanCODE
CRITICAL…/org/apache/cassandra/cql3/PreparedStatementsTest.java518 org.apache.cassandra.cql3.ResultSet.Flag.of(org.apache.cassanCODE
CRITICAL…/org/apache/cassandra/cql3/PreparedStatementsTest.java576 org.apache.cassandra.cql3.ResultSet.Flag.of(CODE
CRITICAL…/org/apache/cassandra/cql3/PreparedStatementsTest.java598 org.apache.cassandra.cql3.ResultSet.Flag.of(org.apache.cassandra.cql3.ResuCODE
CRITICAL…/org/apache/cassandra/cql3/PreparedStatementsTest.java624 if (org.apache.cassandra.cql3.ResultSet.Flag.contains(resultFlags, org.apache.cassandra.cql3.ResultSet.Flag.METACODE
CRITICAL…/org/apache/cassandra/cql3/PreparedStatementsTest.java640 assertEquals(org.apache.cassandra.cql3.ResultSet.Flag.of(org.apache.cassandra.cql3.ResultSet.Flag.GLOBAL_TABLES_CODE
CRITICAL…it/org/apache/cassandra/cql3/PstmtPersistenceTest.java208 action = "org.apache.cassandra.cql3.PstmtPersistenceTest.preparedStatementLoadTimestamps.put($key, CODE
CRITICAL…it/org/apache/cassandra/cql3/PstmtPersistenceTest.java213 action = "org.apache.cassandra.cql3.PstmtPersistenceTest.preparedStatementRemoveTimestamps.put($keyCODE
CRITICAL…it/org/apache/cassandra/cql3/PstmtPersistenceTest.java309 action = "org.apache.cassandra.cql3.PstmtPersistenceTest.nextPageReadQuery($this.query, $pageSize)")CODE
CRITICALtest/unit/org/apache/cassandra/cql3/CQLTester.java406 com.datastax.driver.core.ProtocolVersion.fromInt(version.asInt());CODE
CRITICALtest/unit/org/apache/cassandra/cql3/CQLTester.java816 builder = builder.withProtocolVersion(com.datastax.driver.core.ProtocolVersion.fromInt(version.asInt()));CODE
CRITICALtest/unit/org/apache/cassandra/cql3/CQLTester.java1668 statement = statement.setConsistencyLevel(com.datastax.driver.core.ConsistencyLevel.valueOf(consistency.name()))CODE
CRITICALtest/unit/org/apache/cassandra/cql3/CQLTester.java1961 com.datastax.driver.core.ProtocolVersion version = com.datastax.driver.core.ProtocolVersion.fromInt(protocolVersCODE
CRITICALtest/unit/org/apache/cassandra/cql3/CQLTester.java2078 com.datastax.driver.core.ProtocolVersion version = com.datastax.driver.core.ProtocolVersion.fromInt(getDefaultVeCODE
CRITICALtest/unit/org/apache/cassandra/cql3/CQLTester.java2533 com.google.common.collect.Sets.SetView<List<ByteBuffer>> extra = com.google.common.collect.Sets.difference(actuaCODE
CRITICALtest/unit/org/apache/cassandra/cql3/CQLTester.java2534 com.google.common.collect.Sets.SetView<List<ByteBuffer>> missing = com.google.common.collect.Sets.difference(expCODE
CRITICAL⚡…dra/cql3/validation/entities/UFIdentificationTest.java345 Set<String> expected = com.google.common.collect.Sets.newHashSet(function);CODE
CRITICAL⚡…dra/cql3/validation/entities/UFIdentificationTest.java346 Set<String> actual = com.google.common.collect.Sets.newHashSet(Iterables.transform(stmt.getFunctions(),CODE
CRITICAL⚡…dra/cql3/validation/entities/UFIdentificationTest.java348 assertTrue(com.google.common.collect.Sets.symmetricDifference(expected, actual).isEmpty());CODE
CRITICAL⚡…dra/cql3/validation/entities/UFIdentificationTest.java354 return String.format(template, com.google.common.collect.Lists.asList(tableName, params).toArray());CODE
CRITICAL…cassandra/cql3/validation/entities/UFSecurityTest.java124 " org.apache.cassandra.utils.vint.VIntCoding.computeUnsignedVIntSize(0L); return 0d;" +CODE
CRITICAL…cassandra/cql3/validation/entities/UFVerifierTest.java163 assertEquals(new HashSet<>(Collections.singletonList("call to org.apache.cassandra.config.DatabaseDescriptor.getCODE
CRITICAL…st/unit/org/apache/cassandra/dht/BootStrapperTest.java127 action = "org.apache.cassandra.dht.BootStrapperTest.nonOptimizationHit.set(true)"),CODE
CRITICAL…st/unit/org/apache/cassandra/dht/BootStrapperTest.java131 action = "org.apache.cassandra.dht.BootStrapperTest.optimizationHit.set(true)") })CODE
CRITICAL…pache/cassandra/io/sstable/format/ColumnIndexTest.java127 action = "org.apache.cassandra.io.sstable.format.ColumnIndexTest.setRTBMLastInIndexBlock(CODE
CRITICAL…pache/cassandra/io/sstable/format/ColumnIndexTest.java133 action = "org.apache.cassandra.io.sstable.format.ColumnIndexTest.setRTBMLastInIndexBlock(CODE
CRITICAL…assandra/io/sstable/format/bti/LoadingBuilderTest.java50 action = "org.apache.cassandra.io.sstable.format.bti.LoadingBuilderTest.preloadsMap.put($1.path(), $3)")CODE
CRITICALtest/unit/org/apache/cassandra/utils/RangeTreeTest.java705 btree = org.apache.cassandra.utils.btree.IntervalBTree.update(btree, BTree.singleton(new Item(range.start(),CODE
CRITICAL⚡…ache/cassandra/schema/SchemaStatementWarningsTest.java56 action = "org.apache.cassandra.schema.SchemaStatementWarningsTest.addWarn()"),CODE
CRITICAL⚡…ache/cassandra/schema/SchemaStatementWarningsTest.java61 action = "return org.apache.cassandra.schema.SchemaStatementWarningsTest.addWarnToList($!CODE
CRITICAL⚡…ache/cassandra/schema/SchemaStatementWarningsTest.java66 action = "return org.apache.cassandra.schema.SchemaStatementWarningsTest.addWarnToList($!CODE
CRITICAL⚡…ache/cassandra/schema/SchemaStatementWarningsTest.java82 action = "org.apache.cassandra.schema.SchemaStatementWarningsTest.addWarn()"),CODE
CRITICAL⚡…ache/cassandra/schema/SchemaStatementWarningsTest.java87 action = "return org.apache.cassandra.schema.SchemaStatementWarningsTest.addWarnToList($!CODE
CRITICAL⚡…ache/cassandra/schema/SchemaStatementWarningsTest.java92 action = "return org.apache.cassandra.schema.SchemaStatementWarningsTest.addWarnToList($!CODE
CRITICAL⚡…che/cassandra/schema/TupleTypesRepresentationTest.java153 // "org.apache.cassandra.db.marshal.UserType(ks,6d635f756474,61:org.apache.cassandra.db.marshal.UTF8Type,62:oCOMMENT
CRITICAL⚡…che/cassandra/schema/TupleTypesRepresentationTest.java210 // "org.apache.cassandra.db.marshal.ListType(org.apache.cassandra.db.marshal.FrozenType(org.apache.cassandraCOMMENT
CRITICAL⚡…che/cassandra/schema/TupleTypesRepresentationTest.java226 // "org.apache.cassandra.db.marshal.SetType(org.apache.cassandra.db.marshal.FrozenType(org.apache.cassandra.COMMENT
CRITICAL⚡…che/cassandra/schema/TupleTypesRepresentationTest.java242 // "org.apache.cassandra.db.marshal.MapType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.dbCOMMENT
CRITICAL⚡…che/cassandra/schema/TupleTypesRepresentationTest.java145 "org.apache.cassandra.db.marshal.TupleType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.CODE
187 more matches not shown…
Over-Commented Block577 hits · 425 pts
SeverityFileLineSnippetContext
LOW.asf.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWTESTING.md1<!--COMMENT
LOWbuild-shaded-dtest-jar.sh1#!/bin/bashCOMMENT
LOWCONTRIBUTING.md1<!--COMMENT
LOW.build/run-tests.sh1#!/bin/bashCOMMENT
LOW.build/build-artifacts.sh1#!/bin/sh -eCOMMENT
LOW.build/build-jars.sh1#!/bin/sh -eCOMMENT
LOW.build/run-python-dtests.sh1#!/bin/bashCOMMENT
LOW.build/header.txt1#COMMENT
LOW.build/check-code.sh1#!/bin/sh -eCOMMENT
LOW.build/rat-include-accord.sh1#!/usr/bin/env bashCOMMENT
LOW.build/docker/_build-debian.sh1#!/bin/bashCOMMENT
LOW.build/docker/_docker_run.sh1#!/bin/bashCOMMENT
LOW.build/docker/build-redhat.sh1#!/bin/bashCOMMENT
LOW.build/docker/run-tests.sh1#!/bin/bashCOMMENT
LOW.build/docker/_docker_init_tests.sh1#!/bin/bashCOMMENT
LOW.build/docker/_set_java.sh1#!/bin/bash -eCOMMENT
LOW.build/docker/build-artifacts.sh1#!/bin/bashCOMMENT
LOW.build/docker/_create_user.sh1#!/bin/bashCOMMENT
LOW.build/docker/_build-redhat.sh1#!/bin/bashCOMMENT
LOW.build/docker/build-docs.sh1#!/bin/bashCOMMENT
LOW.build/docker/build-debian.sh1#!/bin/bashCOMMENT
LOW.build/docker/build-jars.sh1#!/bin/bashCOMMENT
LOW.build/docker/_copy_ccm_repositories.sh1#!/bin/bashCOMMENT
LOW.build/docker/_prepopulate_maven_deps.sh1#!/bin/bashCOMMENT
LOW.build/docker/check-code.sh1#!/bin/shCOMMENT
LOW.build/ci/requirements.txt1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.build/ci/ci_parser.py1#!/usr/bin/env python3COMMENT
LOW.build/ci/junit_helpers.py1#!/usr/bin/env python3COMMENT
LOW.build/ci/generate-test-report.sh1#!/bin/sh -eCOMMENT
LOW.build/ci/generate-ci-summary.sh1#!/bin/sh -eCOMMENT
LOW.build/ci/generate-ci-summary.sh21# For example:COMMENT
LOW.build/ci/precommit_check.sh1#!/bin/bashCOMMENT
LOW.build/ci/logging.sh1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.build/ci/logging_helper.py1#!/usr/bin/env python3COMMENT
LOW.build/ci/ci_parser_test.py1#!/usr/bin/env python3COMMENT
LOW.build/ci/cell_balance.py1#!/usr/bin/env python3COMMENT
LOW.build/sh/change-submodule-accord.sh1#!/usr/bin/env bashCOMMENT
LOW.build/sh/bump-accord.sh1#!/usr/bin/env bashCOMMENT
LOW.build/sh/ant-log-summary.py1#!/usr/bin/env python3COMMENT
LOW.build/sh/jmh-junit-report.py1#!/usr/bin/env python3COMMENT
LOW.build/sh/jmh-junit-report.py21#COMMENT
LOW.build/sh/test-log-summary.py1#!/usr/bin/env python3COMMENT
LOW.build/sh/test-log-summary.py21#COMMENT
LOW.build/sh/change-submodule.sh1#!/usr/bin/env bashCOMMENT
LOW.build/sh/development-switch.sh1#!/usr/bin/env bashCOMMENT
LOW.build/sh/_run-ant.sh1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.build/sh/test/stub-ant-cases.sh1#!/bin/bashCOMMENT
LOW.build/sh/test/_test-harness.sh1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.build/sh/test/test_log_summary.py1#!/usr/bin/env python3COMMENT
LOW.build/sh/test/stub-docker-cases.sh1#!/bin/bashCOMMENT
LOW.build/sh/test/test_jmh_junit_report.py1#!/usr/bin/env python3COMMENT
LOW.build/sonar/sonar-report.sh1#!/bin/bashCOMMENT
LOW.build/sonar/sonar-setup-local.sh1#COMMENT
LOW.build/run-ci.d/run-ci-test.py1#!/usr/bin/env pythonCOMMENT
LOW.build/run-ci.d/requirements.txt1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.build/run-ci.d/run_ci.py1#!/usr/bin/env pythonCOMMENT
LOW.build/git/install-git-defaults.sh1#!/usr/bin/env bashCOMMENT
LOW…d/git/git-hooks/post-checkout/100-update-submodules.sh1#!/usr/bin/env bashCOMMENT
LOW…t/git-hooks/pre-commit/100-verify-submodules-pushed.sh1#!/usr/bin/env bashCOMMENT
517 more matches not shown…
Hyper-Verbose Identifiers317 hits · 274 pts
SeverityFileLineSnippetContext
LOW.build/ci/ci_parser_test.py48 def test_detail_limit_does_not_cap_totals(self):CODE
LOW.build/sh/ant-log-summary.py72def extract_compilation_errors(content):CODE
LOW⚡.build/sh/test/test_log_summary.py115 def test_failure_rate_non_zero_fails(self):CODE
LOW⚡.build/sh/test/test_log_summary.py120 def test_failure_rate_zero_passes(self):CODE
LOW⚡.build/sh/test/test_log_summary.py125 def test_testcase_failure_without_a_summary_fails(self):CODE
LOW⚡.build/sh/test/test_log_summary.py133 def test_testcase_error_without_a_summary_fails(self):CODE
LOW⚡.build/sh/test/test_log_summary.py141 def test_duplicate_testcase_lines_are_reported_once(self):CODE
LOW⚡.build/sh/test/test_log_summary.py147 def test_build_failed_reports_compilation_errors(self):CODE
LOW⚡.build/sh/test/test_log_summary.py162 def test_microbench_marker_passes(self):CODE
LOW⚡.build/sh/test/test_log_summary.py168 def test_microbench_failure_fails(self):CODE
LOW⚡.build/sh/test/test_log_summary.py172 def test_empty_input_passes_with_a_notice(self):CODE
LOW⚡.build/sh/test/test_log_summary.py190 def test_test_log_summary_passes_with_zero(self):CODE
LOW⚡.build/sh/test/test_log_summary.py195 def test_test_log_summary_fails_with_one(self):CODE
LOW⚡.build/sh/test/test_log_summary.py199 def test_test_log_summary_reads_stdin_by_default(self):CODE
LOW⚡.build/sh/test/test_log_summary.py204 def test_test_log_summary_missing_file(self):CODE
LOW⚡.build/sh/test/test_log_summary.py209 def test_ant_log_summary_passes_with_zero(self):CODE
LOW⚡.build/sh/test/test_log_summary.py214 def test_ant_log_summary_fails_with_one(self):CODE
LOW.build/sh/test/test_log_summary.py67 def test_clean_pass_with_ant_task_tag(self):CODE
LOW.build/sh/test/test_log_summary.py74 def test_skipped_tests_alone_pass(self):CODE
LOW.build/sh/test/test_log_summary.py87 def test_last_summary_does_not_mask_an_earlier_failure(self):CODE
LOW.build/sh/test/test_log_summary.py92 def test_run_tests_failed_target(self):CODE
LOW.build/sh/test/test_log_summary.py103 def test_failed_to_prose_is_not_a_failed_target(self):CODE
LOW.build/sh/test/test_log_summary.py227 def test_ant_log_summary_missing_file(self):CODE
LOW⚡.build/sh/test/test_jmh_junit_report.py110 def test_splits_benchmarks_at_each_header(self):CODE
LOW⚡.build/sh/test/test_jmh_junit_report.py118 def test_maps_every_mode_to_the_json_label(self):CODE
LOW⚡.build/sh/test/test_jmh_junit_report.py125 def test_a_parameter_value_may_end_in_a_bracket(self):CODE
LOW⚡.build/sh/test/test_jmh_junit_report.py129 def test_header_lines_printed_by_a_benchmark_are_not_read(self):CODE
LOW⚡.build/sh/test/test_jmh_junit_report.py134 def test_times_each_benchmark_until_the_next_starts(self):CODE
LOW⚡.build/sh/test/test_jmh_junit_report.py141 def test_output_after_the_run_is_not_a_benchmark(self):CODE
LOW⚡.build/sh/test/test_jmh_junit_report.py146 def test_a_header_cut_short_is_dropped(self):CODE
LOW⚡.build/sh/test/test_jmh_junit_report.py167 def test_fork_that_failed_to_start(self):CODE
LOW⚡.build/sh/test/test_jmh_junit_report.py171 def test_no_marker_reports_the_last_lines(self):CODE
LOW⚡.build/sh/test/test_jmh_junit_report.py176 def test_failure_text_is_capped(self):CODE
LOW.build/sh/test/test_jmh_junit_report.py187 def test_passed_is_in_the_json_and_failed_is_not(self):CODE
LOW.build/sh/test/test_jmh_junit_report.py198 def test_names_a_test_by_mode_and_params(self):CODE
LOW.build/sh/test/test_jmh_junit_report.py216 def test_benchmark_output_cannot_break_the_xml(self):CODE
LOW⚡.build/sh/test/test_jmh_junit_report.py246 def test_all_passed_exits_zero(self):CODE
LOW⚡.build/sh/test/test_jmh_junit_report.py253 def test_a_failure_exits_one_and_names_it(self):CODE
LOW⚡.build/sh/test/test_jmh_junit_report.py261 def test_no_json_exits_two_and_writes_nothing(self):CODE
LOW⚡.build/sh/test/test_jmh_junit_report.py267 def test_no_benchmark_exits_zero_and_writes_nothing(self):CODE
LOW⚡.build/run-ci.d/run-ci-test.py136 def test_unreadable_node_list_stops_without_deletion(self):CODE
LOW⚡.build/run-ci.d/run-ci-test.py148 def test_api_access_failure_aborts_remaining_deletion_steps(self):CODE
LOW⚡.build/run-ci.d/run-ci-test.py394 def test_wait_for_build_complete_missing_building_field(self):CODE
LOW⚡.build/run-ci.d/run-ci-test.py404 def test_wait_for_build_complete_survives_api_error(self):CODE
LOW⚡.build/run-ci.d/run-ci-test.py414 def test_wait_for_build_number_pending_executable(self):CODE
LOW⚡.build/run-ci.d/run-ci-test.py423 def test_retry_call_returns_result(self):CODE
LOW⚡.build/run-ci.d/run-ci-test.py426 def test_retry_call_raises_after_retries(self):CODE
LOW⚡.build/run-ci.d/run-ci-test.py461 def test_retry_call_always_attempts_once(self):CODE
LOW⚡.build/run-ci.d/run-ci-test.py467 def test_delete_remote_junit_files(self, mock_stream):CODE
LOW⚡.build/run-ci.d/run-ci-test.py474 def test_cleanup_and_maybe_teardown(self, mock_run):CODE
LOW⚡.build/run-ci.d/run-ci-test.py480 def test_helm_installation_lock(self, mock_flock):CODE
LOW⚡.build/run-ci.d/run-ci-test.py538 def test_check_agent_capacity_allows_the_committed_values(self):CODE
LOW⚡.build/run-ci.d/run-ci-test.py542 def test_check_agent_capacity_blocks_a_cap_above_the_pool(self):CODE
LOW⚡.build/run-ci.d/run-ci-test.py550 def test_check_agent_capacity_reads_maxsize_wherever_it_is_published(self):CODE
LOW⚡.build/run-ci.d/run-ci-test.py559 def test_check_agent_capacity_blocks_contradictory_config(self):CODE
LOW⚡.build/run-ci.d/run-ci-test.py601 def test_prefers_service_hostname_and_https(self):CODE
LOW⚡.build/run-ci.d/run-ci-test.py606 def test_dns_hostname_works_without_tls_or_load_balancer_status(self):CODE
LOW⚡.build/run-ci.d/run-ci-test.py610 def test_missing_or_unusable_dns_annotation_preserves_load_balancer_fallback(self):CODE
LOW⚡.build/run-ci.d/run-ci-test.py617 def test_selects_first_concrete_dns_name_and_supports_both_annotation_prefixes(self):CODE
LOW⚡.build/run-ci.d/run-ci-test.py623 def test_preserves_custom_http_and_annotated_tls_ports(self):CODE
257 more matches not shown…
Synthetic Comment Markers56 hits · 205 pts
SeverityFileLineSnippetContext
HIGH.circleci/config_template.yml3337 # Run each test class as many times as requested.COMMENT
HIGH.circleci/config_template.yml3510 # Run the test target as many times as requested collecting the exit code,COMMENT
HIGH.circleci/config.yml3172 # Run the test target as many times as requested collecting the exit code,COMMENT
HIGH.circleci/config.yml4237 # Run the test target as many times as requested collecting the exit code,COMMENT
HIGH.circleci/config.yml56 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml56 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml442 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml442 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml1486 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml1486 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml1808 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml1808 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml2420 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml2420 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml2732 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml2732 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml2897 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml2897 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml3394 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml3394 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml3707 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml3707 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml4600 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml4600 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml4884 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml4884 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml4976 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml4976 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml5247 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml5247 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml5648 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml5648 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml6357 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml6357 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml6671 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml6671 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml7032 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml7032 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml7124 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml7124 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml8372 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml8372 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml8933 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml8933 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml9098 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml9098 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml9275 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml9275 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml9440 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml9440 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml9618 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml9618 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml9843 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml9843 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml9934 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml9934 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
Structural Annotation Overuse59 hits · 113 pts
SeverityFileLineSnippetContext
LOW…che/cassandra/io/compress/CompressionMetadataTest.java99 // Step 1: Create a dictionary and add it to cache (simulating table with Zstd compression)COMMENT
LOW…che/cassandra/io/compress/CompressionMetadataTest.java117 // Step 2: Open SSTable with dictionary (simulating CompressionMetadata)COMMENT
LOW⚡…che/cassandra/io/compress/CompressionMetadataTest.java139 // Step 3: Schema change - close cache (simulating switch from Zstd to LZ4)COMMENT
LOW⚡…che/cassandra/io/compress/CompressionMetadataTest.java145 // Step 4: Verify dictionary is still usable via CompressionMetadataCOMMENT
LOW⚡…che/cassandra/io/compress/CompressionMetadataTest.java159 // Step 5: Close CompressionMetadata (simulating SSTable being compacted away)COMMENT
LOW⚡…che/cassandra/io/compress/CompressionMetadataTest.java164 // Step 6: Dictionary is still usable because ZstdDictionaryCompressor cache holds a referenceCOMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java340 // Step 1: add new node as a write replica to all ranges it is gainingCOMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java359 // Step 2: add new node as a read replica to the ranges it is gaining; remove old node from reads at the same tiCOMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java379 // Step 3: finally remove the old node from writesCOMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java424 // Step 1: Prepare Move,COMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java438 // Step 2: Start Move, add all potential owners to write quorumsCOMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java460 // Step 3: Mid Move, remove all nodes that are losing ranges from read quorums, add all nodes gaining ranges to COMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java478 // Step 4: Finish Move, remove all nodes that are losing ranges from write quorumsCOMMENT
LOW…de/skills/tla-plus/references/patterns/code-to-spec.md13### Step 1: Identify the Abstraction LevelCOMMENT
LOW…de/skills/tla-plus/references/patterns/code-to-spec.md22### Step 2: Map Code Constructs to TLA+COMMENT
LOW…de/skills/tla-plus/references/patterns/code-to-spec.md40### Step 3: Write the SpecCOMMENT
LOW⚡…de/skills/tla-plus/references/patterns/code-to-spec.md151### Step 1: Write a Minimal SpecCOMMENT
LOW⚡…de/skills/tla-plus/references/patterns/code-to-spec.md154### Step 2: Run with Small ConstantsCOMMENT
LOW⚡…de/skills/tla-plus/references/patterns/code-to-spec.md162### Step 3: Look for These SymptomsCOMMENT
LOW⚡…de/skills/tla-plus/references/patterns/code-to-spec.md172### Step 4: Translate Error Trace to Code PathCOMMENT
LOW⚡.claude/skills/tla-plus/scripts/check.sh18# Step 1: Translate PlusCal if the spec contains an algorithmCOMMENT
LOW⚡.claude/skills/tla-plus/scripts/check.sh25# Step 2: Parse with SANYCOMMENT
LOW⚡.claude/skills/tla-plus/scripts/check.sh30# Step 3: Run TLCCOMMENT
LOW⚡.claude/skills/heatmap/SKILL.md27### Step 1: Determine the repository path and scopeCOMMENT
LOW⚡.claude/skills/heatmap/SKILL.md37### Step 2: Run repo-level heatmapCOMMENT
LOW⚡.claude/skills/heatmap/SKILL.md47### Step 3: Cross-reference with the task contextCOMMENT
LOW.claude/skills/heatmap/SKILL.md62### Step 4: Run line-level heatmap on top candidatesCOMMENT
LOW.claude/skills/heatmap/SKILL.md72### Step 5: Identify hot zonesCOMMENT
LOW.claude/skills/heatmap/SKILL.md85### Step 6: Produce the review focus listCOMMENT
LOW.claude/skills/heatmap/SKILL.md100### Step 7: Deep reviewCOMMENT
LOW⚡…kills/patch-explainer/references/analysis_framework.md44### Step 1: Identify the Change TypeCOMMENT
LOW⚡…kills/patch-explainer/references/analysis_framework.md52### Step 2: Understand the Before StateCOMMENT
LOW⚡…kills/patch-explainer/references/analysis_framework.md57### Step 3: Understand the After StateCOMMENT
LOW⚡…kills/patch-explainer/references/analysis_framework.md62### Step 4: Analyze the TransitionCOMMENT
LOW⚡…kills/patch-explainer/references/analysis_framework.md68### Step 5: Visualize Before/AfterCOMMENT
LOW⚡…kills/patch-explainer/references/analysis_framework.md75### Step 6: Deep ReasoningCOMMENT
LOW⚡…kills/patch-explainer/references/analysis_framework.md87### Step 1: Identify PurposeCOMMENT
LOW⚡…kills/patch-explainer/references/analysis_framework.md92### Step 2: Map the StructureCOMMENT
LOW⚡…kills/patch-explainer/references/analysis_framework.md99### Step 3: Trace Key WorkflowsCOMMENT
LOW⚡…kills/patch-explainer/references/analysis_framework.md106### Step 4: Identify State & TransitionsCOMMENT
LOW⚡…kills/patch-explainer/references/analysis_framework.md112### Step 5: Analyze InteractionsCOMMENT
LOW⚡…kills/patch-explainer/references/analysis_framework.md118### Step 6: Deep ReasoningCOMMENT
LOW⚡conf/cassandra_latest.yaml1672# Step 1: Set internode_encryption=<dc|rack|all> and explicitly set optional=true. Restart all nodesCOMMENT
LOW⚡conf/cassandra_latest.yaml1674# Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutualCOMMENT
LOW⚡conf/cassandra_latest.yaml1743# Step 1: Set enabled=true and explicitly set optional=true. Restart all nodesCOMMENT
LOW⚡conf/cassandra_latest.yaml1745# Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutualCOMMENT
LOWconf/cassandra_latest.yaml1544# WARNING: This legacy snitch has been deprecated and is scheduled to be removed in a futureCOMMENT
LOW⚡conf/cassandra.yaml1801# Step 1: Set internode_encryption=<dc|rack|all> and explicitly set optional=true. Restart all nodesCOMMENT
LOW⚡conf/cassandra.yaml1803# Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutualCOMMENT
LOW⚡conf/cassandra.yaml1879# Step 1: Set enabled=true and explicitly set optional=true. Restart all nodesCOMMENT
LOW⚡conf/cassandra.yaml1881# Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutualCOMMENT
LOWconf/cassandra.yaml1598# WARNING: This snitch is deprecated and it is scheduled to be removedCOMMENT
LOWconf/cassandra.yaml1671# WARNING: This legacy snitch has been deprecated and is scheduled to be removed in a futureCOMMENT
LOW⚡src/java/org/apache/cassandra/tools/CMSOfflineTool.java197 // Step 1: Default to the serialization version from the cluster metadataCOMMENT
LOW⚡src/java/org/apache/cassandra/tools/CMSOfflineTool.java200 // Step 2: User-specified version takes precedenceCOMMENT
LOWsrc/java/org/apache/cassandra/tools/CMSOfflineTool.java213 // Step 3: Current binary version must be able to handle the finalized versionCOMMENT
LOW…apache/cassandra/service/FileSystemOwnershipCheck.java148 // Step 1: Traverse the filesystem from each target dir upward, looking for marker filesCOMMENT
LOW…apache/cassandra/service/FileSystemOwnershipCheck.java200 // Step 2: assert that the content of each file is identicalCOMMENT
LOW…apache/cassandra/service/FileSystemOwnershipCheck.java220 // Step 3: validate the content of the properties from diskCOMMENT
Modern AI Meta-Vocabulary35 hits · 104 pts
SeverityFileLineSnippetContext
MEDIUM…andra/tools/nodetool/GuardrailsConfigCommandsTest.java102 // it would be quite cumbersome to test all guardrails are settable, so we willCOMMENT
MEDIUM…/guardrails/GuardrailMinimumReplicationFactorTest.java89 // filtering out non-guardrails produced warningsCOMMENT
MEDIUM…/guardrails/GuardrailMaximumReplicationFactorTest.java80 // filtering out non-guardrails produced warningsCOMMENT
MEDIUM…/GuardrailDataDiskUsageKeyspaceWideProtectionTest.java78 // create a regular user, since the default superuser is excluded from guardrailsCOMMENT
MEDIUM…istributed/test/guardrails/GuardrailDiskUsageTest.java88 // create a regular user, since the default superuser is excluded from guardrailsCOMMENT
MEDIUM…andra/distributed/test/guardrails/GuardrailTester.java71 // create a regular user, since the default superuser is excluded from guardrailsCOMMENT
MEDIUM.claude/skills/targeted-review/SKILL.md255## Pitfalls and guardrailsCOMMENT
MEDIUMconf/cassandra_latest.yaml2376# Configures the disk usage guardrails to block all writes to a keyspace if any node which replicates that keyspaceCOMMENT
MEDIUMconf/cassandra_latest.yaml2413# # package name org.apache.cassandra.db.guardrails is prepended.COMMENT
MEDIUMconf/cassandra_latest.yaml2418# # package name org.apache.cassandra.db.guardrails is prepended.COMMENT
MEDIUMconf/cassandra_latest.yaml2445# # package name org.apache.cassandra.db.guardrails is prepended.COMMENT
MEDIUMconf/cassandra_latest.yaml2450# # package name org.apache.cassandra.db.guardrails is prepended.COMMENT
MEDIUMconf/cassandra_latest.yaml2563# An operator can use special "unknown" and "unset" entries for both guardrails with a placeholder version.COMMENT
MEDIUMconf/cassandra.yaml2626# Configures the disk usage guardrails to block all writes to a keyspace if any node which replicates that keyspaceCOMMENT
MEDIUMconf/cassandra.yaml2663# # package name org.apache.cassandra.db.guardrails is prepended.COMMENT
MEDIUMconf/cassandra.yaml2668# # package name org.apache.cassandra.db.guardrails is prepended.COMMENT
MEDIUMconf/cassandra.yaml2689# # package name org.apache.cassandra.db.guardrails is prepended.COMMENT
MEDIUMconf/cassandra.yaml2694# # package name org.apache.cassandra.db.guardrails is prepended.COMMENT
MEDIUMconf/cassandra.yaml2815# An operator can use special "unknown" and "unset" entries for both guardrails with a placeholder version.COMMENT
MEDIUM…/cassandra/tools/nodetool/GuardrailsConfigCommand.java97 // TODO for now remove custom guardrailsCOMMENT
MEDIUM…c/java/org/apache/cassandra/cql3/RowUpdateBuilder.java268 else if (cql3Type.equals(CQL3Type.Native.TEXT)) // text and varchar size specific guardrailsCODE
MEDIUM…ssandra/cql3/statements/schema/AlterViewStatement.java59 // save the query state to use it for guardrails validation in #applyCOMMENT
MEDIUM…sandra/cql3/statements/schema/CreateViewStatement.java129 // save the query state to use it for guardrails validation in #applyCOMMENT
MEDIUM…sandra/cql3/statements/schema/AlterTableStatement.java114 // save the query state to use it for guardrails validation in #applyCOMMENT
MEDIUM…andra/cql3/statements/schema/AlterSchemaStatement.java117 // Cache our ClientState for use by guardrailsCOMMENT
MEDIUM…andra/cql3/statements/schema/AlterSchemaStatement.java187 // Such failures may be dependent on the specific node's config (for things like guardrails/memtableCOMMENT
MEDIUM…andra/cql3/statements/schema/CreateIndexStatement.java134 // save the query state to use it for guardrails validation in #applyCOMMENT
MEDIUM…andra/cql3/statements/schema/CreateIndexStatement.java180 // guardrails to limit number of secondary indexes per table.COMMENT
MEDIUM…ssandra/cql3/statements/schema/AlterTypeStatement.java130 // save the query state to use it for guardrails validation in #applyCOMMENT
MEDIUM…g/apache/cassandra/io/sstable/SSTableCursorWriter.java115 // them. Both stay zero while the guardrails are off.COMMENT
MEDIUM…g/apache/cassandra/io/sstable/SSTableCursorWriter.java127 // Everything here costs nothing while both guardrails are off, which is the shipped default:COMMENT
MEDIUM…g/apache/cassandra/io/sstable/SSTableCursorWriter.java137 // True while the current complex column is a collection the guardrails measure.COMMENT
MEDIUM…g/apache/cassandra/io/sstable/SSTableCursorWriter.java171 // guardCollectionSize: both guardrails off, or a system keyspace.COMMENT
MEDIUM…/org/apache/cassandra/service/StorageServiceMBean.java1301 // warning thresholds will be replaced by equivalent guardrailsCOMMENT
MEDIUM…ssandra/service/accord/txn/AccordUpdateParameters.java84 // For the time being, guardrails are disabled for Accord queries.COMMENT
Decorative Section Separators24 hits · 72 pts
SeverityFileLineSnippetContext
MEDIUM.claude/skills/heatmap/heatmap.py40# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py42# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py62# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py64# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py89# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py91# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py148# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py150# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py173# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py175# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py210# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py212# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py282# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py284# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py440# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py442# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py524# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py526# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMformalise/accord/execution/tla/matrix.py98# ---------------------------------------------------------------------------COMMENT
MEDIUMformalise/accord/execution/tla/matrix.py104# ---------------------------------------------------------------------------COMMENT
MEDIUMformalise/accord/execution/tla/matrix.py175# ---------------------------------------------------------------------------COMMENT
MEDIUMformalise/accord/execution/tla/matrix.py179# ---------------------------------------------------------------------------COMMENT
MEDIUMformalise/accord/execution/tla/notify.py103# ---------------------------------------------------------------------------COMMENT
MEDIUMformalise/accord/execution/tla/notify.py105# ---------------------------------------------------------------------------COMMENT
AI Slop Vocabulary27 hits · 70 pts
SeverityFileLineSnippetContext
MEDIUM.build/ci/ci_parser.py50# TODO: Change this paradigm to a full "input dir translates into output file", where output file includes some uuidSTRING
MEDIUM.build/ci/logging_helper.py52 # Some decorations to match the paradigm used in some other .sh filesCOMMENT
LOW.build/ci/logging_helper.py80 # Don't want color escape characters in our file logging, so we just use the string rather than the whole formatterCOMMENT
MEDIUM.build/sh/test/stub-ant-cases.sh43# shellcheck source=.build/sh/test/_test-harness.shCOMMENT
MEDIUM.build/sh/test/_test-harness.sh20# its stub appends one line to per call, and must end with `report <harness name>`.COMMENT
MEDIUM.build/sh/test/stub-docker-cases.sh41# shellcheck source=.build/sh/test/_test-harness.shCOMMENT
MEDIUMpylib/cqlshlib/cql3handling.py1343 # Definitely some of these aren't valid for ordering, but I'm not sureSTRING
MEDIUM…unit/org/apache/cassandra/cql3/ast/CreateIndexDDL.java43//TODO (now): replace with IndexMetadata? Rather than create a custom DDL type can just leverage the existing metadata COMMENT
MEDIUM…che/cassandra/io/filesystem/ForwardingFileChannel.java142 // .close(), and .isOpen() are "final", so need to leverage implCloseChannelCOMMENT
MEDIUM…paction/differential/DifferentialCompactionTester.java575 * Separate from {@link #assertCursorPathWillRun} so a scenario that drives the harness fromCOMMENT
MEDIUMtest/burn/org/apache/cassandra/net/Verifier.java1139 // TODO: this should be robust to re-ordering; should perhaps extract a common mCOMMENT
MEDIUM…ed/org/apache/cassandra/distributed/impl/Instance.java1461 // helps map the location... the reason we can't leverage here is the timeout logic is higher up, soCOMMENT
MEDIUM…ache/cassandra/test/microbench/StringsEncodeBench.java75 int size = cb.capacity() - cb.writerIndex(); // leverage the pre-calculated encodeSizeCODE
MEDIUM…ache/cassandra/test/microbench/StringsEncodeBench.java108 int size = cb.capacity() - cb.writerIndex(); // leverage the pre-calculated encodeSizeCODE
MEDIUMconf/cassandra_latest.yaml14# This version is provided to facilitate pain-free upgrades for existingCOMMENT
MEDIUMconf/cassandra_latest.yaml2043# each write which may be lower in order to facilitate availability.COMMENT
MEDIUMconf/cassandra.yaml14# This version is provided to facilitate pain-free upgrades for existingCOMMENT
MEDIUMconf/cassandra.yaml2197# each write which may be lower in order to facilitate availability.COMMENT
MEDIUMsrc/java/org/apache/cassandra/net/MessagingService.java242 // what the "current" is, so need to leverage MessagingService's field as it uses DatabaseDescriptorCOMMENT
MEDIUM…g/apache/cassandra/transport/PipelineConfigurator.java184 // Essentially just a Consumer<Channel> which may throwCOMMENT
LOW…g/apache/cassandra/cql3/statements/CQL3CasRequest.java181 // want this to be a problem (see #12867 in particular), so we simply return (the condition itself hasCOMMENT
MEDIUM…java/org/apache/cassandra/config/JMXServerOptions.java199 // in the `cassandra.yaml`. Since the JMX SSL Config can also leverage it as per CASSANDRA-18508, password fileCOMMENT
MEDIUM…/org/apache/cassandra/auth/jmx/AuthorizationProxy.java254 // robust, but we have no control over which Principals a given LoginModuleCOMMENT
MEDIUM…org/apache/cassandra/tcm/sequences/ReconfigureCMS.java341 // topology change. Essentially ensuring that the pre- and post- change quorums overlap.COMMENT
MEDIUM…ava/org/apache/cassandra/tcm/membership/NodeState.java45 // TODO: probably we can make these states even more nuanced, and track which step each node is on to have a simplerCOMMENT
MEDIUMsrc/java/org/apache/cassandra/gms/HeartBeatState.java64 // It is also known that negative version isn't allowed, so can leverage this toCOMMENT
LOW…rg/apache/cassandra/db/compaction/CursorCompactor.java1313 /** Takes over as winner without disturbing {@link #buffer}, which the caller has just set. */COMMENT
Empty Error Handlers13 hits · 65 pts
SeverityFileLineSnippetContext
HIGHpylib/cqlshlib/cqlshmain.py73except ImportError:CODE
HIGHpylib/cqlshlib/cqlshmain.py83except AttributeError:CODE
HIGHpylib/cqlshlib/cqlshmain.py228except IOError:CODE
HIGHpylib/cqlshlib/cqlshmain.py2015except (OSError, ImportError, ValueError):CODE
HIGHpylib/cqlshlib/cqlshmain.py675except ImportError:CODE
HIGHpylib/cqlshlib/cqlshmain.py1931except IOError:CODE
HIGHpylib/cqlshlib/cqlshmain.py1942except IOError:CODE
HIGHpylib/cqlshlib/copyutil.py173except ValueError:CODE
HIGHpylib/cqlshlib/copyutil.py233except ValueError:CODE
HIGHpylib/cqlshlib/copyutil.py2027except ValueError:CODE
HIGHpylib/cqlshlib/test/ansi_colors.py144except ValueError:CODE
HIGHpylib/cqlshlib/test/test_cqlsh_output.py423except ImportError:CODE
HIGHpylib/cqlshlib/test/winpty.py48except Empty:CODE
Excessive Try-Catch Wrapping52 hits · 64 pts
SeverityFileLineSnippetContext
LOW.build/ci/ci_parser.py157 except Exception as e:STRING
MEDIUM⚡.build/sh/ant-log-summary.py110 print(f"Error: Log file '{args.log_file}' not found")CODE
LOW⚡.build/sh/ant-log-summary.py112 except Exception as e:CODE
MEDIUM⚡.build/sh/ant-log-summary.py113 print(f"Error reading log file: {e}")CODE
MEDIUM⚡.build/sh/test-log-summary.py186 print(f"Error: Log file '{args.log_file}' not found")CODE
LOW⚡.build/sh/test-log-summary.py188 except Exception as e:CODE
MEDIUM⚡.build/sh/test-log-summary.py189 print(f"Error reading log file: {e}")CODE
MEDIUM.build/run-ci.d/run_ci.py69 print("Error: The required shared library 'lookup3.so' is missing.")CODE
LOWpylib/cqlshlib/cqlhandling.py307 except Exception:CODE
MEDIUMpylib/cqlshlib/cqlshmain.py881def parse_for_select_meta(self, query_string):CODE
LOWpylib/cqlshlib/cqlshmain.py431 except Exception as e:CODE
LOWpylib/cqlshlib/cqlshmain.py787 except Exception as e:CODE
LOWpylib/cqlshlib/cqlshmain.py876 except Exception as err:CODE
LOWpylib/cqlshlib/cqlshmain.py936 except Exception:CODE
LOWpylib/cqlshlib/cqlshmain.py944 except Exception:CODE
LOWpylib/cqlshlib/cqlshmain.py1100 except Exception:CODE
LOWpylib/cqlshlib/cqlshmain.py1261 except Exception:CODE
LOWpylib/cqlshlib/cqlshmain.py2318 except Exception:CODE
LOWpylib/cqlshlib/cqlshmain.py2323 except Exception:CODE
LOWpylib/cqlshlib/cqlshmain.py2334 except Exception:CODE
LOWpylib/cqlshlib/cqlshmain.py2339 except Exception:CODE
MEDIUMpylib/cqlshlib/copyutil.py893def make_source(fname):CODE
MEDIUMpylib/cqlshlib/copyutil.py2023def convert_datetime(val, **_):CODE
MEDIUMpylib/cqlshlib/copyutil.py2484def make_statement(query, conv, chunk, batch, replicas):CODE
MEDIUMpylib/cqlshlib/copyutil.py2556def convert_row(r):CODE
LOW⚡pylib/cqlshlib/copyutil.py2480 except Exception as exc:CODE
LOW⚡pylib/cqlshlib/copyutil.py2487 except Exception as exc:CODE
LOWpylib/cqlshlib/copyutil.py143 except Exception as e:CODE
LOWpylib/cqlshlib/copyutil.py1185 except Exception as exc:CODE
LOWpylib/cqlshlib/copyutil.py1369 except Exception as exc:CODE
LOWpylib/cqlshlib/copyutil.py1671 except Exception as e:CODE
LOWpylib/cqlshlib/copyutil.py1742 except Exception as e:CODE
LOWpylib/cqlshlib/copyutil.py2177 except Exception as e:CODE
LOWpylib/cqlshlib/copyutil.py2400 except Exception as exc:CODE
LOWpylib/cqlshlib/copyutil.py2559 except Exception as err:CODE
LOWpylib/cqlshlib/copyutil.py2631 except Exception as e:CODE
LOWpylib/cqlshlib/pylexotron.py149 except Exception:CODE
MEDIUMpylib/cqlshlib/cql3handling.py926def ref_udf_name_completer(ctxt, cass):CODE
LOWpylib/cqlshlib/cql3handling.py690 except Exception:STRING
LOWpylib/cqlshlib/cql3handling.py704 except Exception:STRING
LOWpylib/cqlshlib/cql3handling.py722 except Exception:STRING
LOWpylib/cqlshlib/cql3handling.py893 except Exception:STRING
LOWpylib/cqlshlib/cql3handling.py906 except Exception:STRING
LOWpylib/cqlshlib/cql3handling.py919 except Exception:STRING
LOWpylib/cqlshlib/cql3handling.py929 except Exception:STRING
LOWpylib/cqlshlib/cql3handling.py1555 except Exception:STRING
LOW…de/skills/write-reproducer/references/test-patterns.md152 except Exception as e:CODE
LOWdoc/scripts/gen-antora-yml.py37 except Exception as e:CODE
LOWdoc/scripts/gen-antora-yml.py55 except Exception:CODE
MEDIUM⚡doc/scripts/extract-html-content.py76 print(f"Error: Input file not found: {input_file}", file=sys.stderr)CODE
LOW⚡doc/scripts/extract-html-content.py83 except Exception as e:CODE
MEDIUM⚡doc/scripts/extract-html-content.py84 print(f"Error processing {input_file}: {e}", file=sys.stderr)CODE
Verbosity Indicators31 hits · 59 pts
SeverityFileLineSnippetContext
LOW…che/cassandra/io/compress/CompressionMetadataTest.java99 // Step 1: Create a dictionary and add it to cache (simulating table with Zstd compression)COMMENT
LOW…che/cassandra/io/compress/CompressionMetadataTest.java117 // Step 2: Open SSTable with dictionary (simulating CompressionMetadata)COMMENT
LOW⚡…che/cassandra/io/compress/CompressionMetadataTest.java139 // Step 3: Schema change - close cache (simulating switch from Zstd to LZ4)COMMENT
LOW⚡…che/cassandra/io/compress/CompressionMetadataTest.java145 // Step 4: Verify dictionary is still usable via CompressionMetadataCOMMENT
LOW⚡…che/cassandra/io/compress/CompressionMetadataTest.java159 // Step 5: Close CompressionMetadata (simulating SSTable being compacted away)COMMENT
LOW⚡…che/cassandra/io/compress/CompressionMetadataTest.java164 // Step 6: Dictionary is still usable because ZstdDictionaryCompressor cache holds a referenceCOMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java340 // Step 1: add new node as a write replica to all ranges it is gainingCOMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java359 // Step 2: add new node as a read replica to the ranges it is gaining; remove old node from reads at the same tiCOMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java379 // Step 3: finally remove the old node from writesCOMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java424 // Step 1: Prepare Move,COMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java438 // Step 2: Start Move, add all potential owners to write quorumsCOMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java460 // Step 3: Mid Move, remove all nodes that are losing ranges from read quorums, add all nodes gaining ranges to COMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java478 // Step 4: Finish Move, remove all nodes that are losing ranges from write quorumsCOMMENT
LOW⚡.claude/skills/tla-plus/scripts/check.sh18# Step 1: Translate PlusCal if the spec contains an algorithmCOMMENT
LOW⚡.claude/skills/tla-plus/scripts/check.sh25# Step 2: Parse with SANYCOMMENT
LOW⚡.claude/skills/tla-plus/scripts/check.sh30# Step 3: Run TLCCOMMENT
LOW⚡conf/cassandra_latest.yaml1672# Step 1: Set internode_encryption=<dc|rack|all> and explicitly set optional=true. Restart all nodesCOMMENT
LOW⚡conf/cassandra_latest.yaml1674# Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutualCOMMENT
LOW⚡conf/cassandra_latest.yaml1743# Step 1: Set enabled=true and explicitly set optional=true. Restart all nodesCOMMENT
LOW⚡conf/cassandra_latest.yaml1745# Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutualCOMMENT
LOW⚡conf/cassandra.yaml1801# Step 1: Set internode_encryption=<dc|rack|all> and explicitly set optional=true. Restart all nodesCOMMENT
LOW⚡conf/cassandra.yaml1803# Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutualCOMMENT
LOW⚡conf/cassandra.yaml1879# Step 1: Set enabled=true and explicitly set optional=true. Restart all nodesCOMMENT
LOW⚡conf/cassandra.yaml1881# Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutualCOMMENT
LOW⚡src/java/org/apache/cassandra/tools/CMSOfflineTool.java197 // Step 1: Default to the serialization version from the cluster metadataCOMMENT
LOW⚡src/java/org/apache/cassandra/tools/CMSOfflineTool.java200 // Step 2: User-specified version takes precedenceCOMMENT
LOWsrc/java/org/apache/cassandra/tools/CMSOfflineTool.java213 // Step 3: Current binary version must be able to handle the finalized versionCOMMENT
LOW…/org/apache/cassandra/index/sasi/disk/OnDiskIndex.java332 // The save as with 'lower' but here we need to check if the upper is the last element of the block,COMMENT
LOW…apache/cassandra/service/FileSystemOwnershipCheck.java148 // Step 1: Traverse the filesystem from each target dir upward, looking for marker filesCOMMENT
LOW…apache/cassandra/service/FileSystemOwnershipCheck.java200 // Step 2: assert that the content of each file is identicalCOMMENT
LOW…apache/cassandra/service/FileSystemOwnershipCheck.java220 // Step 3: validate the content of the properties from diskCOMMENT
Deep Nesting53 hits · 41 pts
SeverityFileLineSnippetContext
LOW.build/ci/ci_parser.py204CODE
LOW.build/ci/cell_balance.py139CODE
LOW.build/sh/jmh-junit-report.py117CODE
LOW.build/run-ci.d/run_ci.py75CODE
LOW.build/run-ci.d/run_ci.py772CODE
LOW.build/run-ci.d/run_ci.py894CODE
LOW.build/run-ci.d/run_ci.py1038CODE
LOW.build/run-ci.d/run_ci.py1335CODE
LOW.build/run-ci.d/run_ci.py1517CODE
LOW.build/run-ci.d/run_ci.py1085CODE
LOW.build/run-ci.d/run_ci.py1367CODE
LOW.build/run-ci.d/run_ci.py1379CODE
LOW.build/run-ci.d/run_ci.py1416CODE
LOW.build/run-ci.d/run_ci.py1417CODE
LOWpylib/cqlshlib/cqlhandling.py138CODE
LOWpylib/cqlshlib/cqlhandling.py180CODE
LOWpylib/cqlshlib/cqlshmain.py2202CODE
LOWpylib/cqlshlib/cqlshmain.py436CODE
LOWpylib/cqlshlib/cqlshmain.py670CODE
LOWpylib/cqlshlib/cqlshmain.py734CODE
LOWpylib/cqlshlib/cqlshmain.py858CODE
LOWpylib/cqlshlib/cqlshmain.py905CODE
LOWpylib/cqlshlib/cqlshmain.py1143CODE
LOWpylib/cqlshlib/cqlshmain.py1447CODE
LOWpylib/cqlshlib/cqlshmain.py1798CODE
LOWpylib/cqlshlib/formatting.py297CODE
LOWpylib/cqlshlib/formatting.py184CODE
LOWpylib/cqlshlib/copyutil.py210CODE
LOWpylib/cqlshlib/copyutil.py677CODE
LOWpylib/cqlshlib/copyutil.py806CODE
LOWpylib/cqlshlib/copyutil.py1210CODE
LOWpylib/cqlshlib/copyutil.py1268CODE
LOWpylib/cqlshlib/copyutil.py1326CODE
LOWpylib/cqlshlib/copyutil.py1909CODE
LOWpylib/cqlshlib/copyutil.py2447CODE
LOWpylib/cqlshlib/copyutil.py1971CODE
LOWpylib/cqlshlib/pylexotron.py415CODE
LOWpylib/cqlshlib/cql3handling.py578CODE
LOWpylib/cqlshlib/cql3handling.py612CODE
LOWpylib/cqlshlib/test/ansi_colors.py153CODE
LOWpylib/cqlshlib/test/test_cqlsh_output.py619CODE
LOWpylib/cqlshlib/test/test_cqlsh_output.py779CODE
LOWpylib/cqlshlib/test/run_cqlsh.py191CODE
LOWpylib/cqlshlib/test/test_nodetool_completion.py150CODE
LOW.claude/skills/heatmap/heatmap.py185CODE
LOW.claude/skills/heatmap/heatmap.py223CODE
LOW.claude/skills/heatmap/heatmap.py396CODE
LOWformalise/accord/execution/tla/matrix.py374CODE
LOWformalise/accord/execution/tla/matrix.py475CODE
LOWformalise/accord/execution/tla/notify.py289CODE
LOWformalise/accord/execution/tla/notify.py358CODE
LOWdoc/scripts/cqlprotodoc.py44CODE
LOWdoc/scripts/convert_yaml_to_adoc.py60CODE
Slop Phrases10 hits · 22 pts
SeverityFileLineSnippetContext
LOW.build/git/install-git-defaults.sh89 # make sure to use --git-common-dir and not --git-dir to support worktreesCOMMENT
LOW.build/git/install-git-defaults.sh117 # make sure to use --git-common-dir and not --git-dir to support worktreesCOMMENT
LOW…d/git/git-hooks/post-checkout/100-update-submodules.sh29 # In case the usage happens at a different layer, make sure to cd to the toplevelCOMMENT
LOW…t/git-hooks/pre-commit/100-verify-submodules-pushed.sh58 # In case the usage happens at a different layer, make sure to cd to the toplevelCOMMENT
MEDIUMconf/cassandra_latest.yaml64# initial_token allows you to specify tokens manually. While you can use it withCOMMENT
MEDIUMconf/cassandra_latest.yaml1082# you may want to adjust max_value_size accordingly. This should be positive and less than 2048.COMMENT
MEDIUMconf/cassandra.yaml61# initial_token allows you to specify tokens manually. While you can use it withCOMMENT
MEDIUMconf/cassandra.yaml1100# you may want to adjust max_value_size accordingly. This should be positive and less than 2048.COMMENT
MEDIUMsrc/java/org/apache/cassandra/transport/Dispatcher.java522 * It's worth noting that events are not generally fired as a direct response to a client request,COMMENT
LOW…/java/org/apache/cassandra/db/marshal/IntegerType.java442 // Don't forget to add the first consumed value byte after determining whether leading zero should be addedCOMMENT
Cross-Language Confusion4 hits · 20 pts
SeverityFileLineSnippetContext
HIGH⚡.build/run-ci.d/run-ci-test.py138 OSError('kubectl unavailable'), 'not JSON', '{}', '{"items": null}']CODE
HIGH.build/run-ci.d/run_ci.py880 # a queued item can carry "executable": null, so test the value and not the keyCOMMENT
HIGHpylib/cqlshlib/test/test_cqlsh_output.py933 {{city: 'Chelyabinsk', address: '3rd street', zip: null}, {city: 'Chigirinsk',STRING
HIGHpylib/cqlshlib/test/test_cqlsh_output.py950 {{country: null, number: '03'}, {country: '+7', number: null}}STRING
Self-Referential Comments5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUM.build/sonar/sonar-setup-local.sh73# Create the access token for the project analysisCOMMENT
MEDIUMtest/conf/cassandra-mtls-backward-compatibility.yaml20# This file is used for testing mTLS authenticatorsCOMMENT
MEDIUMtest/conf/cassandra-mtls.yaml20# This file is used for testing mTLS authenticatorsCOMMENT
MEDIUMconf/cassandra_latest.yaml10# This file is provided in two versions:COMMENT
MEDIUMconf/cassandra.yaml10# This file is provided in two versions:COMMENT
Fake / Example Data15 hits · 15 pts
SeverityFileLineSnippetContext
LOW.build/run-ci.d/run_ci.py915 if node.get("placeholder"):CODE
LOW…ndra/io/compress/CompressedRandomAccessReaderTest.java242 String CONTENT = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam vitae.";CODE
LOW…ndra/io/compress/CompressedRandomAccessReaderTest.java242 String CONTENT = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam vitae.";CODE
LOW…andra/utils/bytecomparable/ByteSourceSequenceTest.java333 String stringValue = "Lorem ipsum dolor sit amet";CODE
LOW…andra/utils/bytecomparable/ByteSourceSequenceTest.java333 String stringValue = "Lorem ipsum dolor sit amet";CODE
LOW…andra/utils/bytecomparable/ByteSourceSequenceTest.java390 String stringValue = "Lorem ipsum dolor sit amet";CODE
LOW…andra/utils/bytecomparable/ByteSourceSequenceTest.java390 String stringValue = "Lorem ipsum dolor sit amet";CODE
LOW…andra/utils/bytecomparable/ByteSourceSequenceTest.java462 String stringValue = "Lorem ipsum dolor sit amet";CODE
LOW…andra/utils/bytecomparable/ByteSourceSequenceTest.java462 String stringValue = "Lorem ipsum dolor sit amet";CODE
LOW…andra/utils/bytecomparable/ByteSourceSequenceTest.java532 String stringValue = "Lorem ipsum dolor sit amet";CODE
LOW…andra/utils/bytecomparable/ByteSourceSequenceTest.java532 String stringValue = "Lorem ipsum dolor sit amet";CODE
LOWtest/resources/tokenization/lorem_ipsum.txt1"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliCODE
LOWtest/resources/tokenization/lorem_ipsum.txt1"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliCODE
LOW…ache/cassandra/test/microbench/StringsEncodeBench.java49 private String longText = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididuntCODE
LOW…ache/cassandra/test/microbench/StringsEncodeBench.java49 private String longText = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididuntCODE
Redundant / Tautological Comments7 hits · 10 pts
SeverityFileLineSnippetContext
LOW.build/docker/_prepopulate_maven_deps.sh36 # Check if branch existsCOMMENT
LOW.build/sh/ant-log-summary.py42 # Check if build was successful firstCOMMENT
LOWpylib/cqlshlib/cqlshmain.py69 # Check if tty first, as readline doesn't check and only cares about $TERM.COMMENT
LOW…aude/skills/write-reproducer/scripts/validate_repro.sh68 # Check if the test failed (non-zero exit)COMMENT
LOWconf/cassandra-env.sh125# Set this to control the amount of arenas per-thread in glibcCOMMENT
LOWconf/cassandra_latest.yaml1288# Set sstable_preemptive_open_interval to null for disabled which is equivalent toCOMMENT
LOWconf/cassandra.yaml1315# Set sstable_preemptive_open_interval to null for disabled which is equivalent toCOMMENT
Unused Imports10 hits · 8 pts
SeverityFileLineSnippetContext
LOW.build/ci/ci_parser.py34CODE
LOW.build/ci/junit_helpers.py30CODE
LOW.build/ci/junit_helpers.py30CODE
LOWpylib/cqlshlib/cqlshmain.py23CODE
LOWpylib/cqlshlib/cqlshmain.py28CODE
LOWpylib/cqlshlib/cqlshmain.py46CODE
LOWpylib/cqlshlib/cql3handling.py18CODE
LOWpylib/cqlshlib/test/test_cqlsh_output.py407CODE
LOWbin/cqlsh.py67CODE
LOWdoc/scripts/gen-nodetool-docs.py20CODE
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOWpylib/cqlshlib/cqlshmain.py268CODE
LOWpylib/cqlshlib/formatting.py62CODE
LOWpylib/cqlshlib/test/run_cqlsh.py244CODE
LOWpylib/cqlshlib/test/run_cqlsh.py284CODE
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOW.build/ci/junit_helpers.py304 def set_archive(self, name: str) -> None:STRING
LOW.build/ci/logging_helper.py94def set_loglevel(logger: logging.Logger, level: LogLevel) -> None:CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…aude/skills/write-reproducer/scripts/validate_repro.sh4# Usage:COMMENT